NodeJS/yargs-parser/1.1.1-alpha3


the mighty option parser used by yargs

https://www.npmjs.com/package/yargs-parser
ISC

1 Security Vulnerabilities

yargs-parser Vulnerable to Prototype Pollution

Published date: 2020-09-04T18:00:54Z
CVE: CVE-2020-7608
Links:

Affected versions of yargs-parser 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.
Parsing the argument --foo.__proto__.bar baz' adds a bar property with value baz to all objects. This is only exploitable if attackers have control over the arguments being passed to yargs-parser.

Recommendation

Upgrade to versions 13.1.2, 15.0.1, 18.1.1 or later.

Affected versions: ["17.0.0", "17.0.1", "17.1.0", "18.0.0", "18.1.0", "16.0.0", "16.1.0", "18.1.1-beta.0", "1.0.0", "1.1.1-alpha2", "2.0.0", "2.1.0", "2.1.1", "2.1.2", "2.4.0", "2.4.1", "3.2.0", "4.0.0", "4.0.2", "4.1.0", "4.2.1-candidate.1", "1.1.0", "1.1.1-alpha", "1.1.1-alpha3", "2.2.0", "2.4.0-next", "3.1.0", "4.0.1", "4.2.0", "4.2.1", "4.2.1-candidate.0", "5.0.0", "5.0.0-security.0", "6.0.0", "6.0.1", "7.0.0", "8.1.0", "9.0.0", "9.0.2", "11.0.0", "11.1.1", "13.0.0-candidate.0", "13.1.0", "8.0.0", "9.0.1", "10.0.0", "10.1.0", "11.1.0", "12.0.0", "13.0.0", "13.1.1", "14.0.0", "15.0.0"]
Secure versions: [13.1.2, 15.0.1, 15.0.2, 15.0.3, 18.1.1, 18.1.2, 18.1.3, 19.0.0, 19.0.0-beta.0, 19.0.0-beta.1, 19.0.0-beta.2, 19.0.0-beta.3, 19.0.1, 19.0.4, 20.0.0, 20.1.0, 20.2.0, 20.2.1, 20.2.2, 20.2.3, 20.2.4, 20.2.5, 20.2.6, 20.2.7, 20.2.9, 21.0.0, 21.0.1, 21.1.0, 21.1.1, 22.0.0, 5.0.1]
Recommendation: Update to version 22.0.0.

84 Other Versions

Version License Security Released
4.2.1 ISC 1 2017-01-02 - 19:42 over 8 years
20.2.4 ISC 2020-11-09 - 01:50 over 4 years
11.0.0 ISC 1 2018-10-06 - 22:52 over 6 years
5.0.0 ISC 1 2017-02-18 - 19:58 over 8 years
1.1.0 ISC 1 2016-01-24 - 22:43 over 9 years
7.0.0 ISC 1 2017-05-02 - 05:59 about 8 years
13.0.0 ISC 1 2019-02-02 - 21:30 over 6 years
4.2.1-candidate.1 ISC 1 2017-01-06 - 23:22 over 8 years
15.0.1 ISC 2020-03-13 - 20:56 over 5 years
9.0.2 ISC 1 2018-01-20 - 23:23 over 7 years
10.1.0 ISC 1 2018-06-29 - 05:14 about 7 years
2.4.0-next ISC 1 2016-04-11 - 03:04 about 9 years
4.1.0 ISC 1 2016-11-07 - 06:31 over 8 years
1.1.1-alpha ISC 1 2016-01-29 - 06:18 over 9 years
4.0.0 ISC 1 2016-09-26 - 05:38 almost 9 years
10.0.0 ISC 1 2018-04-04 - 02:10 about 7 years
13.0.0-candidate.0 ISC 1 2019-02-02 - 20:43 over 6 years
17.0.0 ISC 1 2020-02-10 - 03:52 over 5 years
2.4.1 ISC 1 2016-07-16 - 22:51 almost 9 years
18.1.0 ISC 1 2020-03-07 - 19:43 over 5 years
15.0.0 ISC 1 2019-10-07 - 00:09 over 5 years
1.1.1-alpha3 ISC 1 2016-02-01 - 06:13 over 9 years
3.2.0 ISC 1 2016-08-13 - 19:53 almost 9 years
2.2.0 ISC 1 2016-03-30 - 06:15 over 9 years
2.1.0 ISC 1 2016-02-14 - 09:04 over 9 years
9.0.1 ISC 1 2018-01-20 - 23:03 over 7 years
4.2.0 ISC 1 2016-12-01 - 18:49 over 8 years
2.4.0 ISC 1 2016-04-11 - 06:04 about 9 years
3.1.0 ISC 1 2016-08-09 - 06:26 almost 9 years
1.1.1-alpha2 ISC 1 2016-01-30 - 20:29 over 9 years
11.1.0 ISC 1 2018-11-10 - 00:30 over 6 years
6.0.0 ISC 1 2017-05-01 - 00:52 about 8 years
4.0.1 ISC 1 2016-09-30 - 06:36 almost 9 years
2.1.1 ISC 1 2016-02-23 - 06:54 over 9 years
4.2.1-candidate.0 ISC 1 2017-01-06 - 22:51 over 8 years
11.1.1 ISC 1 2018-11-19 - 23:34 over 6 years
12.0.0 ISC 1 2019-01-29 - 00:49 over 6 years
4.0.2 ISC 1 2016-09-30 - 06:52 almost 9 years
13.1.1 ISC 1 2019-06-10 - 01:17 about 6 years
14.0.0 ISC 1 2019-09-06 - 19:36 almost 6 years
17.1.0 ISC 1 2020-03-01 - 01:35 over 5 years
9.0.0 ISC 1 2018-01-20 - 22:47 over 7 years
17.0.1 ISC 1 2020-02-29 - 21:03 over 5 years
13.1.0 ISC 1 2019-05-05 - 21:33 about 6 years
6.0.1 ISC 1 2017-05-01 - 05:57 about 8 years
1.0.0 ISC 1 2016-01-23 - 21:12 over 9 years
2.0.0 ISC 1 2016-02-06 - 20:39 over 9 years
8.1.0 ISC 1 2017-12-20 - 06:20 over 7 years
2.1.2 ISC 1 2016-03-20 - 19:04 over 9 years
8.0.0 ISC 1 2017-10-05 - 06:22 over 7 years