CVE-2022-0235
MEDIUM 6.1CVSS 3.1node-fetch forwards secure headers to untrusted sites
node-fetch is vulnerable to Exposure of Sensitive Information to an Unauthorized Actor
- Published
- 16 Jan 2022
- Last modified
- 7 Oct 2026
- Assigned by
- security@huntr.dev
- NVD status
- Modified
- Weakness
- CWE-173CWE-200CWE-601
- Also known as
- GHSA-r683-j2x4-v87g
- Sources
- NVDJSONOSV GHSA-r683-j2x4-v87gJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | security@huntr.dev (Secondary) | CVSS 3.0 | HIGH 8.8 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.0 | HIGH 8.8 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.8 | AV:N/AC:M/Au:N/C:P/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | node-fetch_project | node-fetchcpe:2.3:a:node-fetch_project:node-fetch:*:*:*:*:*:node.js:*:* |
< 2.6.7 | 2.6.7 |
| NVD | node-fetch_project | node-fetchcpe:2.3:a:node-fetch_project:node-fetch:*:*:*:*:*:node.js:*:* |
>= 3.0.0, < 3.1.1 | 3.1.1 |
| NVD | siemens | sinec_inscpe:2.3:a:siemens:sinec_ins:*:*:*:*:*:*:*:* |
< 1.0 | 1.0 |
| NVD | siemens | sinec_inscpe:2.3:a:siemens:sinec_ins:1.0:-:*:*:*:*:*:* |
= 1.0 | |
| NVD | siemens | sinec_inscpe:2.3:a:siemens:sinec_ins:1.0:sp1:*:*:*:*:*:* |
= 1.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* |
= 10.0 | |
| OSV | npm | node-fetch | >= 3.0.0, < 3.1.1 | 3.1.1 |
| OSV | npm | node-fetch | < 2.6.7 | 2.6.7 |
References
- https://cert-portal.siemens.com/productcert/pdf/ssa-637483.pdf · Patch, Third Party Advisory, WEB
- https://github.com/node-fetch/node-fetch/commit/36e47e8a6406185921e4985dcbeff140d73eaa10 · Patch, Third Party Advisory, WEB
- https://huntr.dev/bounties/d26ab655-38d6-48b3-be15-f9ad6b6ae6f7 · Exploit, Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2022/12/msg00007.html · Mailing List, Third Party Advisory, WEB
- 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/5c32f002fdd65b1c6a8f1e3620210813d45c7e60 · WEB
- https://github.com/node-fetch/node-fetch · PACKAGE
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 16 Jan 2022)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 21 Jan 2022)