Vulnerability · Published May 28, 2021 · Assigned by GitHub_M
CVE-2021-29505XStream is vulnerable to a Remote Command Execution attack
High 7.5
In plain English
A high-severity code injection in xstream from x-stream. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 77.2% (higher than 99.6% of all known vulnerabilities). Ready-made attack tooling exists: Nuclei, public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Official 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 & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | libxstream-java | 1.4.15-3 | DEBIAN-CVE-2021-29505 |
| Debian:13 | libxstream-java | 1.4.15-3 | DEBIAN-CVE-2021-29505 |
| Debian:14 | libxstream-java | 1.4.15-3 | DEBIAN-CVE-2021-29505 |
| Maven | com.thoughtworks.xstream:xstream | 1.4.17 | GHSA-7chv-rrw6-w6fc |
Affected products (as reported)
Weakness: CWE-94, CWE-502 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/x-stream/xstream/security/advisories/GHSA-7chv-rrw6-w6fc x_refsource_CONFIRM
- https://github.com/x-stream/xstream/commit/24fac82191292c6ae25f94508d28b9823f83624f x_refsource_MISC
- https://github.com/x-stream/xstream/commit/f0c4a8d861b68ffc3119cfbbbd632deee624e227 x_refsource_MISC
- https://lists.apache.org/thread.html/r8ee51debf7fd184b6a6b020dc31df25118b0aa612885f12fbe77f04f@%3Cdev.jmeter.apache.org%3E x_refsource_MISC
- https://lists.debian.org/debian-lts-announce/2021/07/msg00004.html x_refsource_MISC
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/22KVR6B5IZP3BGQ3HPWIO2FWWCKT3DHP x_refsource_MISC
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PVPHZA7VW2RRSDCOIPP2W6O5ND254TU7 x_refsource_MISC
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QGXIU3YDPG6OGTDHMBLAFN7BPBERXREB x_refsource_MISC
- https://security.netapp.com/advisory/ntap-20210708-0007 x_refsource_MISC
- https://www.debian.org/security/2021/dsa-5004 x_refsource_MISC
- https://www.oracle.com/security-alerts/cpuapr2022.html x_refsource_MISC
- https://www.oracle.com/security-alerts/cpujan2022.html x_refsource_MISC
- https://www.oracle.com/security-alerts/cpujul2022.html x_refsource_MISC
- https://www.oracle.com/security-alerts/cpuoct2021.html x_refsource_MISC
- https://x-stream.github.io/CVE-2021-29505.html x_refsource_MISC
- [jmeter-dev] 20210607 [GitHub] [jmeter] sseide opened a new pull request #667: update x-stream to 1.4.17 (from 1.4.16) mailing-list, x_refsource_MLIST, x_transferred
- FEDORA-2021-fbad11014a vendor-advisory, x_refsource_FEDORA, x_transferred
- FEDORA-2021-d894ca87dc vendor-advisory, x_refsource_FEDORA, x_transferred
- https://security.netapp.com/advisory/ntap-20210708-0007/ x_refsource_CONFIRM, x_transferred
- FEDORA-2021-5e376c0ed9 vendor-advisory, x_refsource_FEDORA, x_transferred