Vulnerability · Published Jan 2, 2024 · Assigned by snyk
CVE-2023-26159
High 7.3
In plain English
A high-severity improper input validation in follow-redirects. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 57% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Versions of the package follow-redirects before 1.15.4 are vulnerable to Improper Input Validation due to the improper handling of URLs by the url.parse() function. When new URL() throws an error, it can be manipulated to misinterpret the hostname. An attacker could exploit this weakness to redirect traffic to a malicious site, potentially leading to information disclosure, phishing attacks, or other security breaches.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | node-follow-redirects | no fix listed | DEBIAN-CVE-2023-26159 |
| Debian:13 | node-follow-redirects | 1.15.6+~1.14.4-1 | DEBIAN-CVE-2023-26159 |
| Debian:14 | node-follow-redirects | 1.15.6+~1.14.4-1 | DEBIAN-CVE-2023-26159 |
| npm | follow-redirects | 1.15.4 | GHSA-jchw-25xp-jwwc |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | follow-redirects | 0 – before 1.15.4 |
Weakness: CWE-20, CWE-601 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P
References
- https://security.snyk.io/vuln/SNYK-JS-FOLLOWREDIRECTS-6141137
- https://github.com/follow-redirects/follow-redirects/issues/235
- https://github.com/follow-redirects/follow-redirects/pull/236
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZZ425BFKNBQ6AK7I5SAM56TWON5OF2XM/
- https://security.netapp.com/advisory/ntap-20241108-0002/