CVE-2024-21488 json
network Arbitrary Command Injection vulnerability
published 2024-01-30 2 y ago modified 2026-07-26 3 mo ago also GHSA-vvh2-82c7-ppfg , EUVD-2024-0440
- cvss
- 7.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.3%
- EPSS 3.3% chance of exploitation in 30 days, percentile 88%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm network 0.7.0
- n/a network 0.7.0
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction
3.30% chance of exploitation in the next 30 days, higher than 88% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- security.snyk.io https://security.snyk.io/vuln/SNYK-JS-NETWORK-6184371 referenced PoC, tagged "exploit" by a source, unverified
- gist.github.com https://gist.github.com/icemonster/282ab98fb68fc22aac7c576538f6369c referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P |
| CNA | 3.1 | 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | network | <0.7.0 |
0.7.0 |
Affected products
- n/a network
- n/a org.webjars.npm:network
Classification
- Weakness
-
- CWE-77 Improper Neutralization of Special Elements used in a Command
References
-
github.com
/tomas/network/commit/72c523265940fe279eb0050d441522628f8988e5
web, patch
-
github.com
/tomas/network/commit/6ec8713580938ab4666df2f2d0f3399891ed2ad7
web, patch
-
github.com
/tomas/network/commit/5599ed6d6ff1571a5ccadea775430c131f381de7
web, patch
-
security.snyk.io
/vuln/SNYK-JS-NETWORK-6184371
web, exploit, third-party-advisory
-
gist.github.com
/icemonster/282ab98fb68fc22aac7c576538f6369c
web, exploit, mitigation, third-party-advisory
- security.snyk.io /vuln/SNYK-JAVA-ORGWEBJARSNPM-11426552
-
nvd.nist.gov
/vuln/detail/CVE-2024-21488
advisory
-
github.com
/tomas/network
package
Sources
- CVE List CVE-2024-21488
- GitHub Advisory GHSA-vvh2-82c7-ppfg
- NVD CVE-2024-21488
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.