| 1 |
{ |
| 2 |
"actions": [ |
| 3 |
{ |
| 4 |
"action": "update", |
| 5 |
"resolves": [ |
| 6 |
{ |
| 7 |
"id": 1179, |
| 8 |
"path": "minimist", |
| 9 |
"dev": false, |
| 10 |
"optional": false, |
| 11 |
"bundled": false |
| 12 |
} |
| 13 |
], |
| 14 |
"module": "minimist", |
| 15 |
"target": "1.2.5", |
| 16 |
"depth": 1 |
| 17 |
} |
| 18 |
], |
| 19 |
"advisories": { |
| 20 |
"1179": { |
| 21 |
"findings": [ |
| 22 |
{ |
| 23 |
"version": "1.0.0", |
| 24 |
"paths": [ |
| 25 |
"minimist" |
| 26 |
] |
| 27 |
} |
| 28 |
], |
| 29 |
"id": 1179, |
| 30 |
"created": "2019-09-23T15:01:43.049Z", |
| 31 |
"updated": "2020-03-18T19:41:45.921Z", |
| 32 |
"deleted": null, |
| 33 |
"title": "Prototype Pollution", |
| 34 |
"found_by": { |
| 35 |
"link": "https://www.checkmarx.com/resources/blog/", |
| 36 |
"name": "Checkmarx Research Team", |
| 37 |
"email": "" |
| 38 |
}, |
| 39 |
"reported_by": { |
| 40 |
"link": "https://www.checkmarx.com/resources/blog/", |
| 41 |
"name": "Checkmarx Research Team", |
| 42 |
"email": "" |
| 43 |
}, |
| 44 |
"module_name": "minimist", |
| 45 |
"cves": [], |
| 46 |
"vulnerable_versions": "<0.2.1 || >=1.0.0 <1.2.3", |
| 47 |
"patched_versions": ">=0.2.1 <1.0.0 || >=1.2.3", |
| 48 |
"overview": "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", |
| 49 |
"recommendation": "Upgrade to versions 0.2.1, 1.2.3 or later.", |
| 50 |
"references": "- [GitHub commit 1](https://github.com/substack/minimist/commit/4cf1354839cb972e38496d35e12f806eea92c11f#diff-a1e0ee62c91705696ddb71aa30ad4f95)\n- [GitHub commit 2](https://github.com/substack/minimist/commit/63e7ed05aa4b1889ec2f3b196426db4500cbda94)", |
| 51 |
"access": "public", |
| 52 |
"severity": "low", |
| 53 |
"cwe": "CWE-471", |
| 54 |
"metadata": { |
| 55 |
"module_type": "", |
| 56 |
"exploitability": 1, |
| 57 |
"affected_components": "" |
| 58 |
}, |
| 59 |
"url": "https://npmjs.com/advisories/1179" |
| 60 |
} |
| 61 |
}, |
| 62 |
"muted": [], |
| 63 |
"metadata": { |
| 64 |
"vulnerabilities": { |
| 65 |
"info": 0, |
| 66 |
"low": 1, |
| 67 |
"moderate": 0, |
| 68 |
"high": 0, |
| 69 |
"critical": 0 |
| 70 |
}, |
| 71 |
"dependencies": 1, |
| 72 |
"devDependencies": 0, |
| 73 |
"optionalDependencies": 0, |
| 74 |
"totalDependencies": 1 |
| 75 |
}, |
| 76 |
"runId": "7dc20d4f-d249-43dd-8a72-f16ff5ca7b7c" |
| 77 |
} |