Information Exposure Affecting follow-redirects package, versions <1.14.8


Severity

Recommended
0.0
low
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.14% (50th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-FOLLOWREDIRECTS-2396346
  • published9 Feb 2022
  • disclosed9 Feb 2022
  • credithaxatron

Introduced: 9 Feb 2022

CVE-2022-0536  (opens in a new tab)
CWE-200  (opens in a new tab)

How to fix?

Upgrade follow-redirects to version 1.14.8 or higher.

Overview

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.

References

CVSS Scores

version 3.1