3.9low
Undici's Proxy-Authorization header not cleared on cross-origin redirect for dispatch, request, stream, pipeline
- Severity
- 3.9low CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.73% (higher than 55% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-m4v8-wqvr-p9f7
Description
Undici is an HTTP/1.1 client, written from scratch for Node.js. Undici cleared Authorization and Proxy-Authorization headers for `fetch()`, but did not clear them for `undici.request()`. This vulnerability was patched in version(s) 5.28.4 and 6.11.1.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| nodejs undici | < 5.28.4, >= 6.0.0, < 6.11.1, before 5.28.4, from 6.0.0 before 6.11.1 | CVE List, NVD |
| undici (npm) | before 5.28.4, from 6.0.0 before 6.11.1 | GitHub Advisory Database |
| fedoraproject fedora | 38, 39, 40 | NVD |
All scores
| GitHub_M | 3.9low CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:L |
| GitHub | 3.9low CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:L |
| NVD | 4.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:L |
Classification
What each source says
CVE List
Undici is an HTTP/1.1 client, written from scratch for Node.js. Undici cleared Authorization and Proxy-Authorization headers for `fetch()`, but did not clear them for `undici.request()`. This vulnerability was patched in version(s) 5.28.4 and 6.11.1.
GitHub Advisory Database
Impact
Undici cleared Authorization and Proxy-Authorization headers for fetch(), but did not clear them for undici.request().
Patches
This has been patched in https://github.com/nodejs/undici/commit/6805746680d27a5369d7fb67bc05f95a28247d75. Fixes has been released in v5.28.4 and v6.11.1.
Workarounds
use fetch() or disable maxRedirections.
References
Linzi Shang reported this.
NVD (es)
Undici es un cliente HTTP/1.1, escrito desde cero para Node.js. Undici borró los encabezados Authorization y Proxy-Authorization para `fetch()`, pero no los borró para `undici.request()`. Esta vulnerabilidad fue parcheada en las versiones 5.28.4 y 6.11.1.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-30260 changed 2025-11-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-m4v8-wqvr-p9f7 changed 2025-11-04 | CC-BY-4.0 |
| NVD | CVE-2024-30260 changed 2026-06-17 | Public domain |