CVE-2021-29505
XStream is vulnerable to a Remote Command Execution attack
HIGH 8.8EPSS 77.2%
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
- x-stream · xstream
- CVSS v3.1 NVD
- 8.8 HIGH
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - CVSS v3.1 GITHUB
- 7.5 HIGH
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H - CVSS v2.0 NVD
- 6.5 MEDIUM
AV:N/AC:L/Au:S/C:P/I:P/A:P - EPSS
- 77.23% chance of exploitation in the next 30 days, 100th percentile
- Nuclei
- high · CWE-502
- Published
- 2021-05-28
- Updated
- 2026-10-07
Proof-of-concept exploits (2)
- MyBlackManba/CVE-2021-295056★ · 2021-06-08
- cuijiung/xstream-CVE-2021-295050★ · 2025-07-15
Nuclei templates (1)
Vulhub environments (1)
Security advisories
- x-stream/xstream/commit/24fac82191292c6ae25f94508d28b9823f83624f
- x-stream/xstream/security/advisories/GHSA-7chv-rrw6-w6fc
- https://lists.debian.org/debian-lts-announce/2021/07/msg00004.html
- https://security.netapp.com/advisory/ntap-20210708-0007
- https://www.debian.org/security/2021/dsa-5004
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://www.oracle.com/security-alerts/cpujan2022.html
- https://www.oracle.com/security-alerts/cpujul2022.html
- https://www.oracle.com/security-alerts/cpuoct2021.html
- advisories/GHSA-7chv-rrw6-w6fc
- https://lists.apache.org/thread.html/r8ee51debf7fd184b6a6b020dc31df25118b0aa612885f12fbe7…