Vulnérabilité dans com.thoughtworks.xstream:xstream (CVE-2024-47072)
Résumé
Vulnérabilité dans com.thoughtworks.xstream:xstream (CVE-2024-47072). Risque d'opérations non autorisées ou de divulgation. Atténuation : mise à jour vers 1.4.21 ou plus.
Description d'origine
La description telle que publiée par la source (souvent en anglais).
Impact
The vulnerability may allow a remote attacker to terminate the application with a stack overflow error resulting in a denial of service only by manipulating the processed input stream when XStream is configured to use the BinaryStreamDriver.
Patches
XStream 1.4.21 detects the manipulation in the binary input stream causing the the stack overflow and raises an InputManipulationException instead.
Workarounds
The only solution is to catch the StackOverflowError in the client code calling XStream if XStream is configured to use the BinaryStreamDriver.
References
See full information about the nature of the vulnerability and the steps to reproduce it in XStream's documentation for CVE-2024-47072.
Credits
Alexis Challande of Trail Of Bits found and reported the issue to XStream and provided the required information to reproduce it.
Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
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-2024-47072 a été découverte dans com.thoughtworks.xstream:xstream.
Risque d'opérations non autorisées ou de divulgation.
Action : mettez à jour com.thoughtworks.xstream:xstream vers 1.4.21 ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « com.thoughtworks.xstream:xstream CVE-2024-47072 » sur le site de l'éditeur.
CVE-2024-47072 (com.thoughtworks.xstream:xstream) — CWE-121
Vecteur d'attaque : distant (réseau) / non authentifié / sans interaction utilisateur
Correctif : 1.4.21 — appliquer immédiatement
Contournement : The only solution is to catch the StackOverflowError in the client code calling XStream if XStream is configured to use the BinaryStreamDriver.
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-121) affecte com.thoughtworks.xstream:xstream.
Consultez l'avis de l'éditeur pour les versions affectées de com.thoughtworks.xstream:xstream.
Gravité : ?. Risque d'opérations non autorisées ou de divulgation.
Mettre à jour vers 1.4.21.
Contournement : The only solution is to catch the StackOverflowError in the client code calling XStream if XStream is configured to use the BinaryStreamDriver.
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・依存マニフェストで com.thoughtworks.xstream:xstream を使っているサービスとバージョンを洗い出す。
-
2Apply temporary workaround mitigate
The only solution is to catch the StackOverflowError in the client code calling XStream if XStream is configured to use the BinaryStreamDriver.パッチが適用されるまでの応急処置として、The only solution is to catch the StackOverflowError in the client code calling XStream if XStream is configured to use the BinaryStreamDriver. を実施。回避策の副作用 (機能低下) を確認した上で。
-
3Apply patch patch
Upgrade com.thoughtworks.xstream:xstream to 1.4.21ステージング環境で 1.4.21 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
4Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Paquets affectés
État des correctifs par distribution
Paquets corrigés publiés par chaque distribution pour cette CVE
- Debian DEBIAN-CVE-2024-47072 libxstream-java Corrigé dans: 1.4.15-3+deb11u3
- Ubuntu UBUNTU-CVE-2024-47072 libxstream-java
Références
- advisory nvd.nist.gov
- package github.com
- web github.com
- web github.com
- web github.com
- web lists.debian.org
- web x-stream.github.io