Name | CVE-2022-40151 |
Description | Those 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. |
Source | CVE (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 Package | Release | Version | Status |
---|
libxstream-java (PTS) | jessie, jessie (lts) | 1.4.11.1-1+deb8u6 | vulnerable |
| stretch (security) | 1.4.11.1-1+deb9u5 | vulnerable |
| stretch (lts), stretch | 1.4.11.1-1+deb9u6 | vulnerable |
| buster (security), buster, buster (lts) | 1.4.11.1-1+deb10u4 | vulnerable |
| bullseye (security), bullseye | 1.4.15-3+deb11u2 | vulnerable |
| sid, trixie, bookworm | 1.4.20-1 | vulnerable |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
libxstream-java | source | (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.