GitHub Advisoryadvisory · npm
GHSA-r683-j2x4-v87g node-fetch forwards secure headers to untrusted sites
HIGH
Official page ↗
- Aliases
- CVE-2022-0235
- Ecosystem
- npm
- Packages
- node-fetch
- Severity
- High
- CVSS vector
- CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-173, CWE-200, CWE-601
- Reviewed
- 2022-01-18
Affected packages
• npm node-fetch: >= 3.0.0, < 3.1.1 → fixed in 3.1.1
• npm node-fetch: < 2.6.7 → fixed in 2.6.7
Description
node-fetch forwards secure headers such as `authorization`, `www-authenticate`, `cookie`, & `cookie2` when redirecting to a untrusted site.
Related
Alias · CVE (1)
- CVE-2022-0235 node-fetch is vulnerable to Exposure of Sensitive Information to an Unauthorized Actor vulnerability
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-0235 advisory
- https://github.com/node-fetch/node-fetch/pull/1449/commits/5c32f002fdd65b1c6a8f1e3620210813d45c7e60 web
- https://github.com/node-fetch/node-fetch/pull/1453 web
- https://github.com/node-fetch/node-fetch/commit/1ef4b560a17e644a02a3bfdea7631ffeee578b35 web
- https://github.com/node-fetch/node-fetch/commit/36e47e8a6406185921e4985dcbeff140d73eaa10 web
- https://github.com/node-fetch/node-fetch/commit/5c32f002fdd65b1c6a8f1e3620210813d45c7e60 web
- https://cert-portal.siemens.com/productcert/pdf/ssa-637483.pdf web
- https://github.com/node-fetch/node-fetch package
- https://huntr.dev/bounties/d26ab655-38d6-48b3-be15-f9ad6b6ae6f7 web
- https://lists.debian.org/debian-lts-announce/2022/12/msg00007.html web