CVE-2024-21488
CRITICAL 9.8CVSS 3.1network Arbitrary Command Injection vulnerability
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.
- Published
- 30 Jan 2024
- Last modified
- 4 Jul 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-77
- Also known as
- GHSA-vvh2-82c7-ppfg
- Sources
- NVDJSONOSV GHSA-vvh2-82c7-ppfgJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | forkhq | networkcpe:2.3:a:forkhq:network:*:*:*:*:*:node.js:*:* |
< 0.7.0 | 0.7.0 |
| OSV | npm | network | < 0.7.0 | 0.7.0 |
References
- https://gist.github.com/icemonster/282ab98fb68fc22aac7c576538f6369c · Exploit, Mitigation, Third Party Advisory, WEB
- https://github.com/tomas/network/commit/5599ed6d6ff1571a5ccadea775430c131f381de7 · Patch, WEB
- https://github.com/tomas/network/commit/6ec8713580938ab4666df2f2d0f3399891ed2ad7 · Patch, WEB
- https://github.com/tomas/network/commit/72c523265940fe279eb0050d441522628f8988e5 · Patch, WEB
- https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-11426552
- https://security.snyk.io/vuln/SNYK-JS-NETWORK-6184371 · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-21488 · ADVISORY
- https://github.com/tomas/network · PACKAGE
History
- 25 Nov 2026 20:54 UTC · NVD: first stored (published 30 Jan 2024)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 30 Jan 2024)