🔍 CVE-2026-117531

5.9
CVSS Score
MEDIUM
2026-11-02
2026-11-02 17:17
✅ 완료

🇰🇷 한글 설명

@fastify/multipart 플러그인은 5.3.0부터 10.1.6까지의 버전에서, 파일 파트 내부에서 닫는 boundary 없이 요청 본문이 끝나는 경우 파서 오류를 파일 스트림에 전파하지 않습니다. 이로 인해 비동기 작업 후에 파일을 소비하는 핸들러는 오류나 end 이벤트를 받지 못한 채 응답 없이 연결이 유지되어, 인증되지 않은 원격 클라이언트가 이를 반복하면 서버 자원이 고갈될 수 있습니다. 10.1.7 버전에서 수정되었습니다.

💡 쉬운 설명

악의적으로 잘못 만든 파일 업로드 요청을 반복해서 보내면 서버가 응답하지 못한 채 연결이 쌓여 서비스가 느려지거나 멈출 수 있습니다. 해결하려면 플러그인을 10.1.7 이상으로 업데이트해야 합니다.

🇺🇸 원문 (English)

@fastify/multipart is the multipart form-data and file upload plugin for the Fastify web framework. In versions 5.3.0 through 10.1.6, the plugin does not propagate a parser error to the file stream when a request body ends inside a file part with no closing boundary, even though the Content-Length is complete, the client does not abort, and no file size limit is exceeded. The plugin destroys the in-progress file stream without an error, so a handler that iterates the request parts and performs asynchronous work before consuming the file attaches to a stream that never emits an error or end event, and the request never responds while the connection stays open. An unauthenticated remote client can repeat these malformed uploads against such a route to accumulate pending connections and exhaust server resources, so the impact is availability only and exploitation depends on the application using a delayed file consumer. The issue is fixed in @fastify/multipart 10.1.7, where the parser error is propagated to the file stream so a delayed consumer settles with an error instead of hanging, and users should upgrade to 10.1.7 or later. There is no workaround other than upgrading.

📍 영향받는 시스템

@fastify/multipart 5.3.0 ~ 10.1.6 버전을 사용하며 지연 파일 처리를 하는 Fastify 애플리케이션

⚔️ 공격 벡터

인증 없이 닫는 boundary가 없는 잘못된 multipart 요청을 파일 업로드 경로에 반복 전송하여 대기 연결을 누적시킴

🛡️ 대응 방법

@fastify/multipart를 10.1.7 이상으로 업그레이드 (우회 방법 없음)

🔧 검증 코드

출력된 버전이 10.1.7 이상이면 패치 적용됨, 5.3.0~10.1.6 범위이면 취약하므로 업그레이드 필요

Shell / Script
npm ls @fastify/multipart 2>/dev/null | grep @fastify/multipart

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

IBM WebSphere Application Server