🔍 CVE-2025-47935

7.5
CVSS Score
HIGH
2025-05-19
2026-06-17 09:28
✅ 완료

🇰🇷 한글 설명

Multer 2.0.0 이전 버전에서 HTTP 요청 스트림 에러 발생 시 내부 busboy 스트림이 제대로 종료되지 않아 메모리 누수가 발생합니다. 지속된 오류 조건에서 메모리와 파일 디스크립터가 축적되어 서비스 거부(DoS)로 이어질 수 있습니다.

💡 쉬운 설명

Multer 파일 업로드 도구에서 오류 발생 시 메모리가 제대로 해제되지 않습니다. 반복되면 서버가 느려지거나 중단될 수 있습니다.

🇺🇸 원문 (English)

Multer is a node.js middleware for handling `multipart/form-data`. Versions prior to 2.0.0 are vulnerable to a resource exhaustion and memory leak issue due to improper stream handling. When the HTTP request stream emits an error, the internal `busboy` stream is not closed, violating Node.js stream safety guidance. This leads to unclosed streams accumulating over time, consuming memory and file descriptors. Under sustained or repeated failure conditions, this can result in denial of service, requiring manual server restarts to recover. All users of Multer handling file uploads are potentially impacted. Users should upgrade to 2.0.0 to receive a patch. No known workarounds are available.

📍 영향받는 시스템

Multer < 2.0.0 (모든 버전)

⚔️ 공격 벡터

파일 업로드 요청 중 의도적 네트워크 오류를 발생시켜 스트림 종료 방해

🛡️ 대응 방법

Multer를 버전 2.0.0 이상으로 업그레이드

🔧 검증 코드

출력된 버전이 2.0.0 미만이면 취약 상태

Shell / Script
npm list multer --depth=0 2>/dev/null | grep -oE 'multer@[0-9]+\.[0-9]+\.[0-9]+'

📊 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