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, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more) |
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 | 1.4.11.1-1+deb10u3 | vulnerable | |
buster (security) | 1.4.11.1-1+deb10u4 | vulnerable | |
bullseye | 1.4.15-3+deb11u1 | vulnerable | |
bullseye (security) | 1.4.15-3+deb11u2 | vulnerable | |
sid, 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 |
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.