Skip to content
OpenAdvisories
Critical Public exploit CVE-2013-4660 EUVD-2017-0338GHSA-xxvw-45rp-3mj2

Deserialization Code Execution in js-yaml

Published Jun 28, 2013 · Updated Sep 17, 2024 · Assigned by mitre

Description

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.

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Metasploit 1 module

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
npm js-yaml < 2.0.5 2.0.5 GHSA-xxvw-45rp-3mj2

References