Ubuntu CVE Tracker
UBUNTU-CVE-2021-21346
Details
XStream is a Java library to serialize objects to XML and back again. In XStream before version 1.4.16, there is a vulnerability which may allow a remote attacker to load and execute arbitrary code from a remote host 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) |
| Ubuntu:22.04:LTS | libxstream-java | All versions, no fix listed |
References
- https://ubuntu.com/security/CVE-2021-21346
- https://github.com/x-stream/xstream/security/advisories/GHSA-4hrm-m67v-5cxr
- http://x-stream.github.io/changes.html#1.4.16
- https://x-stream.github.io/CVE-2021-21346.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-21346
- https://ubuntu.com/security/notices/USN-6978-1