{"schema_version":"1.9.0","id":"GHSA-xvch-5gv4-984h","published":"2022-03-18T00:01:09Z","modified":"2026-03-13T22:11:59.523514Z","aliases":["CVE-2021-44906"],"summary":"Prototype Pollution in minimist","details":"Minimist prior to 1.2.6 and 0.2.4 is vulnerable to Prototype Pollution via file `index.js`, function `setKey()` (lines 69-95).","affected":[{"package":{"name":"minimist","ecosystem":"npm","purl":"pkg:npm/minimist"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.0.0"},{"fixed":"1.2.6"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/03/GHSA-xvch-5gv4-984h/GHSA-xvch-5gv4-984h.json"}},{"package":{"name":"minimist","ecosystem":"npm","purl":"pkg:npm/minimist"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.2.4"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/03/GHSA-xvch-5gv4-984h/GHSA-xvch-5gv4-984h.json"}}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-44906"},{"type":"WEB","url":"https://github.com/minimistjs/minimist/issues/11"},{"type":"WEB","url":"https://github.com/substack/minimist/issues/164"},{"type":"WEB","url":"https://github.com/minimistjs/minimist/pull/24"},{"type":"WEB","url":"https://github.com/minimistjs/minimist/commit/34e20b8461118608703d6485326abbb8e35e1703"},{"type":"WEB","url":"https://github.com/minimistjs/minimist/commit/bc8ecee43875261f4f17eb20b1243d3ed15e70eb"},{"type":"WEB","url":"https://github.com/minimistjs/minimist/commit/c2b981977fa834b223b408cfb860f933c9811e4d"},{"type":"WEB","url":"https://github.com/minimistjs/minimist/commit/ef9153fc52b6cea0744b2239921c5dcae4697f11"},{"type":"WEB","url":"https://github.com/Marynk/JavaScript-vulnerability-detection/blob/main/minimist%20PoC.zip"},{"type":"WEB","url":"https://github.com/minimistjs/minimist/commits/v0.2.4"},{"type":"PACKAGE","url":"https://github.com/substack/minimist"},{"type":"WEB","url":"https://github.com/substack/minimist/blob/master/index.js#L69"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20240621-0006"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-MINIMIST-559764"},{"type":"WEB","url":"https://stackoverflow.com/questions/8588563/adding-custom-properties-to-a-function/20278068#20278068"}],"database_specific":{"cwe_ids":["CWE-1321"],"github_reviewed":true,"github_reviewed_at":"2022-03-18T23:13:40Z","nvd_published_at":"2022-03-17T16:15:00Z","severity":"CRITICAL"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}