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

Published Feb 16, 2024
·
Updated

Impact

Undici already cleared Authorization headers on cross-origin redirects, but did not clear Proxy-Authorization headers.

Patches

This is patched in v5.28.3 and v6.6.1

Workarounds

There are no known workarounds.

References

- https://fetch.spec.whatwg.org/#authentication-entries - https://github.com/nodejs/undici/security/advisories/GHSA-wqq4-5wpv-mx2g

Other sources

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.

MITRE

Affected Software

4 affected componentsFixes available
npm/undici>=6.0.0<=6.6.0
6.6.1
npm/undici<=5.28.2
5.28.3
Nodejs Undici Node.js<5.28.3
Nodejs Undici Node.js>=6.0.0<6.6.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade npm/undici to a version that resolves this vulnerability.

    Fixed in 6.6.1
  2. Upgrade

    Upgrade npm/undici to a version that resolves this vulnerability.

    Fixed in 5.28.3
  3. Upgrade

    Upgrade undici to a version that resolves this vulnerability.

    Fixed in 5.28.3Patch GHSA-wqq4-5wpv-mx2g
  4. Upgrade

    Upgrade undici to a version that resolves this vulnerability.

    Fixed in 6.6.1Patch GHSA-wqq4-5wpv-mx2g

Event History

Feb 16, 2024
Advisory Published
via GitHub·04:02 PM
CVE Published
via MITRE·09:40 PM
Data Sourced
via MITRE·09:40 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:15 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:15 PM
RemedyAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-24758?

CVE-2024-24758 is considered to have a high severity level due to the risk of unauthorized access through unhandled Proxy-Authorization headers.

2

How do I fix CVE-2024-24758?

To fix CVE-2024-24758, upgrade to undici version 5.28.3 or 6.6.1.

3

What does CVE-2024-24758 affect?

CVE-2024-24758 affects the undici package in certain versions, specifically those below 5.28.3 and 6.6.1.

4

Are there any workarounds for CVE-2024-24758?

There are no known workarounds for CVE-2024-24758, making the upgrade essential for mitigation.

5

How does CVE-2024-24758 impact my application?

CVE-2024-24758 can lead to unauthorized access if your application improperly handles Proxy-Authorization headers in cross-origin requests.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203