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-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 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…