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。