北京赛克艾威科技有限公司 2024-04-12
近日,赛克艾威网络安全实验室监测到Node.js child_process.spawn Windows命令注入漏洞情报。由于Node.js 在处理 Windows 批处理文件时,未正确转义参数。攻击者可能利用该漏洞。
攻击者可能利用该漏洞,通过传入恶意的命令行参数,使 child_process 模块在执行时不正确地处理参数,执行额外的系统命令。
node.js@[20.0.0, 20.12.2)
node.js@[21.0.0, 21.7.3)
node.js@[18.0, 18.20.2)
将 Node.js 升级至 21.7.3 及以上版本
将 Node.js 升级至 18.20.2 及以上版本
将 Node.js 升级至 20.12.2 及以上版本