Vulnerability in com.thoughtworks.xstream:xstream (CVE-2024-47072)
Summary
Vulnerability in com.thoughtworks.xstream:xstream (CVE-2024-47072). Risk of unauthorized operations or information disclosure. Mitigation: upgrade to 1.4.21 or later.
Original description
The description as published by the source.
XStream is a simple library to serialize objects to XML and back again. This 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. XStream 1.4.21 has been patched to detect the manipulation in the binary input stream causing the the stack overflow and raises an InputManipulationException instead. Users are advised to upgrade. Users unable to upgrade may catch the StackOverflowError in the client code calling XStream if XStream is configured to use the BinaryStreamDriver.
Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
Auto-generated summary
Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.
A vulnerability tracked as CVE-2024-47072 has been found in com.thoughtworks.xstream:xstream.
Risk of unauthorized operations or information disclosure.
What to do: upgrade com.thoughtworks.xstream:xstream to 1.4.21 or later.
If unsure, ask your IT team or search "com.thoughtworks.xstream:xstream CVE-2024-47072" on the vendor's site.
CVE-2024-47072 (com.thoughtworks.xstream:xstream) — CWE-121
Attack vector: remote (network-reachable) / unauthenticated / no user interaction
Patched: 1.4.21 — apply immediately
Workaround: 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/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
A vulnerability (CWE-121) exists in com.thoughtworks.xstream:xstream.
Check the vendor advisory for the affected versions of com.thoughtworks.xstream:xstream.
Severity: ?. Risk of unauthorized operations or information disclosure.
Update to 1.4.21.
Workaround: The only solution is to catch the StackOverflowError in the client code calling XStream if XStream is configured to use the BinaryStreamDriver.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Audit SBOM/dependencies to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
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 でアラート再発が無いか継続監視。
Affected packages
Fix status by distribution
Fixed packages published by each distribution for this CVE
- Debian DEBIAN-CVE-2024-47072 libxstream-java Fixed in: 1.4.15-3+deb11u3
- Ubuntu UBUNTU-CVE-2024-47072 libxstream-java
References
- advisory github.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- web github.com
- web lists.debian.org
- web x-stream.github.io