Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| renovatebot / renovate | affected 0 before 44.11.2; unaffected 44.11.2 |
| mend / renovate-ce | affected 0 before 15.4.0; unaffected 15.4.0 |
| mend / renovate-ee-server | affected 0 before 15.4.0; unaffected 15.4.0 |
| mend / renovate-ee-worker | affected 0 before 15.4.0; unaffected 15.4.0 |
| mend / mend-renovate-ce | affected 0 before 15.4.0; unaffected 15.4.0 |
| mend / mend-renovate-enterprise-edition | affected 0 before 10.4.0; unaffected 10.4.0 |
CWE
CWE-601
References
- https://github.com/renovatebot/renovate/security/advisories/GHSA-rh7w-ccch-gh49
- https://www.vulncheck.com/advisories/renovate-before-44.11.2-credential-exfiltration-via-link-header
ADP enrichment
No English description supplied.
No references supplied.