Prototype Pollution in yargs-parser library



Published: 2020-03-23
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2020-7608
CWE-ID CWE-400
Exploitation vector Network
Public exploit Public exploit code for vulnerability #1 is available.
Vulnerable software
Subscribe
yargs-parser
Universal components / Libraries / Libraries used by multiple products

Vendor yargs

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Prototype Pollution

EUVDB-ID: #VU26304

Risk: Medium

CVSSv3.1: 6.6 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C]

CVE-ID: CVE-2020-7608

CWE-ID: CWE-400 - Resource exhaustion

Exploit availability: No

Description

The vulnerability allows a remote attacker to compromise the target system.

The vulnerability exists due to improper input validation. A remote attacker can send a specially crafted request and add or modify properties of Object.prototype using a "__proto__" payload.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

yargs-parser: 13.0.0 - 18.1.0

External links

http://snyk.io/vuln/SNYK-JS-YARGSPARSER-560381


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.



###SIDEBAR###