{"id":"CVE-2024-21488","aliases":["EUVD-2024-0440","GHSA-vvh2-82c7-ppfg"],"status":"published","title":"network Arbitrary Command Injection vulnerability","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.","severity":{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.03302,"percentile":0.88699,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-77"],"published":"2024-01-30T05:00:01Z","modified":"2026-10-28T02:30:46Z","fixes":[{"ecosystem":"npm","package":"network","fixed_in":["0.7.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"network","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.7.0"}]}]},{"source":"osv","ecosystem":"npm","package":"network","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.7.0"}]}]}],"products":[{"vendor":"cloudburstmc","product":"network"},{"vendor":"forkhq","product":"network"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-NETWORK-6184371","tags":["x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-11426552","tags":["web"]},{"url":"https://gist.github.com/icemonster/282ab98fb68fc22aac7c576538f6369c","tags":["x_transferred","Exploit","Mitigation","Third Party Advisory","web"]},{"url":"https://github.com/tomas/network/commit/72c523265940fe279eb0050d441522628f8988e5","tags":["x_transferred","Patch","fix","web"]},{"url":"https://github.com/tomas/network/commit/6ec8713580938ab4666df2f2d0f3399891ed2ad7","tags":["x_transferred","Patch","fix","web"]},{"url":"https://github.com/tomas/network/commit/5599ed6d6ff1571a5ccadea775430c131f381de7","tags":["x_transferred","Patch","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21488","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-vvh2-82c7-ppfg"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/21xxx/CVE-2024-21488.json","tags":["advisory"]},{"url":"https://github.com/tomas/network","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2024-21488","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.","status":"published","published":"2024-01-30T05:00:01.547Z","modified":"2026-07-26T15:25:10.967Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P","level":"high","assessor":"cna"}],"cwes":["CWE-77"],"updated_at":"2026-11-02T14:34:04.681315Z"}],"euvd":[{"id":"EUVD-2024-0440","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.","status":"published","published":"2024-01-30T05:00:01Z","modified":"2026-07-26T15:25:10Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P","level":"high"}],"updated_at":"2026-11-02T18:19:38.034212Z"}],"ghsa":[{"id":"GHSA-vvh2-82c7-ppfg","title":"network Arbitrary Command Injection vulnerability","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 an attacker to execute arbitrary commands on the operating system that this package is being run on.","status":"published","published":"2024-01-30T06:30:23Z","modified":"2024-01-30T18:43:06Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"high"}],"cwes":["CWE-77"],"updated_at":"2026-11-02T14:37:33.019154Z"}],"nvd":[{"id":"CVE-2024-21488","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.","status":"published","published":"2024-01-30T05:15:09.277Z","modified":"2026-07-04T16:17:12.927Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"high","assessor":"secondary"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"}],"cwes":["CWE-77"],"updated_at":"2026-11-02T14:09:34.891666Z"}],"osv":[{"id":"CVE-2024-21488","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.","status":"published","published":"2024-01-30T05:00:01.547Z","modified":"2026-10-28T02:30:46.476471392Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P","level":"high"}],"cwes":["CWE-77"],"updated_at":"2026-11-02T15:44:38.577405Z"},{"id":"GHSA-vvh2-82c7-ppfg","title":"network Arbitrary Command Injection vulnerability","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 an attacker to execute arbitrary commands on the operating system that this package is being run on.","status":"published","published":"2024-01-30T06:30:23Z","modified":"2024-01-30T18:56:40.784372Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"high"}],"cwes":["CWE-77"],"updated_at":"2026-11-02T15:46:57.694388Z"}]}}
