What’s Vulnerable › Vulnerabilities

CVE-2024-28849: Proxy-Authorization header kept across hosts in follow-redirects

Description

follow-redirects is an open source, drop-in replacement for Node's `http` and `https` modules that automatically follows redirects. In affected versions follow-redirects only clears authorization header during cross-domain redirect, but keep the proxy-authentication header which contains credentials too. This vulnerability may lead to credentials leak, but has been addressed in version 1.15.6. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Affected products

How to fix

Upgrade to a fixed version: follow-redirects 1.15.6; Npm Follow-Redirects 1.15.6. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-28849 or the next vulnerability affects your stack