CVE-2013-4660 (GCVE-0-2013-4660)
Vulnerability from cvelistv5
Published
2013-06-28 14:00
Modified
2024-09-17 02:11
Severity ?
CWE
  • n/a
Summary
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.
Impacted products
Vendor Product Version
n/a n/a Version: n/a
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-06T16:52:26.982Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "https://nealpoole.com/blog/2013/06/code-execution-via-yaml-in-js-yaml-nodejs-module/"
          },
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "http://portal.nodesecurity.io/advisories/js-yaml"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "n/a",
          "vendor": "n/a",
          "versions": [
            {
              "status": "affected",
              "version": "n/a"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "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."
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "description": "n/a",
              "lang": "en",
              "type": "text"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2013-06-28T14:00:00Z",
        "orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
        "shortName": "mitre"
      },
      "references": [
        {
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://nealpoole.com/blog/2013/06/code-execution-via-yaml-in-js-yaml-nodejs-module/"
        },
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "http://portal.nodesecurity.io/advisories/js-yaml"
        }
      ],
      "x_legacyV4Record": {
        "CVE_data_meta": {
          "ASSIGNER": "cve@mitre.org",
          "ID": "CVE-2013-4660",
          "STATE": "PUBLIC"
        },
        "affects": {
          "vendor": {
            "vendor_data": [
              {
                "product": {
                  "product_data": [
                    {
                      "product_name": "n/a",
                      "version": {
                        "version_data": [
                          {
                            "version_value": "n/a"
                          }
                        ]
                      }
                    }
                  ]
                },
                "vendor_name": "n/a"
              }
            ]
          }
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "eng",
              "value": "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."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "eng",
                  "value": "n/a"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://nealpoole.com/blog/2013/06/code-execution-via-yaml-in-js-yaml-nodejs-module/",
              "refsource": "MISC",
              "url": "https://nealpoole.com/blog/2013/06/code-execution-via-yaml-in-js-yaml-nodejs-module/"
            },
            {
              "name": "http://portal.nodesecurity.io/advisories/js-yaml",
              "refsource": "CONFIRM",
              "url": "http://portal.nodesecurity.io/advisories/js-yaml"
            }
          ]
        }
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
    "assignerShortName": "mitre",
    "cveId": "CVE-2013-4660",
    "datePublished": "2013-06-28T14:00:00Z",
    "dateReserved": "2013-06-24T00:00:00Z",
    "dateUpdated": "2024-09-17T02:11:39.386Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2013-4660\",\"sourceIdentifier\":\"cve@mitre.org\",\"published\":\"2013-06-28T14:55:02.803\",\"lastModified\":\"2025-04-11T00:51:21.963\",\"vulnStatus\":\"Deferred\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"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.\"},{\"lang\":\"es\",\"value\":\"El m\u00f3dulo JS-YAML antes de v2.0.5 para Node.js analiza la entrada sin considerar adecuadamente etiqueta insegura !!js/function, lo que permite a atacantes remotos ejecutar c\u00f3digo arbitrario a trav\u00e9s de una cadena modificada que desencadena una operaci\u00f3n eval.\"}],\"metrics\":{\"cvssMetricV2\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"2.0\",\"vectorString\":\"AV:N/AC:M/Au:N/C:P/I:P/A:P\",\"baseScore\":6.8,\"accessVector\":\"NETWORK\",\"accessComplexity\":\"MEDIUM\",\"authentication\":\"NONE\",\"confidentialityImpact\":\"PARTIAL\",\"integrityImpact\":\"PARTIAL\",\"availabilityImpact\":\"PARTIAL\"},\"baseSeverity\":\"MEDIUM\",\"exploitabilityScore\":8.6,\"impactScore\":6.4,\"acInsufInfo\":false,\"obtainAllPrivilege\":false,\"obtainUserPrivilege\":false,\"obtainOtherPrivilege\":false,\"userInteractionRequired\":false}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-20\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:js-yaml_project:js-yaml:*:*:*:*:*:*:*:*\",\"versionEndIncluding\":\"2.0.4\",\"matchCriteriaId\":\"4A4573C1-8588-48B7-A9E5-2966F1519DF6\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:js-yaml_project:js-yaml:0.2.0:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"E26BD514-E20B-4AF1-ABAB-B7C135213921\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:js-yaml_project:js-yaml:0.2.1:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"9BCBBB48-04B2-4EF4-A757-27D0ADDB3010\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:js-yaml_project:js-yaml:0.2.2:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"7EE38B21-4065-4A89-8ED9-9F94F28A4CF4\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:js-yaml_project:js-yaml:0.3.0:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"F80D6361-83AF-4F30-B8FB-BF04195595E7\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:js-yaml_project:js-yaml:0.3.1:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"A87DBE70-409D-4B64-8912-105399EAE3AB\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:js-yaml_project:js-yaml:0.3.2:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"FAA83ADA-5A9C-45B7-833D-029AFCE0A74C\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:js-yaml_project:js-yaml:0.3.3:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"977E7C40-75E9-4476-BB8E-CBDD62328E2F\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:js-yaml_project:js-yaml:0.3.4:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"31C7D7EB-3757-4ECA-A4F9-0BB0674DE6C4\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:js-yaml_project:js-yaml:0.3.5:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"B710D0C1-06CC-4400-9970-5D333A71396B\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:js-yaml_project:js-yaml:0.3.6:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"FD003662-EB37-470B-BF77-6B10B31A5DA3\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:js-yaml_project:js-yaml:0.3.7:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"E2A704DB-70CB-4F3B-A208-622E08CD61A4\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:js-yaml_project:js-yaml:1.0.0:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"D70A306F-6EB3-446F-9323-BA22D808CAFA\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:js-yaml_project:js-yaml:1.0.1:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"66B2DB7C-8C2E-430A-9FF8-769CA40E6BF3\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:js-yaml_project:js-yaml:1.0.2:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"E86AD962-29D6-4B00-867D-91DC8CC8C8C9\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:js-yaml_project:js-yaml:1.0.3:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"5FEEBE9F-232D-48F1-99DC-6AFF6DCB1D55\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:js-yaml_project:js-yaml:2.0.0:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"9344BD7B-A88C-4FD6-89D8-67144A5C9738\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:js-yaml_project:js-yaml:2.0.1:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"BFE961FE-5647-4B48-B555-2E932486E4C4\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:js-yaml_project:js-yaml:2.0.2:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"3DDDE2A4-6441-4FB4-9C0A-4803C216CFE8\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:js-yaml_project:js-yaml:2.0.3:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"63CBC2C2-89E1-49BE-8021-06A72AC30337\"}]}]}],\"references\":[{\"url\":\"http://portal.nodesecurity.io/advisories/js-yaml\",\"source\":\"cve@mitre.org\",\"tags\":[\"Vendor Advisory\"]},{\"url\":\"https://nealpoole.com/blog/2013/06/code-execution-via-yaml-in-js-yaml-nodejs-module/\",\"source\":\"cve@mitre.org\",\"tags\":[\"Exploit\",\"Vendor Advisory\"]},{\"url\":\"http://portal.nodesecurity.io/advisories/js-yaml\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Vendor Advisory\"]},{\"url\":\"https://nealpoole.com/blog/2013/06/code-execution-via-yaml-in-js-yaml-nodejs-module/\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Exploit\",\"Vendor Advisory\"]}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…