What’s Vulnerable › Vulnerabilities
CVE-2024-24758: Proxy-Authorization header not cleared on cross-origin redirect in fetch in Undici
- Severity: medium (CVSS 4.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.8% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-02-16 · updated 2026-06-17
- Weakness: CWE-200
Description
Undici is an HTTP/1.1 client, written from scratch for Node.js. Undici already cleared Authorization headers on cross-origin redirects, but did not clear `Proxy-Authentication` headers. This issue has been patched in versions 5.28.3 and 6.6.1. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Affected products
- undici: before 5.28.3; from 6.0.0 before 6.6.1 — fixed in 5.28.3, 6.6.1
- Npm Undici: before 5.28.3; from 6.0.0 before 6.6.1 — fixed in 5.28.3, 6.6.1
How to fix
Upgrade to a fixed version: undici 5.28.3, 6.6.1; Npm Undici 5.28.3, 6.6.1. Check the vendor advisory for mitigations.
References
- http://www.openwall.com/lists/oss-security/2024/03/11/1
- https://github.com/nodejs/undici/commit/b9da3e40f1f096a06b4caedbb27c2568730434ef
- https://github.com/nodejs/undici/security/advisories/GHSA-3787-6prv-h9w3
- https://security.netapp.com/advisory/ntap-20240419-0007/
- http://www.openwall.com/lists/oss-security/2024/03/11/1
- https://github.com/nodejs/undici/commit/b9da3e40f1f096a06b4caedbb27c2568730434ef
- https://github.com/nodejs/undici/security/advisories/GHSA-3787-6prv-h9w3
- https://security.netapp.com/advisory/ntap-20240419-0007/
Get alerted when CVE-2024-24758 or the next vulnerability affects your stack