Improper input validation in Nodeca Js-Yaml

CVE-2013-4660

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.

Published · last modified .

CVSS v2 metric

CVSS v2 base score 6.8 (Medium). Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.

EPSS exploit prediction

EPSS 0.172, 97.1th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

Weakness classification (CWE)

Public exploits and proof-of-concept code

Metasploit modules

1 public repository with exploit or proof-of-concept code for this CVE:

Also mentioned in 2 other repositories (ContainerSolutions/node-hack, lalyos/docker-security-course). These reference the CVE in a list, notes or a scanner and are not exploit code for it.

References