Undici's Proxy-Authorization header not cleared on cross-origin redirect for dispatch, request, stream, pipeline
- Severity:
- Low
Description
Undici cleared Authorization and Proxy-Authorization headers for fetch(), but did not clear them for undici.request().
Recommendation
Update the undici package to the latest compatible version. Followings are version details:
Affected version(s): **>= 6.0.0, < 6.11.1 < 5.28.4** Patched version(s): **6.11.1 5.28.4**
References
- GHSA-m4v8-wqvr-p9f7
- hackerone.com
- lists.fedoraproject.org
- security.netapp.com
- CVE-2024-30260
- CWE-200
- CWE-285
- CWE-863
- CAPEC-310
- OWASP 2021-A1
- OWASP 2021-A6
Related Issues
- Undici proxy-authorization header not cleared on cross-origin redirect in fetch - CVE-2024-24758
- Undici's cookie header not cleared on cross-origin redirect in fetch - CVE-2023-45143
- undici before v5.8.0 vulnerable to uncleared cookies on cross-host / cross-origin redirect - CVE-2022-31151
- follow-redirects' Proxy-Authorization header kept across hosts - CVE-2024-28849
- Tags:
- npm
- undici
Anything's wrong? Let us know Last updated on November 04, 2025