CVE-2024-21488
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.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (3.30%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 3.30% probability · 88th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-77
- Affected
- forkhq/network
- Source
- report@snyk.io
References
- https://gist.github.com/icemonster/282ab98fb68fc22aac7c576538f6369cExploit, Mitigation, Third Party Advisory
- https://github.com/tomas/network/commit/5599ed6d6ff1571a5ccadea775430c131f381de7Patch
- https://github.com/tomas/network/commit/6ec8713580938ab4666df2f2d0f3399891ed2ad7Patch
- https://github.com/tomas/network/commit/72c523265940fe279eb0050d441522628f8988e5Patch
- https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-11426552
- https://security.snyk.io/vuln/SNYK-JS-NETWORK-6184371Exploit, Third Party Advisory
- https://gist.github.com/icemonster/282ab98fb68fc22aac7c576538f6369cExploit, Mitigation, Third Party Advisory
- https://github.com/tomas/network/commit/5599ed6d6ff1571a5ccadea775430c131f381de7Patch
- https://github.com/tomas/network/commit/6ec8713580938ab4666df2f2d0f3399891ed2ad7Patch
- https://github.com/tomas/network/commit/72c523265940fe279eb0050d441522628f8988e5Patch
- https://security.snyk.io/vuln/SNYK-JS-NETWORK-6184371Exploit, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.