{"api_version":"1","generated_at":"2026-07-04T18:20:03+00:00","cve":"CVE-2024-21488","urls":{"html":"https://cve.report/CVE-2024-21488","api":"https://cve.report/api/cve/CVE-2024-21488.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-21488","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-21488"},"summary":{"title":"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.","state":"PUBLISHED","assigner":"snyk","published_at":"2024-01-30 05:15:09","updated_at":"2026-07-04 16:17:12"},"problem_types":["CWE-77","CWE-77 Arbitrary Command Injection"],"metrics":[{"version":"3.1","source":"nvd@nist.gov","type":"Primary","score":"9.8","severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":9.8,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.1","source":"report@snyk.io","type":"Secondary","score":"7.3","severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","baseScore":7.3,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"LOW"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"7.3","severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P","data":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":7.3,"baseSeverity":"HIGH","confidentialityImpact":"LOW","exploitCodeMaturity":"PROOF_OF_CONCEPT","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P","version":"3.1"}}],"references":[{"url":"https://github.com/tomas/network/commit/6ec8713580938ab4666df2f2d0f3399891ed2ad7","name":"https://github.com/tomas/network/commit/6ec8713580938ab4666df2f2d0f3399891ed2ad7","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"Ensure valid nic in darwin too · tomas/network@6ec8713 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/tomas/network/commit/72c523265940fe279eb0050d441522628f8988e5","name":"https://github.com/tomas/network/commit/72c523265940fe279eb0050d441522628f8988e5","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"Remove unneeded require in win32 · tomas/network@72c5232 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://gist.github.com/icemonster/282ab98fb68fc22aac7c576538f6369c","name":"https://gist.github.com/icemonster/282ab98fb68fc22aac7c576538f6369c","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit","Mitigation","Third Party Advisory"],"title":"Vulnerability found in NPM package - network · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/tomas/network/commit/5599ed6d6ff1571a5ccadea775430c131f381de7","name":"https://github.com/tomas/network/commit/5599ed6d6ff1571a5ccadea775430c131f381de7","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"Validate nic name under linux · tomas/network@5599ed6 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://security.snyk.io/vuln/SNYK-JS-NETWORK-6184371","name":"https://security.snyk.io/vuln/SNYK-JS-NETWORK-6184371","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit","Third Party Advisory"],"title":"Arbitrary Command Injection in network | CVE-2024-21488 | Snyk","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-11426552","name":"https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-11426552","refsource":"report@snyk.io","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-21488","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21488","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"network","version":"affected 0.7.0 semver","platforms":[]},{"source":"CNA","vendor":"n/a","product":"org.webjars.npm:network","version":"affected * semver","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"CNA","value":"NodeMedic-FINE","lang":"en"}],"nvd_cpes":[{"cve_year":"2024","cve_id":"21488","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"forkhq","cpe5":"network","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"node.js","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2024-21488","qid":"997000","title":"NodeJs (Npm) Security Update for network (GHSA-vvh2-82c7-ppfg)"}]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-01T22:20:40.579Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"tags":["x_transferred"],"url":"https://security.snyk.io/vuln/SNYK-JS-NETWORK-6184371"},{"tags":["x_transferred"],"url":"https://gist.github.com/icemonster/282ab98fb68fc22aac7c576538f6369c"},{"tags":["x_transferred"],"url":"https://github.com/tomas/network/commit/72c523265940fe279eb0050d441522628f8988e5"},{"tags":["x_transferred"],"url":"https://github.com/tomas/network/commit/6ec8713580938ab4666df2f2d0f3399891ed2ad7"},{"tags":["x_transferred"],"url":"https://github.com/tomas/network/commit/5599ed6d6ff1571a5ccadea775430c131f381de7"}],"title":"CVE Program Container"},{"metrics":[{"other":{"content":{"id":"CVE-2024-21488","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","timestamp":"2024-01-30T14:15:34.764222Z","version":"2.0.3"},"type":"ssvc"}}],"providerMetadata":{"dateUpdated":"2025-06-17T21:29:18.642Z","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP"},"title":"CISA ADP Vulnrichment"}],"cna":{"affected":[{"product":"network","vendor":"n/a","versions":[{"lessThan":"0.7.0","status":"affected","version":"0","versionType":"semver"}]},{"product":"org.webjars.npm:network","vendor":"n/a","versions":[{"lessThan":"*","status":"affected","version":"0","versionType":"semver"}]}],"credits":[{"lang":"en","value":"NodeMedic-FINE"}],"descriptions":[{"lang":"en","value":"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."}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":7.3,"baseSeverity":"HIGH","confidentialityImpact":"LOW","exploitCodeMaturity":"PROOF_OF_CONCEPT","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-77","description":"Arbitrary Command Injection","lang":"en"}]}],"providerMetadata":{"dateUpdated":"2026-07-04T15:25:05.032Z","orgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730","shortName":"snyk"},"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-NETWORK-6184371"},{"url":"https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-11426552"},{"url":"https://gist.github.com/icemonster/282ab98fb68fc22aac7c576538f6369c"},{"url":"https://github.com/tomas/network/commit/72c523265940fe279eb0050d441522628f8988e5"},{"url":"https://github.com/tomas/network/commit/6ec8713580938ab4666df2f2d0f3399891ed2ad7"},{"url":"https://github.com/tomas/network/commit/5599ed6d6ff1571a5ccadea775430c131f381de7"}]}},"cveMetadata":{"assignerOrgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730","assignerShortName":"snyk","cveId":"CVE-2024-21488","datePublished":"2024-01-30T05:00:01.547Z","dateReserved":"2023-12-22T12:33:20.118Z","dateUpdated":"2026-07-04T15:25:05.032Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2024-01-30 05:15:09","lastModifiedDate":"2026-07-04 16:17:12","problem_types":["CWE-77","CWE-77 Arbitrary Command Injection"],"metrics":{"cvssMetricV31":[{"source":"report@snyk.io","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","baseScore":7.3,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"LOW"},"exploitabilityScore":3.9,"impactScore":3.4},{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":9.8,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":5.9}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2024-01-30T14:15:34.764222Z","id":"CVE-2024-21488","options":[{"exploitation":"poc"},{"automatable":"no"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:forkhq:network:*:*:*:*:*:node.js:*:*","versionEndExcluding":"0.7.0","matchCriteriaId":"D7E1F6C0-7EF1-4EE0-9BEE-BD4B94EA0B33"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2024","CveId":"21488","Ordinal":"1","Title":"CVE-2024-21488","CVE":"CVE-2024-21488","Year":"2024"},"notes":[{"CveYear":"2024","CveId":"21488","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"CVE-2024-21488"}]}}}