Nettyにおける制限またはスロットリング無しのリソースの割り当てに関する脆弱性
タイトル Nettyにおける制限またはスロットリング無しのリソースの割り当てに関する脆弱性
概要

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でこの問題は修正されています。

想定される影響 ・当該ソフトウェアが扱う情報について、外部への漏えいは発生しません。 ・当該ソフトウェアが扱う情報について、書き換えは発生しません。 ・当該ソフトウェアが完全に停止する可能性があります。 
対策

ベンダ情報を参照して適切な対策を実施してください。

公表日 2026年6月12日0:00
登録日 2026年6月15日18:37
最終更新日 2026年6月15日18:37
CVSS3.0 : 重要
スコア 7.5
ベクター 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 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
変更履歴
No 変更内容 変更日
1 [2026年06月15日]
  掲載
2026年6月15日18:37

NVD脆弱性情報
CVE-2026-45416
概要

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.

公表日 2026年6月13日0:16
登録日 2026年6月13日4:17
最終更新日 2026年6月15日11:15
影響を受けるソフトウェアの構成
構成1 以上 以下 より上 未満
cpe:2.3:a:netty:netty:*:*:*:*:*:*:*:* 4.1.135
cpe:2.3:a:netty:netty:*:*:*:*:*:*:*:* 4.2.0 4.2.15
関連情報、対策とツール
共通脆弱性一覧