Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: CVE-2019-10804

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2019-10804
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 10:33 UTC · Revision 1

Source evidence

CVE-2019-10804

core-osv · Original source

Published 28 Feb 2020, 21:15 UTC

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.

osv:CVE-2019-10804
Complete source record
{
  "id": "3c1f3c24e108ff11a6918539a1c3ad3488ac6fa5235578aaf0e5e339315606ed",
  "url": "https://osv.dev/vulnerability/CVE-2019-10804",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2019-10804",
    "summary": "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.",
    "evidence": "osv:CVE-2019-10804",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2019-10804",
      "aliases": [
        "CVE-2019-10804",
        "GHSA-3fw4-4h3m-892h",
        "SNYK-JS-SERIALNUMBER-559010"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/es128/serial-number",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "2de086b4499028a9707eb5ed36ebb90885a040c4"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:serial-number_project:serial-number:*:*:*:*:*:node.js:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "1.3.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.3.0",
            "v1.2.0",
            "v1.1.0",
            "v1.0.0",
            "v0.4.0",
            "v0.3.0",
            "v0.2.0",
            "v0.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-10804.json"
          }
        }
      ],
      "modified": "2026-10-20T10:50:38.412661421Z",
      "provider": "osv",
      "references": [
        "https://github.com/es128/serial-number/blob/master/index.js#L106",
        "https://snyk.io/vuln/SNYK-JS-SERIALNUMBER-559010"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2019-10804",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 381942,
  "published_at": "2020-02-28T21:15:13.087+00:00"
}