{"schema_version":"1.7.3","id":"GHSA-r683-j2x4-v87g","published":"2022-01-21T23:55:52Z","modified":"2023-11-08T04:07:30.211593Z","aliases":["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.","affected":[{"package":{"name":"node-fetch","ecosystem":"npm","purl":"pkg:npm/node-fetch"},"ranges":[{"type":"SEMVER","events":[{"introduced":"3.0.0"},{"fixed":"3.1.1"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/01/GHSA-r683-j2x4-v87g/GHSA-r683-j2x4-v87g.json"}},{"package":{"name":"node-fetch","ecosystem":"npm","purl":"pkg:npm/node-fetch"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.6.7"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/01/GHSA-r683-j2x4-v87g/GHSA-r683-j2x4-v87g.json"}}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-0235"},{"type":"WEB","url":"https://github.com/node-fetch/node-fetch/pull/1449/commits/5c32f002fdd65b1c6a8f1e3620210813d45c7e60"},{"type":"WEB","url":"https://github.com/node-fetch/node-fetch/pull/1453"},{"type":"WEB","url":"https://github.com/node-fetch/node-fetch/commit/1ef4b560a17e644a02a3bfdea7631ffeee578b35"},{"type":"WEB","url":"https://github.com/node-fetch/node-fetch/commit/36e47e8a6406185921e4985dcbeff140d73eaa10"},{"type":"WEB","url":"https://github.com/node-fetch/node-fetch/commit/5c32f002fdd65b1c6a8f1e3620210813d45c7e60"},{"type":"WEB","url":"https://cert-portal.siemens.com/productcert/pdf/ssa-637483.pdf"},{"type":"PACKAGE","url":"https://github.com/node-fetch/node-fetch"},{"type":"WEB","url":"https://huntr.dev/bounties/d26ab655-38d6-48b3-be15-f9ad6b6ae6f7"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2022/12/msg00007.html"}],"database_specific":{"cwe_ids":["CWE-173","CWE-200","CWE-601"],"github_reviewed":true,"github_reviewed_at":"2022-01-18T22:51:22Z","nvd_published_at":"2022-01-16T17:15:00Z","severity":"HIGH"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}