CVE-2020-7608Published Mar 16, 2020 · Mar 16Updated Oct 29
yargs-parser Vulnerable to Prototype Pollution
yargs-parser
Medium5.3Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| yargs-parser npm |
|
|
yargs-parser
| Product | Affected | Fixed in |
|---|---|---|
| yargs-parser npm |
|
|
yargs-parser could be tricked into adding or modifying properties of Object.prototype using a "__proto__" payload.
From the CVE record · snyk
yargs-parser can be tricked into adding or modifying properties of Object.prototype through a "__proto__" payload. This requires the payload to be passed to the parser; the input does not specify whether network access, authentication, or user interaction is needed.
Check npm yargs-parser installations on versions <5.0.1, >=6.0.0 <13.1.2, >=14.0.0 <15.0.1, or >=16.0.0 <18.1.1.