CVE-2024-47072XStream is vulnerable to a Denial of Service attack due to stack overflow from a…
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.
What to do
Fixed builds are available from Debian, Maven: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | libxstream-java | Fix pending | UBUNTU-CVE-2024-47072 | |
| Ubuntu 26.04 | libxstream-java | Under investigation | UBUNTU-CVE-2024-47072 | |
| Ubuntu 25.10 | libxstream-java | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2024-47072 | |
| Ubuntu 24.04 | libxstream-java | Under investigation | UBUNTU-CVE-2024-47072 | |
| Ubuntu 22.04 | libxstream-java | Under investigation | UBUNTU-CVE-2024-47072 | |
| Ubuntu 20.04 | libxstream-java | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2024-47072 | |
| Ubuntu 18.04 | libxstream-java | Fix pending | UBUNTU-CVE-2024-47072 | |
| Ubuntu 16.04 | libxstream-java | Fix pending | UBUNTU-CVE-2024-47072 | |
| Ubuntu 14.04 | libxstream-java | Fix pending | UBUNTU-CVE-2024-47072 | |
| Debian 14 | libxstream-java | Fixed | 1.4.21-1 | DEBIAN-CVE-2024-47072 |
| Debian 13 | libxstream-java | Fixed | 1.4.21-1 | DEBIAN-CVE-2024-47072 |
| Debian 12 | libxstream-java | Fixed | 1.4.20-1+deb12u1 | DEBIAN-CVE-2024-47072 |
| Maven library | com.thoughtworks.xstream:xstream | Fixed | 1.4.21 | GHSA-hfq9-hggm-c56q |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- x-stream xstream: affected: < 1.4.21
References
- https://github.com/x-stream/xstream/security/advisories/GHSA-hfq9-hggm-c56q
- https://github.com/x-stream/xstream/commit/bb838ce2269cac47433e31c77b2b236466e9f266
- https://x-stream.github.io/CVE-2024-47072.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.