This repository has been archived by the owner on Nov 21, 2022. It is now read-only.
WS-2020-0068 (Medium) detected in yargs-parser-13.1.2.tgz, yargs-parser-11.1.1.tgz #24
Labels
security vulnerability
Security vulnerability detected by WhiteSource
WS-2020-0068 - Medium Severity Vulnerability
yargs-parser-13.1.2.tgz
the mighty option parser used by yargs
Library home page: https://registry.npmjs.org/yargs-parser/-/yargs-parser-13.1.2.tgz
Path to dependency file: /tmp/ws-scm/WFH_Resources/WFHResourcesApp/package.json
Path to vulnerable library: /tmp/ws-scm/WFH_Resources/WFHResourcesApp/node_modules/@angular/localize/node_modules/yargs-parser/package.json
Dependency Hierarchy:
yargs-parser-11.1.1.tgz
the mighty option parser used by yargs
Library home page: https://registry.npmjs.org/yargs-parser/-/yargs-parser-11.1.1.tgz
Path to dependency file: /tmp/ws-scm/WFH_Resources/WFHResourcesApp/package.json
Path to vulnerable library: /tmp/ws-scm/WFH_Resources/WFHResourcesApp/node_modules/yargs-parser/package.json
Dependency Hierarchy:
Found in HEAD commit: 0a66f78cf713627846c348736ef811fd18a643fd
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.
Publish Date: 2020-05-01
URL: WS-2020-0068
Base Score Metrics:
Type: Upgrade version
Origin: https://www.npmjs.com/package/yargs-parser
Release Date: 2020-05-04
Fix Resolution: https://www.npmjs.com/package/yargs-parser/v/18.1.2,https://www.npmjs.com/package/yargs-parser/v/15.0.1
Step up your Open Source Security Game with WhiteSource here
The text was updated successfully, but these errors were encountered: