{"id":"CVE-2021-29505","published":"2021-05-28T21:00:19Z","modified":"2026-10-07T20:02:25Z","title":"XStream is vulnerable to a Remote Command Execution attack","vendor":"x-stream","product":"xstream","tier":"core","eol":null,"affectedVersions":[{"vendor":"x-stream","product":"xstream","versions":["< 1.4.17"]}],"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"The XStream Java library for serializing objects to XML and back, in versions prior to 1.4.17, contains a deserialization code injection flaw.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:12:46Z"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.77232,"percentile":0.99553,"date":"2026-10-29","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":2,"pulses":[{"name":"Oracle Critical Patch Update Advisory - April 2022","url":"https://otx.alienvault.com/pulse/626040216e00cd388b1b9180","created":"2022-04-20"},{"name":"actualización | para Red Hat Data Grid.","url":"https://otx.alienvault.com/pulse/620a7c61440979287380fca4","created":"2022-02-14"}],"provenance":"machine"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"},{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"references":[{"url":"https://github.com/x-stream/xstream/security/advisories/GHSA-7chv-rrw6-w6fc","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/x-stream/xstream/commit/24fac82191292c6ae25f94508d28b9823f83624f","tags":["x_refsource_MISC"]},{"url":"https://github.com/x-stream/xstream/commit/f0c4a8d861b68ffc3119cfbbbd632deee624e227","tags":["x_refsource_MISC"]},{"url":"https://lists.apache.org/thread.html/r8ee51debf7fd184b6a6b020dc31df25118b0aa612885f12fbe77f04f@%3Cdev.jmeter.apache.org%3E","tags":["x_refsource_MISC"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/07/msg00004.html","tags":["x_refsource_MISC"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/22KVR6B5IZP3BGQ3HPWIO2FWWCKT3DHP","tags":["x_refsource_MISC"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PVPHZA7VW2RRSDCOIPP2W6O5ND254TU7","tags":["x_refsource_MISC"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QGXIU3YDPG6OGTDHMBLAFN7BPBERXREB","tags":["x_refsource_MISC"]},{"url":"https://security.netapp.com/advisory/ntap-20210708-0007","tags":["x_refsource_MISC"]},{"url":"https://www.debian.org/security/2021/dsa-5004","tags":["x_refsource_MISC"]},{"url":"https://www.oracle.com/security-alerts/cpuapr2022.html","tags":["x_refsource_MISC"]},{"url":"https://www.oracle.com/security-alerts/cpujan2022.html","tags":["x_refsource_MISC"]},{"url":"https://www.oracle.com/security-alerts/cpujul2022.html","tags":["x_refsource_MISC"]},{"url":"https://www.oracle.com/security-alerts/cpuoct2021.html","tags":["x_refsource_MISC"]},{"url":"https://x-stream.github.io/CVE-2021-29505.html","tags":["x_refsource_MISC"]},{"url":"https://lists.apache.org/thread.html/r8ee51debf7fd184b6a6b020dc31df25118b0aa612885f12fbe77f04f%40%3Cdev.jmeter.apache.org%3E","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/22KVR6B5IZP3BGQ3HPWIO2FWWCKT3DHP/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QGXIU3YDPG6OGTDHMBLAFN7BPBERXREB/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"https://security.netapp.com/advisory/ntap-20210708-0007/","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PVPHZA7VW2RRSDCOIPP2W6O5ND254TU7/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]}],"techniques":[],"reports":[],"affected":[{"ecosystem":"Maven","package":"com.thoughtworks.xstream:xstream","vulnerableRanges":["<1.4.17"],"patched":["1.4.17"],"from":["GHSA-7chv-rrw6-w6fc"],"provenance":"source"}],"advisories":[{"id":"GHSA-7chv-rrw6-w6fc","url":"https://github.com/advisories/GHSA-7chv-rrw6-w6fc","severity":"HIGH","ecosystem":"Maven","package":"com.thoughtworks.xstream:xstream","vulnerableRanges":["<1.4.17"],"patched":["1.4.17"],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2021-0996","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2021-0996","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":{"pocGithub":{"count":1,"skipped":1,"earliest":"2021-06-08","earliestUrl":"https://github.com/MyBlackManba/CVE-2021-29505","repos":[{"name":"MyBlackManba/CVE-2021-29505","url":"https://github.com/MyBlackManba/CVE-2021-29505","stars":6,"created":"2021-06-08"}]},"nuclei":[{"id":"CVE-2021-29505","name":"XStream <1.4.17 - Remote Code Execution","severity":"high","path":"http/cves/2021/CVE-2021-29505.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-29505.yaml"}],"first":{"date":"2021-06-08","source":"PoC-in-GitHub","url":"https://github.com/MyBlackManba/CVE-2021-29505"},"provenance":"source"},"exploitRefs":[],"flow":[],"timeline":[{"date":"2021-05-28","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2021-29505","provenance":"source"},{"date":"2021-06-08","kind":"exploit-public","label":"First public exploit: PoC-in-GitHub","url":"https://github.com/MyBlackManba/CVE-2021-29505","provenance":"source"}],"speed":{"daysToPublicExploit":11,"firstExploitFrom":"PoC-in-GitHub","daysToKev":null},"priority":{"score":31.2,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.91,"detail":"percentile 0.9955"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 PoC-in-GitHub repo; 1 nuclei template"},{"name":"Mentioned in OTX pulses","points":1.08,"detail":"2 pulses"},{"name":"CVSS severity","points":5.25,"detail":"base score 7.5"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}