CVE-2024-28849 Proxy-Authorization header kept across hosts in follow-redirects
MediumCVSS 6.5
EPSS 1.0%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebian
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.
Upgrade path
10 packages: 8 fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/node-follow-redirects(Debian 12) | = 1.15.2+~1.14.1-1; = 1.15.3+~1.14.2-1; = 1.15.6+~1.14.4-1; = 1.15.6+~1.14.4-2 +7 more | No fix listed | No fix yet |
| debian/node-follow-redirects(Debian 13) | < 1.15.6+~1.14.4-1 | 1.15.6+~1.14.4-1 | Fixed |
| debian/node-follow-redirects(Debian 14) | < 1.15.6+~1.14.4-1 | 1.15.6+~1.14.4-1 | Fixed |
| follow-redirects project follow-redirects | < 1.15.6 | 1.15.6 | Fixed |
| npm follow-redirects(npm) | < 1.15.6; <= 1.15.5 | 1.15.6 | Fixed |
| ubuntu/node-follow-redirects(Ubuntu 22.04) | < 1.14.9+~1.14.1-1ubuntu0.1~esm1 | 1.14.9+~1.14.1-1ubuntu0.1~esm1 | Fixed |
| ubuntu/node-follow-redirects(Ubuntu Pro 18.04) | < 1.2.4-1ubuntu0.18.04.1~esm1; = 1.2.4-1 | 1.2.4-1ubuntu0.18.04.1~esm1 | Fixed |
| ubuntu/node-follow-redirects(Ubuntu Pro 20.04) | < 1.2.4-1ubuntu0.20.04.1~esm1; = 1.2.4-1 | 1.2.4-1ubuntu0.20.04.1~esm1 | Fixed |
| ubuntu/node-follow-redirects(Ubuntu Pro 22.04) | < 1.14.9+~1.14.1-1ubuntu0.1~esm1; = 1.13.1-1; = 1.14.5-1; = 1.14.7+~1.13.1-1 +2 more | 1.14.9+~1.14.1-1ubuntu0.1~esm1 | Fixed |
| follow-redirects | = < 1.15.6 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm follow-redirects(npm) | <= 1.15.5 | No fix listed |
| debian/node-follow-redirects(Debian:12) | All versions | No fix listed |
| debian/node-follow-redirects(Debian:12) | = 1.15.11+~1.14.4-1 | No fix listed |
| debian/node-follow-redirects(Debian:12) | = 1.15.11+~1.14.4-2 | No fix listed |
| debian/node-follow-redirects(Debian:12) | = 1.15.2+~1.14.1-1 | No fix listed |
| debian/node-follow-redirects(Debian:12) | = 1.15.3+~1.14.2-1 | No fix listed |
| debian/node-follow-redirects(Debian:12) | = 1.15.6+~1.14.4-1 | No fix listed |
| debian/node-follow-redirects(Debian:12) | = 1.15.6+~1.14.4-2 | No fix listed |
| debian/node-follow-redirects(Debian:12) | = 1.15.9+~1.14.4-1 | No fix listed |
| debian/node-follow-redirects(Debian:12) | = 1.16.0+~1.14.4-1 | No fix listed |
| debian/node-follow-redirects(Debian:12) | = 1.16.0+~1.14.4-2 | No fix listed |
| debian/node-follow-redirects(Debian:12) | = 1.16.1+~1.14.4-1 | No fix listed |
| debian/node-follow-redirects(Debian:13) | < 1.15.6+~1.14.4-1 | 1.15.6+~1.14.4-1 |
| debian/node-follow-redirects(Debian:14) | < 1.15.6+~1.14.4-1 | 1.15.6+~1.14.4-1 |
| ubuntu/node-follow-redirects(Ubuntu:22.04) | < 1.14.9+~1.14.1-1ubuntu0.1~esm1 | 1.14.9+~1.14.1-1ubuntu0.1~esm1 |
| follow-redirects | = < 1.15.6 | No fix listed |
| follow-redirects project follow-redirects | < 1.15.6 | 1.15.6 |
| npm follow-redirects(npm) | < 1.15.6 | 1.15.6 |
| ubuntu/node-follow-redirects(Ubuntu:Pro:18.04) | < 1.2.4-1ubuntu0.18.04.1~esm1 | 1.2.4-1ubuntu0.18.04.1~esm1 |
| ubuntu/node-follow-redirects(Ubuntu:Pro:18.04) | = 1.2.4-1 | No fix listed |
| ubuntu/node-follow-redirects(Ubuntu:Pro:20.04) | < 1.2.4-1ubuntu0.20.04.1~esm1 | 1.2.4-1ubuntu0.20.04.1~esm1 |
| ubuntu/node-follow-redirects(Ubuntu:Pro:20.04) | = 1.2.4-1 | No fix listed |
| ubuntu/node-follow-redirects(Ubuntu:Pro:22.04) | < 1.14.9+~1.14.1-1ubuntu0.1~esm1 | 1.14.9+~1.14.1-1ubuntu0.1~esm1 |
| ubuntu/node-follow-redirects(Ubuntu:Pro:22.04) | = 1.13.1-1 | No fix listed |
| ubuntu/node-follow-redirects(Ubuntu:Pro:22.04) | = 1.14.5-1 | No fix listed |
Show 3 more
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/node-follow-redirects(Ubuntu:Pro:22.04) | = 1.14.7+~1.13.1-1 | No fix listed |
| ubuntu/node-follow-redirects(Ubuntu:Pro:22.04) | = 1.14.8+~1.14.0-1 | No fix listed |
| ubuntu/node-follow-redirects(Ubuntu:Pro:22.04) | = 1.14.9+~1.14.1-1 | No fix listed |
References
- https://github.com/follow-redirects/follow-redirects/security/advisories/GHSA-cxjh-pqwp-8mfp exploit issue-tracking vendor-advisory
- https://github.com/follow-redirects/follow-redirects/commit/c4f847f85176991f95ab9c88af63b1294de8649b issue-tracking patch
- https://fetch.spec.whatwg.org/#authentication-entries issue-tracking technical-description
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/psf/requests/issues/1885 issue-tracking
- https://hackerone.com/reports/2390009 issue-tracking third-party-advisory
- lists.fedoraproject.org mailing-list third-party-advisory
- github.com
- Debian Security Tracker CVE-2024-28849 vendor-advisory
- Ubuntu CVE tracker issue-tracking vendor-advisory
- USN-8217-1 vendor-advisory
- www.cve.org issue-tracking
- bugs.debian.org issue-tracking
- github.com product