#VU52909 Prototype pollution in y18n


Published: 2021-05-06

Vulnerability identifier: #VU52909

Vulnerability risk: Medium

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

CVE-ID: CVE-2020-7774

CWE-ID: CWE-94

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
y18n
Web applications / JS libraries

Vendor: yargs

Description

The vulnerability allows a remote attacker to execute arbitrary JavaScript code.

The vulnerability exists due to improper input validation. A remote attacker can send a specially crafted request and execute arbitrary JavaScript code.


Mitigation
Install updates from vendor's website.

Vulnerable software versions

y18n: 1.1.0 - 5.0.4


External links
http://github.com/yargs/y18n/issues/96
http://github.com/yargs/y18n/pull/108
http://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1038306
http://snyk.io/vuln/SNYK-JS-Y18N-1021887


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.


Latest bulletins with this vulnerability