GitHub Advisoryadvisory · npm
GHSA-3787-6prv-h9w3 Undici proxy-authorization header not cleared on cross-origin redirect in fetch
LOW
Official page ↗
- Aliases
- CVE-2024-24758
- Ecosystem
- npm
- Packages
- undici
- Severity
- Low
- CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:L
- Weaknesses
- CWE-200
- Reviewed
- 2024-02-16
Affected packages
• npm undici: < 5.28.3 → fixed in 5.28.3
• npm undici: >= 6.0.0, < 6.6.1 → fixed in 6.6.1
Description
Impact
Undici already cleared Authorization headers on cross-origin redirects, but did not clear `Proxy-Authorization` headers.
Patches
This is patched in v5.28.3 and v6.6.1
Workarounds
There are no known workarounds.
References
• https://fetch.spec.whatwg.org/#authentication-entries
• https://github.com/nodejs/undici/security/advisories/GHSA-wqq4-5wpv-mx2g
Related
Alias · CVE (1)
- CVE-2024-24758 Undici is an HTTP/1.1 client, written from scratch for Node.js. vulnerability
Weakness · CWE (1)
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor weakness
References
- https://github.com/nodejs/undici/security/advisories/GHSA-3787-6prv-h9w3 web
- https://nvd.nist.gov/vuln/detail/CVE-2024-24758 advisory
- https://github.com/nodejs/undici/commit/b9da3e40f1f096a06b4caedbb27c2568730434ef web
- https://github.com/nodejs/undici/commit/d3aa574b1259c1d8d329a0f0f495ee82882b1458 web
- https://github.com/nodejs/undici package
- https://github.com/nodejs/undici/releases/tag/v5.28.3 web
- https://github.com/nodejs/undici/releases/tag/v6.6.1 web
- https://security.netapp.com/advisory/ntap-20240419-0007 web
- http://www.openwall.com/lists/oss-security/2024/03/11/1 web