CVE-2024-47072
com.thoughtworks.xstream: XStream is vulnerable to a Denial of Service attack due to stack overflow from a manipulated binary input stream
Overview
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.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-121, CWE-502
Affected packages · 4
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Maven | com.thoughtworks.xstream:xstream | <1.4.21 | 1.4.21 |
| Seal Maven | com.thoughtworks.xstream:xstream | >=1.3.1+sp0, <1.3.1+sp999>=1.4.11.1+sp0, <1.4.11.1+sp3 | 1.3.1+sp9991.4.11.1+sp3 |
| Seal Maven | seal.sp1.com.thoughtworks.xstream:xstream | >=1.3.1, <1.3.1+sp999>=1.4.11.1, <1.4.11.1+sp999 | 1.3.1+sp9991.4.11.1+sp999 |
| Seal Maven | seal.sp2.com.thoughtworks.xstream:xstream | >=1.4.11.1, <1.4.11.1+sp999 | 1.4.11.1+sp999 |
Open a package to see all its vulnerabilities.
Operating systems · 12 fixes
SUSE Linux Enterprise 3 releases · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 15.4 | bea-stax +1 | 1.2.0-150200.11.3.1 | SUSE-SU-2024:4037-1 |
| 15.4 | xstream | 1.4.21-150200.3.28.1 | SUSE-SU-2024:4037-1 |
| 15.5 | bea-stax +1 | 1.2.0-150200.11.3.1 | SUSE-SU-2024:4037-1 |
| 15.5 | xstream | 1.4.21-150200.3.28.1 | SUSE-SU-2024:4037-1 |
| 15.6 | bea-stax +1 | 1.2.0-150200.11.3.1 | SUSE-SU-2024:4037-1 |
| 15.6 | xstream | 1.4.21-150200.3.28.1 | SUSE-SU-2024:4037-1 |
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | libxstream-java | 1.4.15-3+deb11u3 |
| 12 | libxstream-java | 1.4.20-1+deb12u1 |
| 13 | libxstream-java | 1.4.21-1 |
| 14 | libxstream-java | 1.4.21-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| libxstream-java | 1.4.20-1+deb12u1 |
openSUSE 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | xstream +3 | 1.4.21-1.1 | openSUSE-SU-2024:14480-1 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2024-47072
- github.com https://github.com/x-stream/xstream
- github.com https://github.com/x-stream/xstream/commit/bb838ce2269cac47433e31c77b2b236466e9f266
- github.com https://github.com/x-stream/xstream/commit/fdd9f7d3de0d7ccf2f9979bcd09fbf3e6a0c881a
- github.com https://github.com/x-stream/xstream/security/advisories/GHSA-hfq9-hggm-c56q
- lists.debian.org https://lists.debian.org/debian-lts-announce/2024/12/msg00023.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2024-47072
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2024-47072
- x-stream.github.io https://x-stream.github.io/CVE-2024-47072.html
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.