Vulnerability · Published Jan 30, 2024 · Assigned by snyk

CVE-2024-21488

High 7.3

In plain English

A high-severity command injection in network. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 3.3% (higher than 89% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.3High
Exploit odds (30 days)3.3%top 11.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmnetwork0.7.0GHSA-vvh2-82c7-ppfg

Affected products (as reported)

VendorProductVersions
n/a network 0 – before 0.7.0
n/a org.webjars.npm:network 0 – before *

Weakness: CWE-77 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P

References