Input validation error in js-yaml (npm) - CVE-2013-4660

 

Input validation error in js-yaml (npm) - CVE-2013-4660

Published: June 28, 2013 / Updated: August 11, 2020


Vulnerability identifier: #VU42769
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2013-4660
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to read and manipulate data.

The JS-YAML module before 2.0.5 for Node.js parses input without properly considering the unsafe !!js/function tag, which allows remote attackers to execute arbitrary code via a crafted string that triggers an eval operation.


Affected software

js-yaml (npm)

How to mitigate CVE-2013-4660

Install update from vendor's website.


Links to Public Exploits and PoC-codes

External References

Related Security Bulletins