CVE-2024-47072

NameCVE-2024-47072
DescriptionXStream 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-4001-1
Debian Bugs1087274

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libxstream-java (PTS)jessie, jessie (lts)1.4.11.1-1+deb8u6vulnerable
stretch (security)1.4.11.1-1+deb9u5vulnerable
stretch (lts), stretch1.4.11.1-1+deb9u6vulnerable
buster (security), buster, buster (lts)1.4.11.1-1+deb10u4vulnerable
bullseye1.4.15-3+deb11u2vulnerable
bullseye (security)1.4.15-3+deb11u3fixed
bookworm1.4.20-1vulnerable
sid, trixie1.4.21-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libxstream-javasourcestretch(unfixed)end-of-life
libxstream-javasourcebullseye1.4.15-3+deb11u3DLA-4001-1
libxstream-javasource(unstable)1.4.21-11087274

Notes

[bookworm] - libxstream-java <no-dsa> (Minor issue)
https://github.com/x-stream/xstream/security/advisories/GHSA-hfq9-hggm-c56q
https://x-stream.github.io/CVE-2024-47072.html
Fixed by: https://github.com/x-stream/xstream/commit/fdd9f7d3de0d7ccf2f9979bcd09fbf3e6a0c881a (XSTREAM_1_4_21)

Search for package or bug name: Reporting problems