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, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severitymedium

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libxstream-java (PTS)stretch1.4.9-2vulnerable
stretch (security)1.4.11.1-1+deb9u3vulnerable
buster, buster (security)1.4.11.1-1+deb10u2vulnerable
bullseye1.4.15-3vulnerable
bookworm, sid1.4.18-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libxstream-javasource(unstable)1.4.18-1

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