CVE-2024-27980: NodeJS Command injection via args parameter of child_process.spawn without shell option enabled on Windows (CVE-2024-27980)
Due to the improper handling of batch files in childprocess.spawn / childprocess.spawnSync, a malicious command line argument can inject arbitrary commands and achieve code execution even if the shell option is not enabled.
Other sources
Node.js could allow a remote attacker to execute arbitrary commands on the system, caused by the improper handling of batch files in childprocess.spawn / childprocess.spawnSync. By sending a specially crafted command line argument using args parameter, an attacker could exploit this vulnerability to inject and execute arbitrary commands on the system.
— IBM
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2024-27980?
CVE-2024-27980 is rated as a high-severity vulnerability due to its potential for arbitrary code execution.
How do I fix CVE-2024-27980?
To mitigate CVE-2024-27980, apply the patches available for affected versions of IBM Cognos Analytics.
Which versions of IBM Cognos Analytics are affected by CVE-2024-27980?
CVE-2024-27980 affects IBM Cognos Analytics versions 11.2.0 to 11.2.4 FP4 and 12.0.0 to 12.0.3.
Can CVE-2024-27980 be exploited remotely?
Yes, CVE-2024-27980 can be exploited remotely by an attacker through crafted malicious command line arguments.
What causes the vulnerability in CVE-2024-27980?
CVE-2024-27980 is caused by improper handling of batch files in Node.js's child_process functions, allowing command injection.