PT-2024-4625
CVE-2024-36138
·
تاريخ النشر
2024-07-08
·
تاريخ التحديث
2026-09-18
الوصف من
CVSS 2.0
10
عاليةالمقاييسAV:N/AC:L/Au:N/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions:
Node.js versions up to 18.20.3
Node.js versions up to 20.15.0
Node.js versions up to 22.4.0
Description:
The issue arises from improper handling of batch files with all possible extensions on Windows via
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. This allows a remote attacker to execute arbitrary commands.Recommendations:
For Node.js versions up to 18.20.3, update to a version higher than 18.20.3 to resolve the issue.
For Node.js versions up to 20.15.0, update to a version higher than 20.15.0 to resolve the issue.
For Node.js versions up to 22.4.0, update to a version higher than 22.4.0 to resolve the issue.
As a temporary workaround, consider disabling the use of
child process.spawn and child process.spawnSync functions until a patch is available. وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾