CVE-2021-29505
HIGH7.5EPSS 90.3%XStream is vulnerable to a Remote Command Execution attack
Published: 5/18/2021Modified: 4/28/2026
Description
XStream is software for serializing Java objects to XML and back again. A vulnerability in XStream versions prior to 1.4.17 may allow a remote attacker has sufficient rights to execute commands of the host only by manipulating the processed input stream. No user who followed the recommendation to setup XStream's security framework with a whitelist limited to the minimal required types is affected. The vulnerability is patched in version 1.4.17.
Affected packages (3)
- Debian/libxstream-javafrom 0, < 1.4.15-3
- Debian/libxstream-javafrom 0, < 1.4.11.1-1+deb9u3
- Maven/com.thoughtworks.xstream:xstreamfrom 0, < 1.4.17
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
References (22)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2021-29505
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2021-29505
- PATCHhttps://github.com/x-stream/xstream
- WEBhttps://github.com/x-stream/xstream/commit/24fac82191292c6ae25f94508d28b9823f83624f
- WEBhttps://github.com/x-stream/xstream/commit/f0c4a8d861b68ffc3119cfbbbd632deee624e227
- WEBhttps://github.com/x-stream/xstream/security/advisories/GHSA-7chv-rrw6-w6fc
- WEBhttps://lists.apache.org/thread.html/r8ee51debf7fd184b6a6b020dc31df25118b0aa612885f12fbe77f04f@%3Cdev.jmeter.apache.org%3E
- WEBhttps://lists.apache.org/thread.html/r8ee51debf7fd184b6a6b020dc31df25118b0aa612885f12fbe77f04f%40%3Cdev.jmeter.apache.org%3E
- WEBhttps://lists.debian.org/debian-lts-announce/2021/07/msg00004.html
- WEBhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/22KVR6B5IZP3BGQ3HPWIO2FWWCKT3DHP
- WEBhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PVPHZA7VW2RRSDCOIPP2W6O5ND254TU7
- WEBhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QGXIU3YDPG6OGTDHMBLAFN7BPBERXREB
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/22KVR6B5IZP3BGQ3HPWIO2FWWCKT3DHP
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/PVPHZA7VW2RRSDCOIPP2W6O5ND254TU7
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/QGXIU3YDPG6OGTDHMBLAFN7BPBERXREB
- WEBhttps://security.netapp.com/advisory/ntap-20210708-0007
- WEBhttps://www.debian.org/security/2021/dsa-5004
- WEBhttps://www.oracle.com/security-alerts/cpuapr2022.html
- WEBhttps://www.oracle.com/security-alerts/cpujan2022.html
- WEBhttps://www.oracle.com/security-alerts/cpujul2022.html
- WEBhttps://www.oracle.com/security-alerts/cpuoct2021.html
- WEBhttps://x-stream.github.io/CVE-2021-29505.html