CVE-2024-47072 XStream is vulnerable to a Denial of Service attack due to stack overflow from a manipulated binary input stream
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- UbuntuDebian
Description
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.
Upgrade path
10 packages: 5 fixed, 4 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/libxstream-java(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/libxstream-java(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/libxstream-java(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/libxstream-java(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| com.thoughtworks.xstream/xstream(Maven) | < 1.4.21; = 0.1; = 0.2; = 0.3 +42 more | 1.4.21 | Fixed |
| debian/libxstream-java(Debian 12) | < 1.4.20-1+deb12u1; = 1.4.20-1 | 1.4.20-1+deb12u1 | Fixed |
| debian/libxstream-java(Debian 13) | < 1.4.21-1 | 1.4.21-1 | Fixed |
| debian/libxstream-java(Debian 14) | < 1.4.21-1 | 1.4.21-1 | Fixed |
| x-stream | < 1.4.21 | 1.4.21 | Fixed |
| x-stream xstream | = < 1.4.21 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| com.thoughtworks.xstream/xstream(Maven) | < 1.4.21 | 1.4.21 |
| com.thoughtworks.xstream/xstream(Maven) | = 0.1 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 0.2 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 0.3 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 0.5 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 0.6 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.0 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.0.1 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.0.2 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.1 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.1.1 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.1.2 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.1.3 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.2 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.2.1 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.2.2 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.3 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.3.1 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.4 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.4.1 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.4.10 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.4.10-java7 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.4.11 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.4.11-java7 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.4.11.1 | No fix listed |
Show 31 more
| Product | Affected versions | Fixed in |
|---|---|---|
| com.thoughtworks.xstream/xstream(Maven) | = 1.4.12 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.4.12-java7 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.4.13 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.4.13-java7 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.4.14 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.4.14-java7 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.4.14-jdk7 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.4.15 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.4.16 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.4.17 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.4.18 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.4.19 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.4.2 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.4.20 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.4.3 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.4.4 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.4.5 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.4.6 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.4.7 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.4.8 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.4.9 | No fix listed |
| debian/libxstream-java(Debian:12) | < 1.4.20-1+deb12u1 | 1.4.20-1+deb12u1 |
| debian/libxstream-java(Debian:12) | = 1.4.20-1 | No fix listed |
| debian/libxstream-java(Debian:13) | < 1.4.21-1 | 1.4.21-1 |
| debian/libxstream-java(Debian:14) | < 1.4.21-1 | 1.4.21-1 |
| ubuntu/libxstream-java(Ubuntu:22.04) | All versions | No fix listed |
| x-stream xstream | = < 1.4.21 | No fix listed |
| x-stream | < 1.4.21 | 1.4.21 |
| ubuntu/libxstream-java(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/libxstream-java(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/libxstream-java(Ubuntu:26.10) | All versions | No fix listed |
References
- https://github.com/x-stream/xstream/security/advisories/GHSA-hfq9-hggm-c56q vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/x-stream/xstream/commit/bb838ce2269cac47433e31c77b2b236466e9f266 patch
- github.com patch
- github.com product
- lists.debian.org
- https://x-stream.github.io/CVE-2024-47072.html
- Debian Security Tracker CVE-2024-47072 vendor-advisory
- github.com
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- bugs.debian.org issue-tracking