{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2018-13797","id":"CVE-2018-13797","title":"Command Injection in macaddress","description":"The macaddress module before 0.2.9 for Node.js is prone to an arbitrary command injection flaw, due to allowing unsanitized input to an exec (rather than execFile) call.","descriptionLong":"The macaddress module before 0.2.9 for Node.js is prone to an arbitrary command injection flaw, due to allowing unsanitized input to an exec (rather than execFile) call.","published":"2018-07-10T12:00:00.000Z","updated":"2026-10-20T10:49:48.244049387Z","reserved":"2018-07-10T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},"metrics":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","rating":"high","source":"NVD"}],"rating":"critical","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"macaddress","purl":"pkg:npm/macaddress","ranges":["<0.2.9"],"fixed":["0.2.9"],"advisory":"GHSA-pp57-mqmh-44h7"}],"cwes":["CWE-78"],"aliases":["GHSA-pp57-mqmh-44h7"],"references":[{"url":"https://github.com/scravy/node-macaddress/pull/20/","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory"]},{"url":"https://github.com/scravy/node-macaddress/commit/358fd594adb196a86b94ac9c691f69fe5dad2332","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/scravy/node-macaddress/releases/tag/0.2.9","tags":["x_refsource_MISC","x_transferred","Patch","Release Notes","Third Party Advisory","fix","web"]},{"url":"https://news.ycombinator.com/item?id=17283394","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-13797","tags":["advisory"]},{"url":"https://github.com/scravy/node-macaddress/pull/20","tags":["web"]},{"url":"https://hackerone.com/reports/319467","tags":["web"]},{"url":"https://github.com/advisories/GHSA-pp57-mqmh-44h7","tags":["advisory"]},{"url":"https://github.com/scravy/node-macaddress","tags":["package"]},{"url":"https://www.npmjs.com/advisories/654","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.06563,"epssPercentile":0.93946,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2018-13797","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-13797","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2018-13797","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-pp57-mqmh-44h7","ok":true,"note":"GHSA-pp57-mqmh-44h7"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2018-13797","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}