Renovate
Renovate before 44.11.3 Credential Exfiltration via Link Header
Renovate, a dependency update tool, follows pagination links supplied by the GitHub server in the HTTP `Link` header when interacting with GitHub.com, GitHub Enterprise Cloud, or GitHub Enterprise Server, and sends the credentials configured for that host to the URL given as the 'next' page. Because the pagination URL is not validated against the host originally contacted, a malicious or compromised GitHub server can return a `Link` header pointing to an attacker-controlled host and cause Renovate to disclose those credentials to it. Exploitation requires that the GitHub server Renovate talks to (as the repository host or as a datasource such as github-releases, github-tags, or git-refs) is already malicious or compromised. The issue is fixed in renovate 44.11.3 (npm and renovate/renovate container images), Mend Renovate CE/EE images and the mend-renovate-ce helm chart 15.4.0, and the mend-renovate-enterprise-edition helm chart 10.4.0. There is no workaround; the pre-existing RENOVATE_X_REBASE_PAGINATION_LINKS option disables the new host check and should only be used with servers that intentionally use different pagination hosts.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 44.11.3
Fixed in 44.11.3
- < 15.4.0
Fixed in 15.4.0
- < 15.4.0
Fixed in 15.4.0
- < 15.4.0
Fixed in 15.4.0
- < 15.4.0
Fixed in 15.4.0
- < 10.4.0
Fixed in 10.4.0
Mitigation
Upgrade renovate to 44.11.3 or later.
Upgrade renovate-ce to 15.4.0 or later.
Upgrade renovate-ee-server to 15.4.0 or later.
Upgrade renovate-ee-worker to 15.4.0 or later.
Upgrade mend-renovate-ce to 15.4.0 or later.
Upgrade mend-renovate-enterprise-edition to 10.4.0 or later.
References
- Vendor advisory github.com/renovatebot/renovate/security/advis…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.