CVE-2024-21488: network · Arbitrary Command Injection
Affects networkSource CVE Database V5
Not known to be exploited · CVSS 7.3 High : upgrade to 0.7.0 soon.
Data as of 26 Oct 2026, 07:57 UTC
- EPSS
- 3.3% chance of exploitation in 30 days – higher than 88% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 0.7.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:PExploitation evidence
Disclosed: evidence found.
CVE published 30 Jan 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.
What to do
Upgrade network to 0.7.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
npmnetworkpkg:npm/networkOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
If you cannot patch yet, avoid using untrusted input with the mac_address_for function or apply manual input sanitization to prevent command injection.
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.
References
- security.snyk.io/vuln/SNYK-JS-NETWORK-6184371 (opens in a new tab)
- security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-11426552 (opens in a new tab)
- gist.github.com/icemonster/282ab98fb68fc22aac7c576538f6369c (opens in a new tab)
- github.com/tomas/network/commit/72c523265940fe279eb0050d441522628f8988e5 (opens in a new tab)
- github.com/tomas/network/commit/6ec8713580938ab4666df2f2d0f3399891ed2ad7 (opens in a new tab)
- github.com/tomas/network/commit/5599ed6d6ff1571a5ccadea775430c131f381de7 (opens in a new tab)