Information Exposure Affecting follow-redirects package, versions <1.14.7


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.16% (54th 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-2332181
  • published12 Jan 2022
  • disclosed11 Jan 2022
  • creditranjit-git

Introduced: 11 Jan 2022

CVE-2022-0155  (opens in a new tab)
CWE-359  (opens in a new tab)

How to fix?

Upgrade follow-redirects to version 1.14.7 or higher.

Overview

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.

References

CVSS Scores

version 3.1