{"id":"GHSA-3fw4-4h3m-892h","summary":"OS Command Injection in serial-number","details":"serial-number through 1.3.0 allows execution of arbritary commands. The &quot;cmdPrefix&quot; argument in serialNumber function is used by the &quot;exec&quot; function without any validation.","aliases":["CVE-2019-10804","SNYK-JS-SERIALNUMBER-559010"],"modified":"2026-07-08T05:56:09.490326411Z","published":"2021-04-13T15:22:19Z","database_specific":{"github_reviewed_at":"2021-04-09T21:39:10Z","nvd_published_at":"2020-02-28T21:15:00Z","cwe_ids":["CWE-78"],"severity":"HIGH","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-10804"},{"type":"WEB","url":"https://github.com/es128/serial-number/blob/master/index.js#L106"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-SERIALNUMBER-559010"}],"affected":[{"package":{"name":"serial-number","ecosystem":"npm","purl":"pkg:npm/serial-number"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"1.3.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/04/GHSA-3fw4-4h3m-892h/GHSA-3fw4-4h3m-892h.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}