漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
multer vulnerable to Denial of Service via file descriptor leak on aborted uploads
Vulnerability Description
multer is a middleware for handling multipart/form-data in Node.js. In version 2.2.0, when a disk-backed upload is aborted or truncated before the write stream finishes, multer's disk storage engine removes the visible file but does not close the underlying write file descriptor, leaving a deleted but still open descriptor. A remote attacker able to reach an upload route using the built-in disk storage can send repeated aborted or malformed multipart uploads, each one leaking a file descriptor and retaining disk blocks until the process exits, which can exhaust resources and cause a denial of service. The issue is fixed in multer 2.3.0, which closes the destination write stream on abnormal source termination and defers cleanup until the stream has closed. Upgrade to multer 2.3.0 to remediate.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Vulnerability Type
未加控制的资源消耗(资源穷尽)
Vulnerability Title
expressjs Multer 资源管理错误漏洞
Vulnerability Description
expressjs Multer是expressjs组织开源的一个用于Node.js中间件。 expressjs Multer 2.2.0版本存在资源管理错误漏洞,该漏洞源于磁盘备份上传在写流完成前被中止或截断时,磁盘存储引擎未关闭底层写文件描述符,导致远程攻击者通过发送重复的中止或畸形multipart上传,泄漏文件描述符并保留磁盘块,造成资源耗尽和拒绝服务。
CVSS Information
N/A
Vulnerability Type
N/A