🌐 Nodejs.cn
security

2025年6月安全更新

Ulises GascónJuly 18, 2025

Express 团队发布了 Multer 的新补丁版本,解决了一个高严重性漏洞,该漏洞可能导致拒绝服务(DoS)攻击。

🌐 The Express team has released a new patch version of Multer, addressing a high-severity vulnerability that could lead to a Denial of Service (DoS) attack.

Warning

我们强烈建议所有用户立即升级到 Multer v2.0.1 或更高版本。

此版本修复了以下漏洞:

🌐 This release addresses the following vulnerability:

Multer 中间件中的高严重性漏洞 CVE-2025-48997

🌐 High severity vulnerability CVE-2025-48997 in Multer middleware

Multer 版本 >=1.4.4-lts.1<2.0.1 易受到拒绝服务 (DoS) 攻击的影响。

攻击者可以通过发送带有空字符串作为字段名称的上传请求来触发此漏洞。这个格式错误的请求会导致未处理的异常,从而导致服务器进程崩溃。

🌐 An attacker can trigger this vulnerability by sending an upload request with an empty string as the field name. This malformed request causes an unhandled exception, leading to a crash of the server process.

受影响的版本>=1.4.4-lts.1<2.0.1 已修补的版本2.0.1

更多详情,请参见 GHSA-g5hg-p3ph-g8qg

🌐 For more details, see GHSA-g5hg-p3ph-g8qg.

有兴趣写一篇文章吗?查看我们的指南以开始吧。

阅读指南