CVE-2013-4660: Input Validation

Published Jun 28, 2013
·
Updated

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

40 affected components
Js-yaml Project Js-yaml<=2.0.4
Js-yaml Project Js-yaml=0.2.0
Js-yaml Project Js-yaml=0.2.1
Js-yaml Project Js-yaml=0.2.2
Js-yaml Project Js-yaml=0.3.0
Js-yaml Project Js-yaml=0.3.1
Js-yaml Project Js-yaml=0.3.2
Js-yaml Project Js-yaml=0.3.3
Js-yaml Project Js-yaml=0.3.4
Js-yaml Project Js-yaml=0.3.5
Js-yaml Project Js-yaml=0.3.6
Js-yaml Project Js-yaml=0.3.7
Js-yaml Project Js-yaml=1.0.0
Js-yaml Project Js-yaml=1.0.1
Js-yaml Project Js-yaml=1.0.2
Js-yaml Project Js-yaml=1.0.3
Js-yaml Project Js-yaml=2.0.0
Js-yaml Project Js-yaml=2.0.1
Js-yaml Project Js-yaml=2.0.2
Js-yaml Project Js-yaml=2.0.3
Nodeca Js-yaml<=2.0.4
Nodeca Js-yaml=0.2.0
Nodeca Js-yaml=0.2.1
Nodeca Js-yaml=0.2.2
Nodeca Js-yaml=0.3.0
Nodeca Js-yaml=0.3.1
Nodeca Js-yaml=0.3.2
Nodeca Js-yaml=0.3.3
Nodeca Js-yaml=0.3.4
Nodeca Js-yaml=0.3.5
Nodeca Js-yaml=0.3.6
Nodeca Js-yaml=0.3.7
Nodeca Js-yaml=1.0.0
Nodeca Js-yaml=1.0.1
Nodeca Js-yaml=1.0.2
Nodeca Js-yaml=1.0.3
Nodeca Js-yaml=2.0.0
Nodeca Js-yaml=2.0.1
Nodeca Js-yaml=2.0.2
Nodeca Js-yaml=2.0.3

Event History

Jun 28, 2013
CVE Published
via MITRE·02:00 PM
Data Sourced
via MITRE·02:00 PM
Description
Data Sourced
via NVD·02:55 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2013-4660?

CVE-2013-4660 is classified as a critical vulnerability due to its ability to execute arbitrary code remotely.

2

How do I fix CVE-2013-4660?

To mitigate CVE-2013-4660, update the JS-YAML module to version 2.0.5 or higher.

3

What types of attacks can exploit CVE-2013-4660?

CVE-2013-4660 can be exploited through crafted strings that trigger an eval operation leading to remote code execution.

4

Which versions of JS-YAML are affected by CVE-2013-4660?

CVE-2013-4660 affects all versions of JS-YAML prior to 2.0.5.

5

Is there a workaround for CVE-2013-4660?

The primary workaround for CVE-2013-4660 is to avoid using the unsafe !!js/function tag in YAML input.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203