CVE-2021-21344

NameCVE-2021-21344
DescriptionXStream is a Java library to serialize objects to XML and back again. In XStream before version 1.4.16, there is a vulnerability which may allow a remote attacker to load and execute arbitrary code from a remote host 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. If you rely on XStream's default blacklist of the Security Framework, you will have to use at least version 1.4.16.
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)
ReferencesDLA-2616-1
NVD severityhigh
Debian Bugs985843

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+deb9u4fixed
buster, buster (security)1.4.11.1-1+deb10u2vulnerable
bullseye1.4.15-3fixed
bookworm, sid1.4.18-2fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libxstream-javasourcestretch1.4.11.1-1+deb9u2DLA-2616-1
libxstream-javasource(unstable)1.4.15-2985843

Notes

https://github.com/x-stream/xstream/security/advisories/GHSA-59jw-jqf4-3wq3

Search for package or bug name: Reporting problems