CVE-2021-29505XStream is vulnerable to a Remote Command Execution attack
- 7.5HighCVSS base score
- 77.2%Exploitation in 30 daysEPSS · top 0.4% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- 1Public exploitsMetasploit, Nuclei and Exploit-DB
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.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list a Nuclei template for it.
Show the exploits1
Nuclei templates1 template
- XStream <1.4.17 - Remote Code Execution (Nuclei template) (opens in a new tab)
http/cves/2021/CVE-2021-29505.yamlSeverity high
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By GitHub_M
- 59 days later
· 59 days later
Published
- 5 years later
· 5 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Modified | 3.1 | High8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 77.2% · top 0.4% of all CVEs (18 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Affected products
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavencom.thoughtworks.xstream:xstreamGHSA-7chv-rrw6-w6fc (opens in a new tab)
References
References20
- https://github.com/x-stream/xstream/security/advisories/GHSA-7chv-rrw6-w6fc (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://github.com/x-stream/xstream/commit/24fac82191292c6ae25f94508d28b9823f83624f (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/x-stream/xstream/commit/f0c4a8d861b68ffc3119cfbbbd632deee624e227 (opens in a new tab)x_refsource_MISC
- https://lists.apache.org/thread.html/r8ee51debf7fd184b6a6b020dc31df25118b0aa612885f12fbe77f04f@%3Cdev.jmeter.apache.org%3E (opens in a new tab)x_refsource_MISC
- https://lists.debian.org/debian-lts-announce/2021/07/msg00004.html (opens in a new tab)x_refsource_MISCmailing-listx_refsource_MLISTx_transferred
- https://lists.fedoraproject.org/archives/list/[email protected]/message/22KVR6B5IZP3BGQ3HPWIO2FWWCKT3DHP (opens in a new tab)x_refsource_MISC
- https://lists.fedoraproject.org/archives/list/[email protected]/message/PVPHZA7VW2RRSDCOIPP2W6O5ND254TU7 (opens in a new tab)x_refsource_MISC
- https://lists.fedoraproject.org/archives/list/[email protected]/message/QGXIU3YDPG6OGTDHMBLAFN7BPBERXREB (opens in a new tab)x_refsource_MISC
- https://security.netapp.com/advisory/ntap-20210708-0007 (opens in a new tab)x_refsource_MISC
- https://www.debian.org/security/2021/dsa-5004 (opens in a new tab)x_refsource_MISCvendor-advisoryx_refsource_DEBIANx_transferred
- https://www.oracle.com/security-alerts/cpuapr2022.html (opens in a new tab)x_refsource_MISCx_transferred
- https://www.oracle.com/security-alerts/cpujan2022.html (opens in a new tab)x_refsource_MISCx_transferred
- https://www.oracle.com/security-alerts/cpujul2022.html (opens in a new tab)x_refsource_MISCx_transferred
- https://www.oracle.com/security-alerts/cpuoct2021.html (opens in a new tab)x_refsource_MISCx_transferred
- https://x-stream.github.io/CVE-2021-29505.html (opens in a new tab)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) (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- FEDORA-2021-fbad11014a (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- FEDORA-2021-d894ca87dc (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- https://security.netapp.com/advisory/ntap-20210708-0007/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- FEDORA-2021-5e376c0ed9 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2021-0996 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-7chv-rrw6-w6fc (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2021-29505)Record last updated .