body-parser vulnerable to Denial of Service via trailing bytes after a compressed request body
影響: npm:body-parser >= 2.0.0, < 2.4.0 → 2.4.0, npm:body-parser < 1.20.9 → 1.20.9
A single request can crash any application using body-parser with default options. When a request carries a Content-Encoding (for example gzip), body-parser pipes it into a decompression stream and, after reading the body, leaves that stream piped with no error listener. A payload of one valid compressed frame followed by trailing bytes decodes and the application responds normally, but the trailing bytes then reach the already-finished decoder, which emits an error that is re-thrown as an unca…
| CVE | CVE-2026-111181 |
|---|---|
| 情報源 | GitHub Advisory Database |
| 取得日時 | 2026/10/24 13:50 |
| データ | Markdown JSON |
2026/10/24 05:53、GitHub Advisory Databaseが「body-parser vulnerable to Denial of Service via trailing bytes after a compressed request body」を公開しました (種別: 脆弱性アドバイザリ)。重大度は「重要」(high) です。関連する技術: JavaScript / Node.js。CVE: CVE-2026-111181。