Advisory

GHSA-r683-j2x4-v87g

Also known as: CVE-2022-0235

Summary

node-fetch forwards secure headers to untrusted sites

Details

node-fetch forwards secure headers such as authorization, www-authenticate, cookie, & cookie2 when redirecting to a untrusted site.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-01-21 23:55 UTC
Modified
2023-11-08 04:07 UTC

Affected packages and fixes

node-fetch

npm · All systems

Affected

  • introduced 3.0.0, fixed 3.1.1 (semver)

Fixed versions

3.1.1

Fix

node-fetch

npm · All systems

Affected

  • introduced 0, fixed 2.6.7 (semver)

Fixed versions

2.6.7

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences