Ubuntu CVE Tracker
UBUNTU-CVE-2021-21341
Details
XStream is a Java library to serialize objects to XML and back again. In XStream before version 1.4.16, there is vulnerability which may allow a remote attacker to allocate 100% CPU time on the target system depending on CPU type or parallel execution of such a payload resulting in a denial of service only by manipulating the processed input stream. No user is affected who followed the recommendation to setup XStream's security framework with a whitelist limited to the minimal required types. If you rely on XStream's default blacklist of the Security Framework, you will have to use at least version 1.4.16.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:14.04:LTS | libxstream-java | All versions before 1.4.7-1ubuntu0.1+esm2 (fixed in 1.4.7-1ubuntu0.1+esm2) |
| Ubuntu:Pro:16.04:LTS | libxstream-java | All versions before 1.4.8-1ubuntu0.1+esm3 (fixed in 1.4.8-1ubuntu0.1+esm3) |
| Ubuntu:18.04:LTS | libxstream-java | All versions before 1.4.11.1-1~18.04.2 (fixed in 1.4.11.1-1~18.04.2) |
| Ubuntu:20.04:LTS | libxstream-java | All versions before 1.4.11.1-1ubuntu0.2 (fixed in 1.4.11.1-1ubuntu0.2) |
References
- https://ubuntu.com/security/CVE-2021-21341
- https://github.com/x-stream/xstream/security/advisories/GHSA-2p3x-qw9c-25hh
- http://x-stream.github.io/changes.html#1.4.16
- https://x-stream.github.io/CVE-2021-21341.html
- https://x-stream.github.io/security.html#workaround
- https://ubuntu.com/security/notices/USN-4943-1
- https://www.cve.org/CVERecord?id=CVE-2021-21341
- https://ubuntu.com/security/notices/USN-6978-1