Unknown · Follow-Redirects · CVE-2024-28849
**Name of the Vulnerable Software and Affected Versions**
follow-redirects versions prior to 1.15.6
**Description**
The issue is related to insufficient protection of sensitive data in the follow-redirects module, which is a drop-in replacement for Node's `http` and `https` modules. This module automatically follows redirects but only clears the authorization header during cross-domain redirects, keeping the proxy-authentication header that contains credentials. This may lead to credentials leak. There are no known workarounds for this issue.
**Recommendations**
For versions prior to 1.15.6, upgrade to version 1.15.6 to address the issue.
As a temporary workaround, consider removing the proxy-authentication header during cross-domain redirects.