| Title | Nettyにおける制限またはスロットリング無しのリソースの割り当てに関する脆弱性 |
|---|---|
| Summary | Nettyはプロトコルサーバーおよびクライアントの開発のためのネットワークアプリケーションフレームワークです。バージョン4.1.135.Finalおよび4.2.15.Final以前では、SslClientHelloHandler.decode()が24ビットのTLSハンドシェイク長を読み取り、ClientHelloが最初のレコードに収まらない場合に、進んで`ctx.alloc().buffer(handshakeLength)`を割り当てます(161行目)。140行目のガードは`handshakeLength maxClientHelloLength && maxClientHelloLength != 0`であり、一般的に使用されるSniHandler/AbstractSniHandlerのコンストラクタ(SniHandler(Mapping)、SniHandler(AsyncMapping)、AbstractSniHandler())はmaxClientHelloLength=0およびhandshakeTimeoutMillis=0を渡すため、長さのガードが無効化され、タイムアウトもスケジュールされません。16MiBのリクエストはデフォルトのプールチャンクサイズを超え、直ちに巨大かつ非プール割り当てになります。このバッファはチャネルが閉じるまでハンドラー内に保持され続けます。バージョン4.1.135.Finalおよび4.2.15.Finalでこの問題は修正されています。 |
| Possible impacts | ・当該ソフトウェアが扱う情報について、外部への漏えいは発生しません。 ・当該ソフトウェアが扱う情報について、書き換えは発生しません。 ・当該ソフトウェアが完全に停止する可能性があります。 |
| Solution | ベンダ情報を参照して適切な対策を実施してください。 |
| Publication Date | June 12, 2026, midnight |
| Registration Date | June 15, 2026, 6:37 p.m. |
| Last Update | June 15, 2026, 6:37 p.m. |
| CVSS3.0 : 重要 | |
| Score | 7.5 |
|---|---|
| Vector | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Netty |
| Netty 4.1.135 未満 |
| Netty 4.2.0 以上 4.2.15 未満 |
| No | Changed Details | Date of change |
|---|---|---|
| 1 | [2026年06月15日] 掲載 |
June 15, 2026, 6:37 p.m. |
| Summary | Netty is a network application framework for development of protocol servers and clients. Prior to versions 4.1.135.Final and 4.2.15.Final, SslClientHelloHandler.decode() reads the 24-bit TLS handshake length and, when the ClientHello does not fit in the first record, eagerly allocates `ctx.alloc().buffer(handshakeLength)` (line 161). The guard at line 140 is `handshakeLength > maxClientHelloLength && maxClientHelloLength != 0`, and the commonly-used SniHandler/AbstractSniHandler constructors (SniHandler(Mapping), SniHandler(AsyncMapping), AbstractSniHandler()) pass maxClientHelloLength=0 and handshakeTimeoutMillis=0, so the length guard is disabled and no timeout is scheduled. A 16 MiB request exceeds the default pooled chunk size and becomes a huge/unpooled allocation performed immediately. The buffer is retained in the handler until the channel closes. Versions 4.1.135.Final and 4.2.15.Final patch the issue. |
|---|---|
| Publication Date | June 13, 2026, 12:16 a.m. |
| Registration Date | June 13, 2026, 4:17 a.m. |
| Last Update | June 15, 2026, 11:15 a.m. |
| Configuration1 | or higher | or less | more than | less than | |
| cpe:2.3:a:netty:netty:*:*:*:*:*:*:*:* | 4.1.135 | ||||
| cpe:2.3:a:netty:netty:*:*:*:*:*:*:*:* | 4.2.0 | 4.2.15 | |||