CVE-2024-21488: Versions of the package network before 0.7.0 are vulnerable to Arbitrary Command Injection due to use of th...
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.
Security readout for executives and security teams
Plain-English summary
CVE-2024-21488 affects the npm package network before 0.7.0, including the WebJars npm coordinate. If an application passes attacker-controlled input into mac_address_for, that input can reach an operating-system command execution path. Business impact depends on whether the vulnerable function is reachable from untrusted users.
Executive priority
Treat this as high priority for applications that use the affected package in reachable request paths. Command injection can become server compromise, but urgency should be based on actual dependency presence and reachability.
Technical view
The issue is CWE-77 command injection caused by child_process exec use without input sanitization in mac_address_for. The CVSS 3.1 score is 7.3 high, with network attack vector, low complexity, no privileges, and no user interaction. Sources indicate partial confidentiality, integrity, and availability impact.
Likely exposure
Exposure is likely in applications using network before 0.7.0, or org.webjars.npm:network, where untrusted input can influence calls to mac_address_for. Dependency-only presence may be lower risk if that function is not reachable.
Exploitation context
The source bundle does not show CISA KEV listing or confirmed active exploitation. It does indicate exploit maturity as proof-of-concept and includes a public gist reference, so defenders should treat reachable deployments as urgent.
Researcher notes
Key evidence comes from the CVE description, Snyk advisories, and linked fix commits. The bundle names the vulnerable function and root cause, but does not provide enough evidence to claim broad exploitation or identify all downstream products.
Mitigation direction
Upgrade network to 0.7.0 or later where available.
Update org.webjars.npm:network according to Snyk and vendor guidance.
Block untrusted input from reaching mac_address_for.
Remove the dependency if the application does not need it.
Prioritize internet-facing services and privileged runtime environments first.
Validation and detection
Search package manifests and lockfiles for network and org.webjars.npm:network.
Confirm installed versions are not below 0.7.0.
Review code paths that call mac_address_for.
Check whether user-controlled data can reach that function.
Run dependency scanning against the cited Snyk advisories.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · medium confidence lookup
CWE-77: Command execution behavior lookup
Command injection weaknesses can lead defenders to review execution techniques and command interpreter telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
1CVSS vectors
3Timeline events
2ADP providers
7Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: pocAutomatable: noTechnical Impact: total
CVSS vector scores
1 official score
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-77 · source CWE mapping
Improper Neutralization of Special Elements used in a Command ('Command Injection')
Improper Neutralization of Special Elements used in a Command ('Command Injection') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.