What’s Vulnerable › Vulnerabilities

CVE-2024-24758: Proxy-Authorization header not cleared on cross-origin redirect in fetch in Undici

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

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

Get alerted when CVE-2024-24758 or the next vulnerability affects your stack