CVE-2018-13797
CRITICAL 9.8CVSS 3.0Command Injection in macaddress
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
- 10 Jul 2018
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-78
- Also known as
- GHSA-pp57-mqmh-44h7
- Sources
- NVDJSONOSV GHSA-pp57-mqmh-44h7JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | node-macaddress_project | node-macaddresscpe:2.3:a:node-macaddress_project:node-macaddress:*:*:*:*:*:node.js:*:* |
< 0.2.9 | 0.2.9 |
| OSV | npm | macaddress | < 0.2.9 | 0.2.9 |
References
- https://github.com/scravy/node-macaddress/commit/358fd594adb196a86b94ac9c691f69fe5dad2332 · Patch, Third Party Advisory, WEB
- https://github.com/scravy/node-macaddress/pull/20/ · Third Party Advisory, WEB
- https://github.com/scravy/node-macaddress/releases/tag/0.2.9 · Patch, Release Notes, Third Party Advisory, WEB
- https://news.ycombinator.com/item?id=17283394 · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2018-13797 · ADVISORY
- https://hackerone.com/reports/319467 · WEB
- https://github.com/advisories/GHSA-pp57-mqmh-44h7 · ADVISORY
- https://github.com/scravy/node-macaddress · PACKAGE
- https://www.npmjs.com/advisories/654 · WEB
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 10 Jul 2018)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 6 Sep 2018)