follow-redirects@1.14.8 vulnerabilities

HTTP and HTTPS modules that follow redirects.

Direct Vulnerabilities

Known vulnerabilities in the follow-redirects package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • M
Information Exposure

Affected versions of this package are vulnerable to Information Exposure due to the handling of the Proxy-Authorization header across hosts. When using a dependent library, it only clears the authorization header during cross-domain redirects but allows the proxy-authentication header, which contains credentials, to persist. This behavior may lead to the unintended leakage of credentials if an attacker can trigger a cross-domain redirect and capture the persistent proxy-authentication header.

How to fix Information Exposure?

Upgrade follow-redirects to version 1.15.6 or higher.

<1.15.6
  • H
Improper Input Validation

Affected versions of this package 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.

How to fix Improper Input Validation?

Upgrade follow-redirects to version 1.15.4 or higher.

<1.15.4