CVE-2021-21345
CVE-2021-21345 · XStream is vulnerable to a Remote Command Execution attack
CVSS 5.8 · Medium · EPSS 72.3% · Public exploit · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- xstreamNo fix published
- libxstream-java Debian 12Update to 1.4.15-2
- libxstream-java Debian 13Update to 1.4.15-2
- libxstream-java Debian 14Update to 1.4.15-2
- and 4 more
Check the installed version:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="libxstream-java"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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 who has sufficient rights to execute commands of the 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.
- Published
- Updated
Fixes in distributions
- RHSA-2021:1354 · Red Hat Enterprise Linux 7 client, Red Hat Enterprise Linux 7 computenode, Red Hat Enterprise Linux 7 server, Red Hat Enterprise Linux 7 workstation ·
- USN-6978-1 · Ubuntu Pro 14.04 LTS, Ubuntu Pro 16.04 LTS ·
- openSUSE-SU-2024:10592-1 · openSUSE Tumbleweed ·
- openSUSE-SU-2021:1840-1 · openSUSE Leap 15.3 ·
- SUSE-SU-2021:1840-2 · SUSE Manager Server Module 4.2 ·
- openSUSE-SU-2021:0832-1 · openSUSE Leap 15.2 ·
- SUSE-SU-2021:1840-1 · SUSE Linux Enterprise Module for Development Tools 15 SP2, SUSE Linux Enterprise Module for Development Tools 15 SP3, SUSE Manager Server Module 4.1 ·
- USN-4943-1 · Ubuntu 18.04 LTS, Ubuntu 20.04 LTS ·
- DLA-2616-1 · Debian 9 ·
Stack: system
Affected products and versions
xstream
- Versions
- < 1.4.16: Affected
No fix published
libxstream-java Debian 12
- Affected ranges
- ECOSYSTEM: < 1.4.15-2
Update to 1.4.15-2
libxstream-java Debian 13
- Affected ranges
- ECOSYSTEM: < 1.4.15-2
Update to 1.4.15-2
libxstream-java Debian 14
- Affected ranges
- ECOSYSTEM: < 1.4.15-2
Update to 1.4.15-2
libxstream-java Ubuntu Pro 14.04 LTS
- Versions
- 1.4.4-1
- 1.4.7-1
- 1.4.7-1ubuntu0.1
- 1.4.7-1ubuntu0.1+esm1
- Affected ranges
- ECOSYSTEM: < 1.4.7-1ubuntu0.1+esm2
Update to 1.4.7-1ubuntu0.1+esm2
libxstream-java Ubuntu Pro 16.04 LTS
- Versions
- 1.4.8-1
- 1.4.8-1ubuntu0.1
- 1.4.8-1ubuntu0.1+esm1
- 1.4.8-1ubuntu0.1+esm2
- Affected ranges
- ECOSYSTEM: < 1.4.8-1ubuntu0.1+esm3
Update to 1.4.8-1ubuntu0.1+esm3
libxstream-java Ubuntu 18.04 LTS
- Versions
- 1.4.10-1
- 1.4.11.1-1~18.04
- 1.4.11.1-1~18.04.1
- Affected ranges
- ECOSYSTEM: < 1.4.11.1-1~18.04.2
Update to 1.4.11.1-1~18.04.2
libxstream-java Ubuntu 20.04 LTS
- Versions
- 1.4.11.1-1
- 1.4.11.1-1ubuntu0.1
- Affected ranges
- ECOSYSTEM: < 1.4.11.1-1ubuntu0.2
Update to 1.4.11.1-1ubuntu0.2
Original sources
- https://x-stream.github.io/security.html#workaround
- http://x-stream.github.io/changes.html#1.4.16
- https://github.com/x-stream/xstream/security/advisories/GHSA-hwpc-8xqv-jvj4
- https://x-stream.github.io/CVE-2021-21345.html
- https://lists.debian.org/debian-lts-announce/2021/04/msg00002.html
- https://lists.apache.org/thread.html/r9ac71b047767205aa22e3a08cb33f3e0586de6b2fac48b425c6e16b0%40%3Cdev.jmeter.apache.org%3E
- https://lists.apache.org/thread.html/r8244fd0831db894d5e89911ded9c72196d395a90ae655414d23ed0dd%40%3Cusers.activemq.apache.org%3E
- https://www.oracle.com/security-alerts/cpuApr2021.html
- https://security.netapp.com/advisory/ntap-20210430-0002/
- https://www.oracle.com//security-alerts/cpujul2021.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/22KVR6B5IZP3BGQ3HPWIO2FWWCKT3DHP/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QGXIU3YDPG6OGTDHMBLAFN7BPBERXREB/
- https://www.oracle.com/security-alerts/cpuoct2021.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PVPHZA7VW2RRSDCOIPP2W6O5ND254TU7/
- https://www.debian.org/security/2021/dsa-5004
- https://www.oracle.com/security-alerts/cpujan2022.html
- https://nvd.nist.gov/vuln/detail/CVE-2021-21345