CVE-2013-4660 (GCVE-0-2013-4660)

Vulnerability from cvelistv5 – Published: 2013-06-28 14:00 – Updated: 2024-09-17 02:11
VLAI?
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.
Severity ?
No CVSS data available.
CWE
  • n/a
Assigner
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": {
    "fkie_nvd": {
      "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\"}]}]}]",
      "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": "2024-11-21T01:56:00.667",
      "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}]}",
      "published": "2013-06-28T14:55:02.803",
      "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\"]}]",
      "sourceIdentifier": "cve@mitre.org",
      "vulnStatus": "Modified",
      "weaknesses": "[{\"source\": \"nvd@nist.gov\", \"type\": \"Primary\", \"description\": [{\"lang\": \"en\", \"value\": \"CWE-20\"}]}]"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2013-4660\",\"sourceIdentifier\":\"cve@mitre.org\",\"published\":\"2013-06-28T14:55:02.803\",\"lastModified\":\"2025-12-02T13:29:14.470\",\"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:nodeca:js-yaml:*:*:*:*:*:*:*:*\",\"versionEndIncluding\":\"2.0.4\",\"matchCriteriaId\":\"AA8BD4E2-1381-466B-90F8-475F371AEC08\"},{\"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\"}]}]}],\"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 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…