| タイトル | Nettyにおける例外的な状況に対する不適切なチェックまたは処理に関する脆弱性 |
|---|---|
| 概要 | Nettyはプロトコルサーバーおよびクライアントの開発に使用されるネットワークアプリケーションフレームワークです。netty-codec-haproxyの4.1.135.Finalおよび4.2.15.Finalより前のバージョンでは、PP2_TYPE_SSL TLVをデコードする際に、HAProxyMessage.readNextTLV()が最初に`header.retainedSlice(header.readerIndex(), length)`を呼び出し、その後1バイトのclientフィールドと4バイトのverifyフィールドを読み取ります。攻撃者がTLVの長さを5未満に設定すると、その後のreadByte/readIntでIndexOutOfBoundsExceptionがスローされます。HAProxyMessageDecoderはこの呼び出しに対してHAProxyProtocolExceptionのみをキャッチするため、IOOBEが伝播し、プールされた累積バッファ上のretained sliceが解放されません。この問題はバージョン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 未満 |
| No | 変更内容 | 変更日 |
|---|---|---|
| 1 | [2026年06月15日] 掲載 |
2026年6月15日18:37 |
| 概要 | Netty is a network application framework for development of protocol servers and clients. In netty-codec-haproxy prior to versions 4.1.135.Final and 4.2.15.Final, when decoding a PP2_TYPE_SSL TLV, HAProxyMessage.readNextTLV() first calls `header.retainedSlice(header.readerIndex(), length)` and only then reads the 1-byte client field and 4-byte verify field. If the attacker sets the TLV length below 5, the subsequent readByte/readInt throws IndexOutOfBoundsException. HAProxyMessageDecoder only catches HAProxyProtocolException around this call, so the IOOBE propagates and the retained slice on the pooled cumulation buffer is never released. 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:23 |
| 構成1 | 以上 | 以下 | より上 | 未満 | |
| cpe:2.3:a:netty:netty:*:*:*:*:*:*:*:* | 4.1.135 | ||||
| cpe:2.3:a:netty:netty:*:*:*:*:*:*:*:* | 4.2.0 | 4.2.15 | |||