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) | bullseye (security), bullseye | 1.4.15-3+deb11u2 | vulnerable |
| bookworm | 1.4.20-1 | vulnerable |
| sid, trixie | 1.4.21-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.