CVE-2021-39140

NameCVE-2021-39140
DescriptionXStream is a simple library to serialize objects to XML and back again. In affected versions this vulnerability may allow a remote attacker to allocate 100% CPU time on the target system depending on CPU type or parallel execution of such a payload resulting in a denial of service only by manipulating the processed input stream. No user is affected, who followed the recommendation to setup XStream's security framework with a whitelist limited to the minimal required types. XStream 1.4.18 uses no longer a blacklist by default, since it cannot be secured for general purpose.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-2769-1, DSA-5004-1, ELA-488-1
Debian Bugs998054

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+deb8u6fixed
stretch (security)1.4.11.1-1+deb9u5fixed
stretch (lts), stretch1.4.11.1-1+deb9u6fixed
buster1.4.11.1-1+deb10u3fixed
buster (security)1.4.11.1-1+deb10u4fixed
bullseye (security), bullseye1.4.15-3+deb11u2fixed
sid, trixie, bookworm1.4.20-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libxstream-javasourcejessie1.4.11.1-1+deb8u4ELA-488-1
libxstream-javasourcestretch1.4.11.1-1+deb9u4DLA-2769-1
libxstream-javasourcebuster1.4.11.1-1+deb10u3DSA-5004-1
libxstream-javasourcebullseye1.4.15-3+deb11u1DSA-5004-1
libxstream-javasource(unstable)1.4.18-1998054

Notes

https://github.com/x-stream/xstream/security/advisories/GHSA-6wf9-jmg9-vxcc
https://x-stream.github.io/CVE-2021-39140.html

Search for package or bug name: Reporting problems