Vulnerability · Published Mar 14, 2024 · Assigned by GitHub_M
CVE-2024-28849Proxy-Authorization header kept across hosts in follow-redirects
Medium 6.5
In plain English
A medium-severity information exposure in follow-redirects from follow-redirects. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 64% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | node-follow-redirects | no fix listed | DEBIAN-CVE-2024-28849 |
| Debian:13 | node-follow-redirects | 1.15.6+~1.14.4-1 | DEBIAN-CVE-2024-28849 |
| Debian:14 | node-follow-redirects | 1.15.6+~1.14.4-1 | DEBIAN-CVE-2024-28849 |
| npm | follow-redirects | 1.15.6 | GHSA-cxjh-pqwp-8mfp |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| follow-redirects | follow-redirects | < 1.15.6 |
Weakness: CWE-200 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
References
- https://github.com/follow-redirects/follow-redirects/security/advisories/GHSA-cxjh-pqwp-8mfp x_refsource_CONFIRM
- https://github.com/psf/requests/issues/1885 x_refsource_MISC
- https://github.com/follow-redirects/follow-redirects/commit/c4f847f85176991f95ab9c88af63b1294de8649b x_refsource_MISC
- https://hackerone.com/reports/2390009 x_refsource_MISC
- https://fetch.spec.whatwg.org/#authentication-entries x_refsource_MISC
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VOIF4EPQUCKDBEVTGRQDZ3CGTYQHPO7Z/