{"id":"CVE-2018-13797","aliases":["DEBIAN-CVE-2018-13797","GHSA-pp57-mqmh-44h7","UBUNTU-CVE-2018-13797"],"summary":"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_at":"2018-06-11T00:00:00Z","modified_at":"2026-10-23T18:02:59.143131Z","products":[],"rating":{"severity":"critical","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attack_path":"internet_unauthenticated","user_interaction":false,"malicious":false,"red_hat":"Critical","vendor_ratings":[{"source":"Ubuntu","rating":"medium"},{"source":"Red Hat","rating":"Critical"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.0656299963593483,"percentile":0.93954998254776,"date":"2026-11-19T00:00:00Z"},"priority":11.8,"details":"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.","affected_stack":[],"affected_other":[{"ecosystem":"Debian:12","package":"node-macaddress","purl":"pkg:deb/debian/node-macaddress?arch=source&distro=bookworm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.2.9-1"}]}],"fixed":["0.2.9-1"],"provider":"osv","source":"DEBIAN-CVE-2018-13797","relation":"self"},{"ecosystem":"Debian:13","package":"node-macaddress","purl":"pkg:deb/debian/node-macaddress?arch=source&distro=trixie","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.2.9-1"}]}],"fixed":["0.2.9-1"],"provider":"osv","source":"DEBIAN-CVE-2018-13797","relation":"self"},{"ecosystem":"Debian:14","package":"node-macaddress","purl":"pkg:deb/debian/node-macaddress?arch=source&distro=forky","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.2.9-1"}]}],"fixed":["0.2.9-1"],"provider":"osv","source":"DEBIAN-CVE-2018-13797","relation":"self"},{"ecosystem":"NVD","package":"node-macaddress_project:node-macaddress","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.2.9"}]}],"fixed":["0.2.9"],"provider":"nvd","source":"CVE-2018-13797","relation":"self"},{"ecosystem":"Ubuntu:18.04:LTS","package":"node-macaddress","purl":"pkg:deb/ubuntu/node-macaddress@0.2.8-2?arch=source&distro=bionic","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.2.8-1","0.2.8-2"],"provider":"osv","source":"UBUNTU-CVE-2018-13797","relation":"self"},{"ecosystem":"npm","package":"macaddress","purl":"pkg:npm/macaddress","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.2.9"}]}],"fixed":["0.2.9"],"provider":"osv","source":"GHSA-pp57-mqmh-44h7","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Management for Kubernetes 2","cpe":"cpe:/a:redhat:acm:2","status":"not_affected","packages":["rhacm2/console-ui-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2018-13797"},{"vendor":"Red Hat","product":"Red Hat Quay 3","cpe":"cpe:/a:redhat:quay:3","status":"affected","packages":["quay/quay-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2018-13797"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2018-13797","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2018-13797","license":"CC-BY-4.0","published_at":"2018-07-10T12:00:00Z","modified_at":"2024-09-16T23:46:07.363Z","summary":"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.","details":"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.","severity":[],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/scravy/node-macaddress/pull/20/"},{"type":"WEB","url":"https://github.com/scravy/node-macaddress/commit/358fd594adb196a86b94ac9c691f69fe5dad2332"},{"type":"WEB","url":"https://github.com/scravy/node-macaddress/releases/tag/0.2.9"},{"type":"WEB","url":"https://news.ycombinator.com/item?id=17283394"}]},{"provider":"nvd","source_id":"CVE-2018-13797","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-13797","severity":[],"affected":[{"ecosystem":"NVD","package":"node-macaddress_project:node-macaddress","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.2.9"}]}],"fixed":["0.2.9"],"provider":"nvd","source":"CVE-2018-13797","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"DEBIAN-CVE-2018-13797","relation":"self","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2018-13797","published_at":"2018-07-10T12:29:00.207Z","modified_at":"2026-10-23T18:02:59.143131Z","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"DEBIAN-CVE-2018-13797"}],"affected":[{"ecosystem":"Debian:12","package":"node-macaddress","purl":"pkg:deb/debian/node-macaddress?arch=source&distro=bookworm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.2.9-1"}]}],"fixed":["0.2.9-1"],"provider":"osv","source":"DEBIAN-CVE-2018-13797","relation":"self"},{"ecosystem":"Debian:13","package":"node-macaddress","purl":"pkg:deb/debian/node-macaddress?arch=source&distro=trixie","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.2.9-1"}]}],"fixed":["0.2.9-1"],"provider":"osv","source":"DEBIAN-CVE-2018-13797","relation":"self"},{"ecosystem":"Debian:14","package":"node-macaddress","purl":"pkg:deb/debian/node-macaddress?arch=source&distro=forky","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.2.9-1"}]}],"fixed":["0.2.9-1"],"provider":"osv","source":"DEBIAN-CVE-2018-13797","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2018-13797"}]},{"provider":"osv","source_id":"GHSA-pp57-mqmh-44h7","relation":"self","url":"https://osv.dev/vulnerability/GHSA-pp57-mqmh-44h7","license":"CC-BY-4.0","published_at":"2018-09-06T23:24:21Z","modified_at":"2023-11-08T03:59:54.364978Z","summary":"Command Injection in macaddress","details":"All versions of `macaddress` are vulnerable to command injection. For this vulnerability to be exploited an attacker needs to control the `iface` argument to the `one` method.\n\n\n## Recommendation\n\nUpdate to version 0.2.9 or later.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"GHSA-pp57-mqmh-44h7"}],"affected":[{"ecosystem":"npm","package":"macaddress","purl":"pkg:npm/macaddress","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.2.9"}]}],"fixed":["0.2.9"],"provider":"osv","source":"GHSA-pp57-mqmh-44h7","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-13797"},{"type":"WEB","url":"https://github.com/scravy/node-macaddress/pull/20"},{"type":"WEB","url":"https://github.com/scravy/node-macaddress/commit/358fd594adb196a86b94ac9c691f69fe5dad2332"},{"type":"WEB","url":"https://hackerone.com/reports/319467"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-pp57-mqmh-44h7"},{"type":"PACKAGE","url":"https://github.com/scravy/node-macaddress"},{"type":"WEB","url":"https://github.com/scravy/node-macaddress/releases/tag/0.2.9"},{"type":"WEB","url":"https://news.ycombinator.com/item?id=17283394"},{"type":"WEB","url":"https://www.npmjs.com/advisories/654"}]},{"provider":"osv","source_id":"UBUNTU-CVE-2018-13797","relation":"self","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2018-13797","license":"CC-BY-SA-4.0","published_at":"2018-07-10T12:29:00Z","modified_at":"2025-10-24T04:47:08Z","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"UBUNTU-CVE-2018-13797"},{"type":"Ubuntu","score":"medium","source":"UBUNTU-CVE-2018-13797"}],"affected":[{"ecosystem":"Ubuntu:18.04:LTS","package":"node-macaddress","purl":"pkg:deb/ubuntu/node-macaddress@0.2.8-2?arch=source&distro=bionic","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.2.8-1","0.2.8-2"],"provider":"osv","source":"UBUNTU-CVE-2018-13797","relation":"self"}],"product_status":[],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-13797"},{"type":"REPORT","url":"https://github.com/scravy/node-macaddress/pull/20"},{"type":"REPORT","url":"https://github.com/scravy/node-macaddress/commit/358fd594adb196a86b94ac9c691f69fe5dad2332"},{"type":"REPORT","url":"https://github.com/scravy/node-macaddress/pull/20/"},{"type":"REPORT","url":"https://github.com/scravy/node-macaddress/releases/tag/0.2.9"},{"type":"REPORT","url":"https://news.ycombinator.com/item?id=17283394"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-13797"}]},{"provider":"redhat-vex","source_id":"CVE-2018-13797","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2018-13797","license":"CC-BY-4.0","published_at":"2018-06-11T00:00:00Z","modified_at":"2024-06-04T10:50:20Z","summary":"nodejs-macaddress: improper input validation leading to command injection","details":"A flaw was found in nodejs-macaddress. The module allows unsanitized input to an exec call which can lead to an arbitrary command injection flaw. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"CVE-2018-13797"},{"type":"Red Hat","score":"Critical","source":"CVE-2018-13797"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Management for Kubernetes 2","cpe":"cpe:/a:redhat:acm:2","status":"not_affected","packages":["rhacm2/console-ui-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2018-13797"},{"vendor":"Red Hat","product":"Red Hat Quay 3","cpe":"cpe:/a:redhat:quay:3","status":"affected","packages":["quay/quay-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2018-13797"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2018/cve-2018-13797.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2018-13797"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1940750"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2018-13797"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-13797"}]}],"references":[{"type":"WEB","url":"https://github.com/scravy/node-macaddress/pull/20/"},{"type":"WEB","url":"https://github.com/scravy/node-macaddress/commit/358fd594adb196a86b94ac9c691f69fe5dad2332"},{"type":"WEB","url":"https://github.com/scravy/node-macaddress/releases/tag/0.2.9"},{"type":"WEB","url":"https://news.ycombinator.com/item?id=17283394"},{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2018-13797"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-13797"},{"type":"WEB","url":"https://github.com/scravy/node-macaddress/pull/20"},{"type":"WEB","url":"https://hackerone.com/reports/319467"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-pp57-mqmh-44h7"},{"type":"PACKAGE","url":"https://github.com/scravy/node-macaddress"},{"type":"WEB","url":"https://www.npmjs.com/advisories/654"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-13797"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-13797"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2018/cve-2018-13797.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2018-13797"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1940750"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2018-13797","url":"https://www.cve.org/CVERecord?id=CVE-2018-13797","license":"CC-BY-4.0","modified_at":"2024-09-16T23:46:07.363Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2018-13797","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-13797","relation":"self"},{"provider":"osv","source_id":"DEBIAN-CVE-2018-13797","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2018-13797","modified_at":"2026-10-23T18:02:59.143131Z","relation":"self"},{"provider":"osv","source_id":"GHSA-pp57-mqmh-44h7","url":"https://osv.dev/vulnerability/GHSA-pp57-mqmh-44h7","license":"CC-BY-4.0","modified_at":"2023-11-08T03:59:54.364978Z","relation":"self"},{"provider":"osv","source_id":"UBUNTU-CVE-2018-13797","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2018-13797","license":"CC-BY-SA-4.0","modified_at":"2025-10-24T04:47:08Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2018-13797","url":"https://access.redhat.com/security/cve/CVE-2018-13797","license":"CC-BY-4.0","modified_at":"2024-06-04T10:50:20Z","relation":"self"}]}
