fkie_cve-2013-4660
Vulnerability from fkie_nvd
Published
2013-06-28 14:55
Modified
2025-04-11 00:51
Severity ?
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.



{
  "configurations": [
    {
      "nodes": [
        {
          "cpeMatch": [
            {
              "criteria": "cpe:2.3:a:js-yaml_project:js-yaml:*:*:*:*:*:*:*:*",
              "matchCriteriaId": "4A4573C1-8588-48B7-A9E5-2966F1519DF6",
              "versionEndIncluding": "2.0.4",
              "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",
              "vulnerable": true
            }
          ],
          "negate": false,
          "operator": "OR"
        }
      ]
    }
  ],
  "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."
    }
  ],
  "id": "CVE-2013-4660",
  "lastModified": "2025-04-11T00:51:21.963",
  "metrics": {
    "cvssMetricV2": [
      {
        "acInsufInfo": false,
        "baseSeverity": "MEDIUM",
        "cvssData": {
          "accessComplexity": "MEDIUM",
          "accessVector": "NETWORK",
          "authentication": "NONE",
          "availabilityImpact": "PARTIAL",
          "baseScore": 6.8,
          "confidentialityImpact": "PARTIAL",
          "integrityImpact": "PARTIAL",
          "vectorString": "AV:N/AC:M/Au:N/C:P/I:P/A:P",
          "version": "2.0"
        },
        "exploitabilityScore": 8.6,
        "impactScore": 6.4,
        "obtainAllPrivilege": false,
        "obtainOtherPrivilege": false,
        "obtainUserPrivilege": false,
        "source": "nvd@nist.gov",
        "type": "Primary",
        "userInteractionRequired": false
      }
    ]
  },
  "published": "2013-06-28T14:55:02.803",
  "references": [
    {
      "source": "cve@mitre.org",
      "tags": [
        "Vendor Advisory"
      ],
      "url": "http://portal.nodesecurity.io/advisories/js-yaml"
    },
    {
      "source": "cve@mitre.org",
      "tags": [
        "Exploit",
        "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": [
        "Vendor Advisory"
      ],
      "url": "http://portal.nodesecurity.io/advisories/js-yaml"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Exploit",
        "Vendor Advisory"
      ],
      "url": "https://nealpoole.com/blog/2013/06/code-execution-via-yaml-in-js-yaml-nodejs-module/"
    }
  ],
  "sourceIdentifier": "cve@mitre.org",
  "vulnStatus": "Deferred",
  "weaknesses": [
    {
      "description": [
        {
          "lang": "en",
          "value": "CWE-20"
        }
      ],
      "source": "nvd@nist.gov",
      "type": "Primary"
    }
  ]
}


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…