Lecture hors limites dans io.netty.incubator:netty-incubator-codec-ohttp-hpke-native-boringssl (CVE-2026-48040)
Résumé
Vulnérabilité dans io.netty.incubator:netty-incubator-codec-ohttp-hpke-native-boringssl (CVE-2026-48040). Des informations confidentielles peuvent être exposées. Exploitable via sun.misc.Unsafe. Atténuation : mise à jour vers 0.0.22.Final ou plus.
Description d'origine
La description telle que publiée par la source (souvent en anglais).
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.
Source: NIST National Vulnerability Database NVD GitHub Advisory
Résumé généré automatiquement
Assemblé par SecPulse à partir des données sources (CVSS, CWE, versions affectées) à l'aide de modèles, sans IA. Vérifiez la description d'origine et les références ci-dessous.
Une vulnérabilité référencée CVE-2026-48040 a été découverte dans io.netty.incubator:netty-incubator-codec-ohttp-hpke-native-boringssl.
Des attaquants peuvent cibler un point d'entrée spécifique comme sun.misc.Unsafe à distance pour détourner le produit.
Des informations confidentielles peuvent être exposées. Score CVSS : 9.1/10.
Action : mettez à jour io.netty.incubator:netty-incubator-codec-ohttp-hpke-native-boringssl vers 0.0.22.Final ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « io.netty.incubator:netty-incubator-codec-ohttp-hpke-native-boringssl CVE-2026-48040 » sur le site de l'éditeur.
CVE-2026-48040 (io.netty.incubator:netty-incubator-codec-ohttp-hpke-native-boringssl) — CWE-125 / CVSS v3 9.1
Vecteur d'attaque : distant (réseau) / non authentifié / sans interaction utilisateur
Surface d'attaque : sun.misc.Unsafe / PooledByteBufAllocator / PooledDirectByteBuf
Correctif : 0.0.22.Final — appliquer immédiatement
Plan : 1) Audit SBOM, 2) Mise à jour staging→prod, 3) Surveillance WAF/proxy sur les endpoints affectés, 4) Recherche d'IOC dans les logs.
Réfs : voir GHSA / avis éditeur / version corrigée liés sur cette page.
Une lecture hors limites (CWE-125) affecte io.netty.incubator:netty-incubator-codec-ohttp-hpke-native-boringssl. Les attaquants atteignent le code vulnérable via sun.misc.Unsafe sans authentification.
Consultez l'avis de l'éditeur pour les versions affectées de io.netty.incubator:netty-incubator-codec-ohttp-hpke-native-boringssl. Surface d'attaque : sun.misc.Unsafe / PooledByteBufAllocator / PooledDirectByteBuf.
Gravité : Critique (CVSS 9.1/10). Des informations confidentielles peuvent être exposées.
Mettre à jour vers 0.0.22.Final.
En attendant le correctif : désactivez la fonctionnalité concernée, appliquez des règles WAF, ou restreignez l'accès par ACL réseau.
Recherchez dans les logs des requêtes correspondant aux IOC connus de cette CVE. Auditez les SBOM/dépendances.
Actions de réponse
Étapes concrètes et exemples de commandes que les équipes SOC/SRE doivent exécuter dans l'ordre
-
1Identify exposure identify
Audit SBOM/dependencies for affected components.資産台帳・SBOM・依存マニフェストで io.netty.incubator:netty-incubator-codec-ohttp-hpke-native-boringssl を使っているサービスとバージョンを洗い出す。
-
2Apply patch patch
Upgrade io.netty.incubator:netty-incubator-codec-ohttp-hpke-native-boringssl to 0.0.22.Finalステージング環境で 0.0.22.Final に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Paquets affectés
Références
- advisory github.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- web github.com