PT-2024-5241

CVE-2024-27980

·

Published

2024-02-29

·

Updated

2026-11-02

Description by

CVSS 2.0
10
High
MetricsAV:N/AC:L/Au:N/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions: Node.js versions 18.x, 20.x, and 21.x
Description: The issue is related to the improper handling of batch files in child process.spawn and child process.spawnSync on Windows platforms. This allows a malicious command line argument to inject arbitrary commands and achieve code execution, even if the shell option is not enabled. The estimated number of potentially affected devices is not specified. There is no information about real-world incidents where this issue was exploited.
Recommendations: For Node.js versions 18.x, 20.x, and 21.x, update to a version that includes the fix for this issue. As a temporary workaround, consider disabling the child process.spawn function until a patch is available. Restrict access to the child process.spawnSync function to minimize the risk of exploitation. Avoid using the args parameter in the affected child process.spawn function until the issue is resolved.
Exploitability
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
ALT-PU-2024-7199
BIT-NODE-2024-27980
BIT-NODE-MIN-2024-27980
OPENSUSE-SU-2024:14025-1
OPENSUSE-SU-2024:14214-1
OPENSUSE-SU-2024_2542-1
SUSE-SU-2024:2496-1
SUSE-SU-2024:2542-1
SUSE-SU-2024:2543-1
SUSE-SU-2024:2574-1
Found an issue in the description? Have something to add? Feel free to write us 👾