CVE-2022-40151

NameCVE-2022-40151
DescriptionThose using Xstream to seralize XML data may be vulnerable to Denial of Service attacks (DOS). If the parser is running on user supplied input, an attacker may supply content that causes the parser to crash by stackoverflow. This effect may support a denial of service attack.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

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+deb8u6vulnerable
stretch (security)1.4.11.1-1+deb9u5vulnerable
stretch (lts), stretch1.4.11.1-1+deb9u6vulnerable
buster (security), buster, buster (lts)1.4.11.1-1+deb10u4vulnerable
bullseye (security), bullseye1.4.15-3+deb11u2vulnerable
sid, trixie, bookworm1.4.20-1vulnerable

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libxstream-javasource(unstable)(unfixed)unimportant

Notes

https://github.com/x-stream/xstream/issues/304
https://github.com/x-stream/xstream/issues/314
https://x-stream.github.io/CVE-2022-40151.html
https://github.com/advisories/GHSA-f8cc-g7j8-xxpm
Only solution for the issue is to catch the StackOverflowError in the client code
calling XStream.

Search for package or bug name: Reporting problems