| タイトル | Nettyにおける有効期限後のメモリの解放の欠如に関する脆弱性 |
|---|---|
| 概要 | Nettyはプロトコルサーバーおよびクライアントの開発のためのネットワークアプリケーションフレームワークです。バージョン4.1.135.Finalおよび4.2.15.Final以前では、RedisArrayAggregatorハンドラーがRESP配列の集約が完了する前にRedisパイプライン接続が閉じられると、プールされた直接メモリバッファを恒久的にリークさせます。このハンドラーは各ハンドラーの状態(`depths`フィールド)に子メッセージを保持しますが、パイプラインが終了するときにそれらを解放するための`channelInactive`、`handlerRemoved`、または`exceptionCaught`メソッドを定義していません。リークしたバッファは`PooledByteBufAllocator`チャンクのスライスであるため、これらのチャンクがJVM全体の直接メモリプールに返却されるのを妨げます。任意のネットワークピアによる繰り返しの接続変動はこの共有プールを単調に消耗し、最終的にプロセス内のすべてのNettyチャネルにおいて割り当てに失敗する原因となります。バージョン4.1.135.Finalおよび4.2.15.Finalでこの問題は修正されています。 |
| 想定される影響 | ・当該ソフトウェアが扱う情報について、外部への漏えいは発生しません。 ・当該ソフトウェアが扱う情報について、書き換えは発生しません。 ・当該ソフトウェアが完全に停止する可能性があります。 |
| 対策 | ベンダ情報を参照して適切な対策を実施してください。 |
| 公表日 | 2026年6月12日0:00 |
| 登録日 | 2026年6月15日18:36 |
| 最終更新日 | 2026年6月15日18:36 |
| 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 未満 |
| No | 変更内容 | 変更日 |
|---|---|---|
| 1 | [2026年06月15日] 掲載 |
2026年6月15日18:36 |
| 概要 | 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, the RedisArrayAggregator handler permanently leaks pooled direct-memory buffers when a Redis pipeline connection closes before a RESP array aggregate completes. The handler retains child messages in per-handler state (`depths` field) but defines no `channelInactive`, `handlerRemoved`, or `exceptionCaught` method to release them when the pipeline tears down. Because the leaked buffers are slices of `PooledByteBufAllocator` chunks, they prevent those chunks from being returned to the JVM-wide direct-memory pool. Repeated connection churn by any network peer monotonically drains this shared pool, eventually causing allocation failures on all Netty channels in the process. Versions 4.1.135.Final and 4.2.15.Final patch the issue. |
|---|---|
| 公表日 | 2026年6月13日1:16 |
| 登録日 | 2026年6月13日4:17 |
| 最終更新日 | 2026年6月15日10:56 |
| 構成1 | 以上 | 以下 | より上 | 未満 | |
| cpe:2.3:a:netty:netty:*:*:*:*:*:*:*:* | 4.1.135 | ||||
| cpe:2.3:a:netty:netty:*:*:*:*:*:*:*:* | 4.2.0 | 4.2.15 | |||