本文へ移動
English version →
重大 9.1

netty-incubator-codec-ohttpで遠隔からメモリを不正に読み書きされるおそれ

CVE-2026-48040 SecPulse初出

概要

認証不要の攻撃者が細工したOHTTPリクエストを送ることで、別の接続のメモリを壊したり、隣接するバッファの内容を盗み見られたりするおそれがあります。影響を受けるのは0.0.22.Final未満のnetty-incubator-codec-ohttp-hpke-native-boringsslで、0.0.22.Finalで修正されています。Unsafeが無効な環境で利用している場合は、早急に0.0.22.Final以降へ更新してください。

AI要約

SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。

io.netty.incubator:netty-incubator-codec-ohttp-hpke-native-boringssl という製品で、CVE-2026-48040 という番号がついた弱点 (脆弱性) が見つかりました。
悪い人がインターネット越しに sun.misc.Unsafe のような特定の入り口を狙うことで、製品の中を不正に操作できてしまいます。
機密情報が外部に流出する可能性があります。重要度は CVSS スコア 9.1/10 です。
対策: io.netty.incubator:netty-incubator-codec-ohttp-hpke-native-boringssl を 0.0.22.Final 以上に更新してください。
心配なら、システム担当者や製品の公式サイトで「io.netty.incubator:netty-incubator-codec-ohttp-hpke-native-boringssl CVE-2026-48040」を検索してください。

CVE-2026-48040 (io.netty.incubator:netty-incubator-codec-ohttp-hpke-native-boringssl) — CWE-125 / CVSS v3 9.1
攻撃ベクター: ネットワーク経由 (リモート攻撃可) / 認証不要 / 被害者操作不要
脆弱箇所: sun.misc.Unsafe / PooledByteBufAllocator / PooledDirectByteBuf
修正バージョン: 0.0.22.Final (即時適用推奨)
対応方針: 1) SBOMで影響バージョン横断確認, 2) ステージング検証→本番更新, 3) WAF/プロキシで該当エンドポイントを監視, 4) ログでIOC調査。
参考: 当ページの『参照URL』の GHSA / vendor advisory / patched release を参照。

何が問題か

io.netty.incubator:netty-incubator-codec-ohttp-hpke-native-boringssl に 境界外読み取り (CWE-125) があります。攻撃者は sun.misc.Unsafe を経由して脆弱な処理に到達し、認証なしで悪用できます。

影響範囲

io.netty.incubator:netty-incubator-codec-ohttp-hpke-native-boringssl の影響バージョンはベンダーのアドバイザリで確認してください。攻撃箇所: sun.misc.Unsafe / PooledByteBufAllocator / PooledDirectByteBuf。

重要度

重要度: 最重要 (CVSS 9.1/10)。機密情報が外部に流出する可能性があります。

修正方法

0.0.22.Final に更新してください。

暫定回避

修正版が未提供時は、影響機能の無効化・WAFルール・ネットワークACLでの遮断を検討。

検知方法

Webサーバ・プロキシ・WAFログで該当CVEのIOCに合致する不審リクエストを検索。SBOM/依存ファイルで影響バージョンを横断確認。

対応アクション

SOC/SREチームが順番に実行すべき具体的なステップとコマンド例

  1. 1
    影響範囲の特定identify
    Audit SBOM/dependencies for affected components.

    資産台帳・SBOM・依存マニフェストで io.netty.incubator:netty-incubator-codec-ohttp-hpke-native-boringssl を使っているサービスとバージョンを洗い出す。

  2. 2
    パッチ適用patch
    Upgrade io.netty.incubator:netty-incubator-codec-ohttp-hpke-native-boringssl to 0.0.22.Final

    ステージング環境で 0.0.22.Final に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。

  3. 3
    事後検証verify
    Confirm patched version is live in production

    パッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。

影響パッケージ

パッケージ影響を受ける版 → 修正版
mavenio.netty.incubator:netty-incubator-codec-ohttp-hpke-native-boringssl
0.0.22.Final 未満→ 0.0.22.Final
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。

The netty incubator codec.bhttp is a java language binary http parser. The library implements Oblivious HTTP (RFC 9458) using BoringSSL's HPKE C library via JNI. When deriving native memory addresses for cryptographic operations versions prior to 0.0.22.Final provide a fallback path for direct ByteBufs that do not expose their memory address through hasMemoryAddress(). This fallback occurs when sun.misc.Unsafe is unavailable to Netty — for example, when the JVM is started with -Dio.netty.noUnsafe=true, when a SecurityManager restricts Unsafe access, or when running on non-HotSpot JVMs. In these configurations, Netty's default PooledByteBufAllocator returns PooledDirectByteBuf instances for which hasMemoryAddress() returns false. Under the enabling JVM configuration, an unauthenticated network attacker can cause the OHTTP gateway to corrupt memory belonging to other concurrent connections and disclose the contents of adjacent pooled direct buffers by triggering cryptographic operations with crafted OHTTP requests. The corruption occurs regardless of whether the AEAD tag verification succeeds, as BoringSSL zeroizes the output buffer on failure. The information disclosure path provides the attacker with the encryption key needed to extract the leaked data. This violates the confidentiality and integrity of all connections sharing the same Netty buffer arena. Version 0.0.22.Final fixes the issue.

出典: NIST National Vulnerability Database NVD GitHub Advisory

参照URL

当サイトでは、アクセス解析と広告の効果測定のためにCookieを使います。株式会社Gameのサイト共通の設定です。 詳しく