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.

Severity (CVSS 3.1)7.3High
Exploit odds (30 days)0.8%top 43.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Debian:12node-follow-redirectsno fix listedDEBIAN-CVE-2023-26159
Debian:13node-follow-redirects1.15.6+~1.14.4-1DEBIAN-CVE-2023-26159
Debian:14node-follow-redirects1.15.6+~1.14.4-1DEBIAN-CVE-2023-26159
npmfollow-redirects1.15.4GHSA-jchw-25xp-jwwc

Affected products (as reported)

VendorProductVersions
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