CVE-2024-21488
Forkhq Network 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.
Affected products
Network. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Forkhq Network runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/tomas/network/commit/5599ed6d6ff1571a5ccadea775430c131f381de7 · Patch
- github.com/tomas/network/commit/6ec8713580938ab4666df2f2d0f3399891ed2ad7 · Patch
- github.com/tomas/network/commit/72c523265940fe279eb0050d441522628f8988e5 · Patch
- gist.github.com/icemonster/282ab98fb68fc22aac7c576538f6369c · Exploit
- security.snyk.io/vuln/SNYK-JS-NETWORK-6184371 · Exploit
- security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-11426552
- nvd.nist.gov/vuln/detail/CVE-2024-21488
- cve.org/CVERecord?id=CVE-2024-21488
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.