Skip to content

CVE-2023-26159 Follow Redirects improperly handles URLs in the url.parse() function

MediumCVSS 6.1 EPSS 0.80%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial
Technology
UbuntuDebian

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.

Upgrade path

9 packages: 8 fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
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 follow redirects < 1.15.4 1.15.4 Fixed
npm follow-redirects(npm) < 1.15.4 1.15.4 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

Affected products

ProductAffected versionsFixed in
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
npm follow-redirects(npm) < 1.15.4 1.15.4
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 follow redirects < 1.15.4 1.15.4
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
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
Show 1 more
ProductAffected versionsFixed in
ubuntu/node-follow-redirects(Ubuntu:Pro:22.04) = 1.14.9+~1.14.1-1 No fix listed

References