{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "1.3.0"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "2de086b4499028a9707eb5ed36ebb90885a040c4"
            }
          ],
          "repo": "https://github.com/es128/serial-number",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "serial-number through 1.3.0 allows execution of arbritary commands. The \"cmdPrefix\" argument in serialNumber function is used by the \"exec\" function without any validation.",
  "id": "CVE-2019-10804",
  "modified": "2026-03-13T21:54:56.249788289Z",
  "published": "2020-02-28T21:15:13.087Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/es128/serial-number/blob/master/index.js#L106"
    },
    {
      "type": "EVIDENCE",
      "url": "https://snyk.io/vuln/SNYK-JS-SERIALNUMBER-559010"
    }
  ],
  "related": [
    "SNYK-JS-SERIALNUMBER-559010"
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}