CVE-2017-7957

NameCVE-2017-7957
DescriptionXStream through 1.4.9, when a certain denyTypes workaround is not used, mishandles attempts to create an instance of the primitive type 'void' during unmarshalling, leading to a remote application crash, as demonstrated by an xstream.fromXML("<void/>") call.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-930-1, DSA-3841-1
Debian Bugs861521

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-javasourcewheezy1.4.2-1+deb7u2DLA-930-1
libxstream-javasourcejessie1.4.7-2+deb8u2DSA-3841-1
libxstream-javasource(unstable)1.4.9-2861521

Notes

https://x-stream.github.io/CVE-2017-7957.html
Fixed by: https://github.com/x-stream/xstream/commit/b3570be

Search for package or bug name: Reporting problems