🔍 CVE-2026-77037

7.5
CVSS Score
HIGH
2026-08-28
2026-09-02 14:47
✅ 완료

🇰🇷 한글 설명

Node.js용 multer 2.2.0 버전에서 디스크 기반 업로드가 완료되기 전에 중단되거나 잘릴 경우, 파일은 삭제되지만 파일 디스크립터가 닫히지 않는 문제가 있습니다. 공격자가 악의적으로 업로드를 반복하면 파일 디스크립터와 디스크 블록이 계속 누수되어 시스템 자원이 고갈되고 서비스 거부(DoS) 상태가 발생할 수 있습니다.

💡 쉬운 설명

파일 업로드를 중간에 강제로 끊는 방식으로 서버의 자원을 계속 갉아먹는 공격입니다. 이 공격이 반복되면 서버가 사용할 수 있는 자원이 바닥나서 서비스가 멈출 수 있습니다.

🇺🇸 원문 (English)

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.

📍 영향받는 시스템

multer version 2.2.0

⚔️ 공격 벡터

업로드 경로로 악의적인 중단 또는 변조된 multipart 업로드 요청을 반복 전송

🛡️ 대응 방법

multer 버전을 2.3.0 이상으로 업그레이드

🔧 검증 코드

출력된 결과에서 multer의 버전이 2.2.0인지 확인

Shell / Script
npm list multer | grep multer

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

💻 영향받는 소프트웨어

Node.js