Vulnerability · Published Nov 7, 2024 · Assigned by GitHub_M

CVE-2024-47072XStream is vulnerable to a Denial of Service attack due to stack overflow from a manipulated binary input stream

High 7.5

In plain English

A high-severity stack buffer overflow in xstream from x-stream. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.0% (higher than 81% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)2.0%top 19.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12libxstream-java1.4.20-1+deb12u1DEBIAN-CVE-2024-47072
Debian:13libxstream-java1.4.21-1DEBIAN-CVE-2024-47072
Debian:14libxstream-java1.4.21-1DEBIAN-CVE-2024-47072
Mavencom.thoughtworks.xstream:xstream1.4.21GHSA-hfq9-hggm-c56q
Ubuntu:22.04:LTSlibxstream-javano fix listedUBUNTU-CVE-2024-47072
Ubuntu:24.04:LTSlibxstream-javano fix listedUBUNTU-CVE-2024-47072
Ubuntu:25.10libxstream-javano fix listedUBUNTU-CVE-2024-47072
Ubuntu:26.04:LTSlibxstream-javano fix listedUBUNTU-CVE-2024-47072
Ubuntu:26.10libxstream-javano fix listedUBUNTU-CVE-2024-47072

Affected products (as reported)

VendorProductVersions
x-stream xstream < 1.4.21

Weakness: CWE-121, CWE-502 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References