http-proxy-middleware smuggles a second request when fixRequestBody runs before body arrival
영향
| 패키지 | 영향받는 버전 | 수정 버전 |
|---|---|---|
| npm:http-proxy-middleware | >= 4.0.0-beta.0, <= 4.2.0 | 4.2.1 |
| npm:http-proxy-middleware | >= 3.0.5, <= 3.0.7 | 3.0.10 |
| npm:http-proxy-middleware | >= 2.0.9, <= 2.0.10 | 2.0.11 |
fixRequestBody treats req.readableLength === 0 as proof that a body parser consumed the request body. The same value is observed before any body byte has arrived. An unauthenticated client can therefore send the request headers first, wait one event-loop turn, and then send a body containing a complete second HTTP request. When a body-parser 1.x parser declined the declared media type, it has already assigned a truthy req.body but has not consumed the stream. fixRequestBody serializes that empt…
X에서 속보 받기악용·대형 유출·장애를 대응 방법과 함께.
@vulnpulse_app 팔로우2026. 12. 02. 오전 03:15, GitHub Advisory Database에서 "http-proxy-middleware smuggles a second request when fixRequestBody runs before body arrival"을(를) 게시했습니다 (유형: 취약점 권고). 심각도는 "보통"(medium)입니다. 관련 기술: JavaScript / Node.js. CVE: CVE-2026-140103.