{"id":"CVE-2021-29505","details":"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.","aliases":["GHSA-7chv-rrw6-w6fc"],"modified":"2026-04-16T04:32:38.720019224Z","published":"2021-05-28T21:15:08.713Z","related":["GHSA-7chv-rrw6-w6fc","SUSE-SU-2021:1995-1","openSUSE-SU-2021:0911-1","openSUSE-SU-2021:1995-1","openSUSE-SU-2024:10592-1"],"references":[{"type":"WEB","url":"https://lists.apache.org/thread.html/r8ee51debf7fd184b6a6b020dc31df25118b0aa612885f12fbe77f04f@%3Cdev.jmeter.apache.org%3E"},{"type":"WEB","url":"https://x-stream.github.io/CVE-2021-29505.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PVPHZA7VW2RRSDCOIPP2W6O5ND254TU7"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/22KVR6B5IZP3BGQ3HPWIO2FWWCKT3DHP"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QGXIU3YDPG6OGTDHMBLAFN7BPBERXREB"},{"type":"ADVISORY","url":"https://github.com/x-stream/xstream/security/advisories/GHSA-7chv-rrw6-w6fc"},{"type":"ADVISORY","url":"https://www.oracle.com/security-alerts/cpujul2022.html"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20210708-0007"},{"type":"ADVISORY","url":"https://www.oracle.com/security-alerts/cpuoct2021.html"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20210708-0007/"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2021/07/msg00004.html"},{"type":"ADVISORY","url":"https://www.debian.org/security/2021/dsa-5004"},{"type":"REPORT","url":"https://lists.apache.org/thread.html/r8ee51debf7fd184b6a6b020dc31df25118b0aa612885f12fbe77f04f%40%3Cdev.jmeter.apache.org%3E"},{"type":"FIX","url":"https://github.com/x-stream/xstream/commit/24fac82191292c6ae25f94508d28b9823f83624f"},{"type":"FIX","url":"https://github.com/x-stream/xstream/commit/f0c4a8d861b68ffc3119cfbbbd632deee624e227"},{"type":"FIX","url":"https://www.oracle.com/security-alerts/cpujan2022.html"},{"type":"FIX","url":"https://www.oracle.com/security-alerts/cpuapr2022.html"},{"type":"ARTICLE","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PVPHZA7VW2RRSDCOIPP2W6O5ND254TU7/"},{"type":"ARTICLE","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/22KVR6B5IZP3BGQ3HPWIO2FWWCKT3DHP/"},{"type":"ARTICLE","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QGXIU3YDPG6OGTDHMBLAFN7BPBERXREB/"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/x-stream/xstream","events":[{"introduced":"0"},{"fixed":"25eaa5034fca7a492605936ea880132c98bec237"},{"fixed":"24fac82191292c6ae25f94508d28b9823f83624f"},{"fixed":"f0c4a8d861b68ffc3119cfbbbd632deee624e227"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"1.4.17"}]}}],"versions":["XSTREAM_1_4_10","XSTREAM_1_4_11","XSTREAM_1_4_11_1","XSTREAM_1_4_12","XSTREAM_1_4_13","XSTREAM_1_4_14","XSTREAM_1_4_15","XSTREAM_1_4_16","XSTREAM_1_4_5","XSTREAM_1_4_9"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-29505.json","vanir_signatures_modified":"2026-04-11T17:12:20Z","unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"9.0"}]},{"events":[{"introduced":"0"},{"last_affected":"10.0"}]},{"events":[{"introduced":"0"},{"last_affected":"11.0"}]},{"events":[{"introduced":"0"},{"last_affected":"33"}]},{"events":[{"introduced":"0"},{"last_affected":"34"}]},{"events":[{"introduced":"0"},{"last_affected":"35"}]},{"events":[{"introduced":"0"},{"last_affected":"14.2"}]},{"events":[{"introduced":"0"},{"last_affected":"14.3"}]},{"events":[{"introduced":"0"},{"last_affected":"14.5"}]},{"events":[{"introduced":"0"},{"last_affected":"14.2.0"}]},{"events":[{"introduced":"0"},{"last_affected":"14.3.0"}]},{"events":[{"introduced":"0"},{"last_affected":"14.5.0"}]},{"events":[{"introduced":"0"},{"last_affected":"14.2.0"}]},{"events":[{"introduced":"0"},{"last_affected":"14.3.0"}]},{"events":[{"introduced":"0"},{"last_affected":"14.5.0"}]},{"events":[{"introduced":"0"},{"last_affected":"14.2.0"}]},{"events":[{"introduced":"0"},{"last_affected":"14.5.0"}]},{"events":[{"introduced":"0"},{"last_affected":"11.1.1.9.0"}]},{"events":[{"introduced":"0"},{"last_affected":"12.2.1.3.0"}]},{"events":[{"introduced":"0"},{"last_affected":"12.2.1.4.0"}]},{"events":[{"introduced":"0"},{"last_affected":"11.3"}]},{"events":[{"introduced":"0"},{"last_affected":"12.0"}]},{"events":[{"introduced":"0"},{"last_affected":"7.3.4"}]},{"events":[{"introduced":"0"},{"last_affected":"7.3.5"}]},{"events":[{"introduced":"0"},{"last_affected":"7.4.0"}]},{"events":[{"introduced":"0"},{"last_affected":"7.4.1"}]},{"events":[{"introduced":"0"},{"last_affected":"7.4.2"}]},{"events":[{"introduced":"0"},{"last_affected":"12.4.0.0"}]},{"events":[{"introduced":"0"},{"last_affected":"15.0.2"}]},{"events":[{"introduced":"0"},{"last_affected":"16.0.2"}]},{"events":[{"introduced":"0"},{"last_affected":"16.0.6"}]},{"events":[{"introduced":"0"},{"last_affected":"17.0.4"}]},{"events":[{"introduced":"0"},{"last_affected":"18.0.3"}]},{"events":[{"introduced":"0"},{"last_affected":"19.0.2"}]},{"events":[{"introduced":"0"},{"last_affected":"20.0.1"}]},{"events":[{"introduced":"0"},{"last_affected":"12.2.1.3.0"}]},{"events":[{"introduced":"0"},{"last_affected":"12.2.1.4.0"}]},{"events":[{"introduced":"0"},{"last_affected":"12.2.1.3.0"}]},{"events":[{"introduced":"0"},{"last_affected":"12.2.1.4.0"}]}],"vanir_signatures":[{"deprecated":false,"digest":{"function_hash":"55529827059998388985835589218509171525","length":897},"signature_type":"Function","id":"CVE-2021-29505-01e2ea1b","target":{"file":"xstream/src/java/com/thoughtworks/xstream/XStream.java","function":"setupSecurity"},"signature_version":"v1","source":"https://github.com/x-stream/xstream/commit/f0c4a8d861b68ffc3119cfbbbd632deee624e227"},{"source":"https://github.com/x-stream/xstream/commit/f0c4a8d861b68ffc3119cfbbbd632deee624e227","digest":{"threshold":0.9,"line_hashes":["228053600362383738383378574221655207960","315590729455584714180717487731983745448","257878284676754907993801838307504860032","231257142268735163893318086460227527786","183765047426471769504861481430198288414","161229857215197968276439161291882057455","304544354710807799641371135251598970303","264527588790798306887948232623981151266","87393381625111131561526952720266719235","130273361020895782069120355560557146251","154828802101872288206305236334275778530","259768556357375405967654864082038448418","74605625453746711180847749475408939299","204716482209653724790252231288128673691"]},"signature_type":"Line","id":"CVE-2021-29505-734e63e4","target":{"file":"xstream/src/java/com/thoughtworks/xstream/XStream.java"},"signature_version":"v1","deprecated":false}]}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}