Vulnérabilité dans org.asynchttpclient:async-http-client (CVE-2026-107227)
Résumé
Vulnérabilité dans org.asynchttpclient:async-http-client (CVE-2026-107227). Risque d'opérations non autorisées ou de divulgation. Exploitable via webSocketMaxFrameSize. Atténuation : mise à jour vers 3.0.14 ou plus.
Description d'origine
La description telle que publiée par la source (souvent en anglais).
Impact
With WebSocket compression enabled, the client inflates permessage-deflate messages with no limit on the decompressed size. It installed Netty's shared WebSocketClientCompressionHandler.INSTANCE, whose inflater is unbounded, and webSocketMaxFrameSize and webSocketMaxBufferSize only bound the compressed bytes, because the frame aggregator sits in front of the inflater.
A malicious or compromised WebSocket server, or anyone on the path of a ws:// connection, can therefore send a message of about 2 MiB that inflates to about 2 GiB, the most a Netty buffer can hold. The client then copies the inflated message again to hand it to the listener. That exhausts the heap of a typically sized JVM. Netty catches the resulting OutOfMemoryError and closes that connection, but while the buffer is live any other allocation in the process can fail too, and a server that keeps sending such messages, on one connection or several, keeps the client at heap exhaustion.
Who is Impacted
Only applications that enable WebSocket compression with setEnablewebSocketCompression(true), which is off by default, and connect to a WebSocket server that is untrusted, compromised, or reached over cleartext ws://.
Affected versions
- 3.x: up to and including 3.0.13
- 2.x: from 2.2.0, when WebSocket compression was added, up to and including 2.16.1
Patches
Fixed in 3.0.14. A new setting, webSocketMaxDecompressedFrameSize (setWebSocketMaxDecompressedFrameSize, or t…
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-107227 a été découverte dans org.asynchttpclient:async-http-client.
Des attaquants peuvent cibler un point d'entrée spécifique comme webSocketMaxFrameSize à distance pour détourner le produit.
Risque d'opérations non autorisées ou de divulgation. Score CVSS : 7.5/10.
Action : mettez à jour org.asynchttpclient:async-http-client vers 3.0.14 ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « org.asynchttpclient:async-http-client CVE-2026-107227 » sur le site de l'éditeur.
CVE-2026-107227 (org.asynchttpclient:async-http-client) — CWE-400 / CVSS v3 7.5
Vecteur d'attaque : distant (réseau) / non authentifié / sans interaction utilisateur
Surface d'attaque : webSocketMaxFrameSize / webSocketMaxBufferSize / OutOfMemoryError / webSocketMaxDecompressedFrameSize
Correctif : 3.0.14 — appliquer immédiatement
Contournement : Leave WebSocket compression disabled, which is the default.
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 vulnérabilité (CWE-400) affecte org.asynchttpclient:async-http-client. Les attaquants atteignent le code vulnérable via webSocketMaxFrameSize sans authentification.
Consultez l'avis de l'éditeur pour les versions affectées de org.asynchttpclient:async-http-client. Surface d'attaque : webSocketMaxFrameSize / webSocketMaxBufferSize / OutOfMemoryError / webSocketMaxDecompressedFrameSize.
Gravité : Élevée (CVSS 7.5/10). Risque d'opérations non autorisées ou de divulgation.
Mettre à jour vers 3.0.14.
Contournement : Leave WebSocket compression disabled, which is the default.
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・依存マニフェストで org.asynchttpclient:async-http-client を使っているサービスとバージョンを洗い出す。
-
2Apply temporary workaround mitigate
Leave WebSocket compression disabled, which is the default.パッチが適用されるまでの応急処置として、Leave WebSocket compression disabled, which is the default. を実施。回避策の副作用 (機能低下) を確認した上で。
-
3Apply patch patch
Upgrade org.asynchttpclient:async-http-client to 3.0.14ステージング環境で 3.0.14 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
4Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。