{"id":"CVE-2020-7598","aliases":["CVE-2020-7598","GHSA-vh95-rmgr-6w4m"],"related":[],"kind":"vulnerability","state":"published","title":"Prototype Pollution in minimist","summary":"minimist before 1.2.2 could be tricked into adding or modifying properties of Object.prototype using a \"constructor\" or \"__proto__\" payload.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"minimist before 1.2.2 could be tricked into adding or modifying properties of Object.prototype using a \"constructor\" or \"__proto__\" payload.","source":"cvelist"},{"lang":"en","text":"Affected versions of `minimist` are vulnerable to prototype pollution. Arguments are not properly sanitized, allowing an attacker to modify the prototype of `Object`, causing the addition or modification of an existing property that will exist on all objects.  \nParsing the argument `--__proto__.y=Polluted` adds a `y` property with value `Polluted` to all objects. The argument `--__proto__=Polluted` raises and uncaught error and crashes the application.  \nThis is exploitable if attackers have control over the arguments being passed to `minimist`.\n\n\n## Recommendation\n\nUpgrade to versions 0.2.1, 1.2.3 or later.","format":"markdown","source":"ghsa"},{"lang":"es","text":"minimist versiones anteriores a la versión 1.2.2, podría ser engañado para agregar o modificar propiedades de Object.prototype usando una carga útil de \"constructor\" o \"__proto__\".","source":"nvd"}],"published":"2020-03-11T21:40:09.000Z","modified":"2026-10-08T21:17:30.997Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","score":5.6,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","score":5.6,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","score":5.6,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","score":6.8,"rating":"MEDIUM"}],"cwes":["CWE-1321"],"affected":[{"ranges":[{"version":"All versions prior to version 1.2.2","status":"affected"}],"product":"minimist","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.2.1"}],"ecosystem":"npm","package":"minimist","purl":"pkg:npm/minimist","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"1.0.0","status":"affected","fixed":"1.2.3"}],"ecosystem":"npm","package":"minimist","purl":"pkg:npm/minimist","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.2.2"}],"vendor":"substack","product":"minimist","cpe":"cpe:2.3:a:substack:minimist:*:*:*:*:*:node.js:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"15.1"}],"vendor":"opensuse","product":"leap","cpe":"cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-MINIMIST-559764","tags":["exploit","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-06/msg00024.html","tags":["mailing-list","third-party-advisory","vendor-advisory","web","x-refsource-suse","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7598","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/minimistjs/minimist/commit/10bd4cdf49d9686d48214be9d579a9cdfda37c68","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/minimistjs/minimist/commit/38a4d1caead72ef99e824bb420a2528eec03d9ab","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/minimistjs/minimist/commit/4cf1354839cb972e38496d35e12f806eea92c11f#diff-a1e0ee62c91705696ddb71aa30ad4f95","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/minimistjs/minimist/commit/63e7ed05aa4b1889ec2f3b196426db4500cbda94","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/substack/minimist","tags":["package"],"sources":["ghsa"]},{"url":"https://www.npmjs.com/advisories/1179","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"snyk","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-10-08T21:02:00.697Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-7598","url":"https://www.cve.org/CVERecord?id=CVE-2020-7598","licence":"CVE Terms of Use","modified":"2026-10-08T21:03:31.655Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-vh95-rmgr-6w4m","url":"https://github.com/advisories/GHSA-vh95-rmgr-6w4m","licence":"CC-BY-4.0","modified":"2026-03-13T22:11:31.390Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-7598","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7598","licence":"Public domain","modified":"2026-10-08T21:17:30.997Z"}],"updatedAt":"2026-11-25T22:57:51.137Z","epss":{"score":0.01931,"percentile":0.80615,"date":"2026-12-01T12:00:22.000Z"}}