{"id":"CVE-2024-27980","published":"2025-01-09T00:33:47Z","modified":"2025-04-30T22:25:25Z","title":"Due to the improper handling of batch files in child_process.spawn / child_process.spawnSync, a malicious command line…","vendor":"NodeJS","product":"Node","tier":"tail","description":{"text":"Due to the improper handling of batch files in child_process.spawn / child_process.spawnSync, a malicious command line argument can inject arbitrary commands and achieve code execution even if the shell option is not enabled.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.0","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01402,"percentile":0.73197,"provenance":"source"},"cwes":[{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"}],"references":[{"url":"http://www.openwall.com/lists/oss-security/2024/04/10/15","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2024/07/11/6","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2024/07/19/3","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5MZN6PFXHTCCUENAKZXTGWPKUAHI6E2W/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JUWBYDVCUSCX7YWTBX75LADMCVYFBGKU/","tags":[]}],"priority":{"score":20.3,"factors":[{"name":"EPSS percentile","points":14.64},{"name":"CVSS severity","points":5.67}]},"vendorSlug":"nodejs","affectedVersions":[{"vendor":"NodeJS","product":"Node","versions":[">= 4.0, < 4.*",">= 5.0, < 5.*",">= 6.0, < 6.*",">= 7.0, < 7.*",">= 8.0, < 8.*",">= 9.0, < 9.*",">= 10.0, < 10.*",">= 11.0, < 11.*",">= 12.0, < 12.*",">= 13.0, < 13.*"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-01-09T21:31:55.670251Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-25154","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-nodejs-node-cve-2024-36138","children":[{"from":"CVE-2024-27980","to":"CVE-2024-36138","relation":"incomplete-fix","confidence":"high","kind":"lineage","orderedBy":"description","evidence":[{"kind":"text","provenance":"source","relation":"incomplete-fix","quote":"Bypass incomplete fix of CVE-2024-27980, that arises from improper handling of batch files with all possible extensions on Windows via child_process.spawn / child_process.spawnSync.","from":"CVE.org","in":"CVE-2024-36138"},{"kind":"similar","provenance":"machine","score":0.91,"basis":"same product + CWE + description similarity"}]}]}}