Renovate
Renovate before 44.11.2 Credential Exfiltration via Link Header
Renovate is a dependency update automation tool. In versions before 44.11.2 (and Mend Renovate CE/EE images and charts before 15.4.0, and mend-renovate-enterprise-edition helm chart before 10.4.0), when listing new package versions from a NuGet registry Renovate follows pagination URLs supplied by the registry in the HTTP `Link` header without verifying that the target has the same origin as the configured registry. Registry credentials are attached to the request for the 'next' page, so a malicious or compromised NuGet registry can return a `Link` header pointing at an attacker-controlled server and cause Renovate to send the registry credentials to that server. Exploitation requires the remote registry to be malicious or compromised; such a registry would normally already have received the credentials on the initial request, so the issue primarily allows the credentials to be delivered to an additional, attacker-chosen host. The fix restricts pagination to the same origin; the previous behaviour can be re-enabled with the RENOVATE_X_NUGET_PAGINATION_ALLOW_CROSS_ORIGIN option.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 44.11.2
Fixed in 44.11.2
- < 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.2 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.