GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

FKIE_CVE-2013-4660

Vulnerability from fkie_nvd - Published: 2013-06-28 14:55 - Updated: 2026-06-16 23:57
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.
Impacted products
Vendor Product Version
nodeca js-yaml *
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

{
  "affected": [
    {
      "affectedData": [
        {
          "product": "n/a",
          "vendor": "n/a",
          "versions": [
            {
              "status": "affected",
              "version": "n/a"
            }
          ]
        }
      ],
      "source": "cve@mitre.org"
    }
  ],
  "configurations": [
    {
      "nodes": [
        {
          "cpeMatch": [
            {
              "criteria": "cpe:2.3:a:nodeca:js-yaml:*:*:*:*:*:*:*:*",
              "matchCriteriaId": "AA8BD4E2-1381-466B-90F8-475F371AEC08",
              "versionEndIncluding": "2.0.4",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:nodeca:js-yaml:0.2.0:*:*:*:*:*:*:*",
              "matchCriteriaId": "4BFECE74-6573-4638-A03A-84BADAAA6B08",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:nodeca:js-yaml:0.2.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "CE8B5616-9AFD-493D-B537-4B2DCA61B456",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:nodeca:js-yaml:0.2.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "E6F50693-8090-45AF-8D19-D63AC31D7240",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:nodeca:js-yaml:0.3.0:*:*:*:*:*:*:*",
              "matchCriteriaId": "BC87D583-06D3-44E7-AF14-8FEFBA4F2A39",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:nodeca:js-yaml:0.3.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "BF766D05-2086-402D-A1CD-B0E74349C5D8",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:nodeca:js-yaml:0.3.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "71CC3AFF-12D2-40FB-B0D4-6B11778AE2CB",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:nodeca:js-yaml:0.3.3:*:*:*:*:*:*:*",
              "matchCriteriaId": "D5AB170A-A395-4914-B615-2C4BBDFE85DB",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:nodeca:js-yaml:0.3.4:*:*:*:*:*:*:*",
              "matchCriteriaId": "E78D927C-EF70-459F-BB28-AC904F52B07D",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:nodeca:js-yaml:0.3.5:*:*:*:*:*:*:*",
              "matchCriteriaId": "BC289787-23F1-4DE1-8258-9ED136E54026",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:nodeca:js-yaml:0.3.6:*:*:*:*:*:*:*",
              "matchCriteriaId": "889B2FD8-D061-487E-A227-01B5E76F5304",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:nodeca:js-yaml:0.3.7:*:*:*:*:*:*:*",
              "matchCriteriaId": "7BD84B2A-0DD7-421C-A470-48CFC16481FC",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:nodeca:js-yaml:1.0.0:*:*:*:*:*:*:*",
              "matchCriteriaId": "5EFEA856-42BA-484E-8F9B-3289B19640B0",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:nodeca:js-yaml:1.0.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "ACDBEBEE-5CB5-4D00-A211-E25C80ED657C",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:nodeca:js-yaml:1.0.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "7826754E-C50C-4B62-A474-6863A21BC907",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:nodeca:js-yaml:1.0.3:*:*:*:*:*:*:*",
              "matchCriteriaId": "82E5E45D-7CF3-4B28-A5B9-CAFE300B4BE8",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:nodeca:js-yaml:2.0.0:*:*:*:*:*:*:*",
              "matchCriteriaId": "D214C5A9-BABC-444D-B974-8BB394D3F96C",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:nodeca:js-yaml:2.0.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "EB5D80AC-550A-4501-BD7A-6726A57721FE",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:nodeca:js-yaml:2.0.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "BE3EE145-BD50-4C86-8D58-DB76B96458B0",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:nodeca:js-yaml:2.0.3:*:*:*:*:*:*:*",
              "matchCriteriaId": "4F435032-6B39-4E7A-B4EC-DBABBDAB5051",
              "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": "2026-06-16T23:57:40.687",
  "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": "Modified",
  "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…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…