GHSA-jchw-25xp-jwwc

Follow Redirects improperly handles URLs in the url.parse() function

En bref

Publiée
Mise à jour
CVE
CVE-2023-26159
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

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.

Paquets affectés

PaquetVersions
npm · follow-redirectsintroduced 0, fixed 1.15.4

Références

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database