GHSA-r683-j2x4-v87g

node-fetch forwards secure headers to untrusted sites

At a glance

Published
Updated
CVE
CVE-2022-0235
CVSS_V3
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Description

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

Affected packages

PackageVersions
npm · node-fetchintroduced 3.0.0, fixed 3.1.1
npm · node-fetchintroduced 0, fixed 2.6.7

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database