{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-21488","id":"CVE-2024-21488","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.","descriptionLong":"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.","published":"2024-01-30T05:00:01.547Z","updated":"2026-10-28T02:30:46.476471392Z","reserved":"2023-12-22T12:33:20.118Z","status":"Modified","rejected":false,"assigner":"snyk","metric":{"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","rating":"high","source":"snyk"},"metrics":[{"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","rating":"high","source":"snyk"},{"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","rating":"high","source":"snyk.io"},{"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","rating":"critical","source":"NVD"},{"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","rating":"high","source":"OSV"},{"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","rating":"high","source":"GitHub"}],"rating":"high","products":["network","org.webjars.npm:network"],"affectedProducts":[{"vendor":"n/a","product":"network","defaultStatus":null,"versions":[{"version":"0","lessThan":"0.7.0","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"n/a","product":"org.webjars.npm:network","defaultStatus":null,"versions":[{"version":"0","lessThan":"*","status":"affected","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"network","purl":"pkg:npm/network","ranges":["<0.7.0"],"fixed":["0.7.0"],"advisory":"GHSA-vvh2-82c7-ppfg"}],"cwes":["CWE-77"],"aliases":["GHSA-vvh2-82c7-ppfg"],"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://github.com/CVEProject/cvelistV5/tree/main/cves/2024/21xxx/CVE-2024-21488.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21488","tags":["advisory"]},{"url":"https://github.com/tomas/network","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total"},"epss":0.03302,"epssPercentile":0.88824,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-21488","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21488","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-21488","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-vvh2-82c7-ppfg","ok":true,"note":"GHSA-vvh2-82c7-ppfg"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-21488","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}