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
| Package | Versions |
|---|---|
| npm · node-fetch | introduced 3.0.0, fixed 3.1.1 |
| npm · node-fetch | introduced 0, fixed 2.6.7 |
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
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |