follow-redirects@0.1.0 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
  • L
Information Exposure

Affected versions of this package are vulnerable to Information Exposure due a leakage of the Authorization header from the same hostname during HTTPS to HTTP redirection. An attacker who can listen in on the wire (or perform a MITM attack) will be able to receive the Authorization header due to the usage of the insecure HTTP protocol which does not verify the hostname the request is sending to.

How to fix Information Exposure?

Upgrade follow-redirects to version 1.14.8 or higher.

<1.14.8
  • M
Information Exposure

Affected versions of this package are vulnerable to Information Exposure by leaking the cookie header to a third party site in the process of fetching a remote URL with the cookie in the request body. If the response contains a location header, it will follow the redirect to another URL of a potentially malicious actor, to which the cookie would be exposed.

How to fix Information Exposure?

Upgrade follow-redirects to version 1.14.7 or higher.

<1.14.7