CVE-2024-21488
Summary
| CVE | CVE-2024-21488 |
|---|---|
| State | PUBLISHED |
| Assigner | snyk |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2024-01-30 05:15:09 UTC |
| Updated | 2026-07-04 16:17:12 UTC |
| 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 And Classification
Primary CVSS: v3.1 9.8 CRITICAL from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Problem Types: CWE-77 | CWE-77 Arbitrary Command Injection
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 9.8 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | [email protected] | Secondary | 7.3 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| 3.1 | CNA | DECLARED | 7.3 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD Known Affected Configurations (CPE 2.3)
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Na | Network | affected 0.7.0 semver | Not specified |
| CNA | Na | Org.webjars.npmnetwork | affected * semver | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Ensure valid nic in darwin too · tomas/network@6ec8713 · GitHub | af854a3a-2127-422b-91ae-364da2661108 | github.com | Patch |
| Remove unneeded require in win32 · tomas/network@72c5232 · GitHub | af854a3a-2127-422b-91ae-364da2661108 | github.com | Patch |
| Vulnerability found in NPM package - network · GitHub | af854a3a-2127-422b-91ae-364da2661108 | gist.github.com | Exploit, Mitigation, Third Party Advisory |
| Validate nic name under linux · tomas/network@5599ed6 · GitHub | af854a3a-2127-422b-91ae-364da2661108 | github.com | Patch |
| Arbitrary Command Injection in network | CVE-2024-21488 | Snyk | af854a3a-2127-422b-91ae-364da2661108 | security.snyk.io | Exploit, Third Party Advisory |
| security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-11426552 | [email protected] | security.snyk.io | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: NodeMedic-FINE (en)
Legacy QID Mappings
- 997000 NodeJs (Npm) Security Update for network (GHSA-vvh2-82c7-ppfg)