Skip to content
OpenAdvisories
Critical · 9.8 Public exploit CVE-2018-13797 EUVD-2018-0463GHSA-pp57-mqmh-44h7

Command Injection in macaddress

Published Jul 10, 2018 · Updated Sep 16, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 node-macaddress 0.2.9-1 —
Debian 13 node-macaddress 0.2.9-1 —
Debian 12 node-macaddress 0.2.9-1 —
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS node-macaddress No fix yet —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
npm macaddress < 0.2.9 0.2.9 GHSA-pp57-mqmh-44h7

References