CVE-2024-21488
CWE-77Published: January 30, 2024· Updated: Jul 4, 2026
Official Description
Versions of the package network before 0.7.0 are vulnerable to Arbitrary Command Injection due to use of the child_process exec function without input sanitization. If (attacker-controlled) user input is given to the mac_address_for function of the package, it is possible for the attacker to execute arbitrary commands on the operating system that this package is being run on.
Risk Analysis
The network package for Node.js is vulnerable to arbitrary command injection because it fails to sanitize user input before passing it to the system shell. This critical flaw allows remote attackers to execute commands on the host operating system, warranting a CVSS score of 9.8.
There is no known public exploit for this vulnerability, and it is not currently listed in the CISA KEV catalog.
Developers must update the network package to version 0.7.0 or later to remediate the command injection vulnerability.
Technical Analysis
CVE-2024-21488 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.
The vulnerability requires no privileges and no user interaction, making it a prime target for automated exploitation campaigns and worm-like propagation.
A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), availability disruption (denial of service), with a CVSS base score of 9.8.
CVSS v3.1 Vector Breakdown
Affected Vendors & Products
Exploit & PoC Resources
Official Patches & Advisories
All References (11)
Quick Facts
Related CVEs (CWE-77)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2024-21488 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts