Undici proxy-authorization header not cleared on cross-origin redirect in fetch
- Severity:
- Low
Description
Undici already cleared Authorization headers on cross-origin redirects, but did not clear Proxy-Authorization headers.
Recommendation
Update the undici package to the latest compatible version. Followings are version details:
Affected version(s): **>= 6.0.0, <= 6.6.0 <= 5.28.2** Patched version(s): **6.6.1 5.28.3**
References
- GHSA-3787-6prv-h9w3
- security.netapp.com
- www.openwall.com
- CVE-2024-24758
- CWE-200
- CAPEC-310
- OWASP 2021-A1
- OWASP 2021-A6
Related Issues
- Undici's Proxy-Authorization header not cleared on cross-origin redirect for dispatch, request, stream, pipeline - CVE-2024-30260
- Undici's cookie header not cleared on cross-origin redirect in fetch - CVE-2023-45143
- follow-redirects' Proxy-Authorization header kept across hosts - CVE-2024-28849
- undici before v5.8.0 vulnerable to uncleared cookies on cross-host / cross-origin redirect - CVE-2022-31151
- Tags:
- npm
- undici
Anything's wrong? Let us know Last updated on May 02, 2024