CVE-2024-30260
JSON

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 packageVersionsReported by
nodejs undici< 5.28.4, >= 6.0.0, < 6.11.1, before 5.28.4, from 6.0.0 before 6.11.1CVE List, NVD
undici (npm)before 5.28.4, from 6.0.0 before 6.11.1GitHub Advisory Database
fedoraproject fedora38, 39, 40NVD

All scores

GitHub_M3.9low CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:L
GitHub3.9low CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:L
NVD4.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:L

Classification

CWE-200CWE-285CWE-863

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

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

https://github.com/nodejs/undici/security/advisories/GHSA-m4v8-wqvr-p9f7patch, vendor-advisory, web
https://github.com/nodejs/undici/commit/64e3402da4e032e68de46acb52800c9a06aaea3fpatch, web
https://github.com/nodejs/undici/commit/6805746680d27a5369d7fb67bc05f95a28247d75patch, web
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/P6Q4RGETHVYVHDIQGTJGU5AV6NJEI67E/product
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HQVHWAS6WDXXIU7F72XI55VZ2LTZUB33/product
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NC3V3HFZ5MOJRZDY5ZELL6REIRSPFROJ/product
https://security.netapp.com/advisory/ntap-20240905-0008/
https://nvd.nist.gov/vuln/detail/CVE-2024-30260advisory
https://hackerone.com/reports/2408074web
https://github.com/nodejs/undicipackage
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HQVHWAS6WDXXIU7F72XI55VZ2LTZUB33web
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NC3V3HFZ5MOJRZDY5ZELL6REIRSPFROJweb

Sources

SourceRecordLicence
CVE ListCVE-2024-30260 changed 2025-11-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-m4v8-wqvr-p9f7 changed 2025-11-04CC-BY-4.0
NVDCVE-2024-30260 changed 2026-06-17Public domain