CVE-2021-29505

NameCVE-2021-29505
DescriptionXStream is software for serializing Java objects to XML and back again. A vulnerability in XStream versions prior to 1.4.17 may allow a remote attacker has sufficient rights to execute commands of the host only by manipulating the processed input stream. No user who followed the recommendation to setup XStream's security framework with a whitelist limited to the minimal required types is affected. The vulnerability is patched in version 1.4.17.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-2704-1, ELA-455-1
Debian Bugs989491

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
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+deb8u3ELA-455-1
libxstream-javasourcestretch1.4.11.1-1+deb9u3DLA-2704-1
libxstream-javasourcebuster1.4.11.1-1+deb10u3
libxstream-javasource(unstable)1.4.15-3989491

Notes

https://github.com/x-stream/xstream/security/advisories/GHSA-7chv-rrw6-w6fc
https://github.com/x-stream/xstream/commit/f0c4a8d861b68ffc3119cfbbbd632deee624e227 (v1.4.17)

Search for package or bug name: Reporting problems