CVE-2021-39139

NameCVE-2021-39139
DescriptionXStream is a simple library to serialize objects to XML and back again. In affected versions this vulnerability may allow a remote attacker to load and execute arbitrary code from a remote host only by manipulating the processed input stream. A user is only affected if using the version out of the box with JDK 1.7u21 or below. However, this scenario can be adjusted easily to an external Xalan that works regardless of the version of the Java runtime. 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
buster (security), buster, buster (lts)1.4.11.1-1+deb10u4fixed
bullseye (security), bullseye1.4.15-3+deb11u2fixed
bookworm1.4.20-1fixed
sid, trixie1.4.21-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-64xx-cq4q-mf44
https://x-stream.github.io/CVE-2021-39139.html

Search for package or bug name: Reporting problems