{"id":"CVE-2021-21345","details":"XStream is a Java library to serialize objects to XML and back again. In XStream before version 1.4.16, there is a vulnerability which may allow a remote attacker who has sufficient rights to execute commands of the host only by manipulating the processed input stream. No user is affected, who followed the recommendation to setup XStream's security framework with a whitelist limited to the minimal required types. If you rely on XStream's default blacklist of the Security Framework, you will have to use at least version 1.4.16.","aliases":["BIT-activemq-2021-21345","GHSA-hwpc-8xqv-jvj4"],"modified":"2026-04-10T04:29:37.230854Z","published":"2021-03-23T00:15:12.787Z","related":["GHSA-hwpc-8xqv-jvj4","MGASA-2021-0370","SUSE-SU-2021:1840-1","SUSE-SU-2021:1840-2","openSUSE-SU-2021:0832-1","openSUSE-SU-2021:1840-1","openSUSE-SU-2024:10592-1"],"references":[{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/22KVR6B5IZP3BGQ3HPWIO2FWWCKT3DHP/"},{"type":"ADVISORY","url":"https://www.oracle.com//security-alerts/cpujul2021.html"},{"type":"ADVISORY","url":"https://www.oracle.com/security-alerts/cpuoct2021.html"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2021/04/msg00002.html"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QGXIU3YDPG6OGTDHMBLAFN7BPBERXREB/"},{"type":"ADVISORY","url":"http://x-stream.github.io/changes.html#1.4.16"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PVPHZA7VW2RRSDCOIPP2W6O5ND254TU7/"},{"type":"ADVISORY","url":"https://www.debian.org/security/2021/dsa-5004"},{"type":"ADVISORY","url":"https://x-stream.github.io/security.html#workaround"},{"type":"ADVISORY","url":"https://github.com/x-stream/xstream/security/advisories/GHSA-hwpc-8xqv-jvj4"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20210430-0002/"},{"type":"REPORT","url":"https://lists.apache.org/thread.html/r8244fd0831db894d5e89911ded9c72196d395a90ae655414d23ed0dd%40%3Cusers.activemq.apache.org%3E"},{"type":"REPORT","url":"https://lists.apache.org/thread.html/r9ac71b047767205aa22e3a08cb33f3e0586de6b2fac48b425c6e16b0%40%3Cdev.jmeter.apache.org%3E"},{"type":"FIX","url":"https://www.oracle.com/security-alerts/cpujan2022.html"},{"type":"FIX","url":"https://www.oracle.com/security-alerts/cpuApr2021.html"},{"type":"EVIDENCE","url":"https://x-stream.github.io/CVE-2021-21345.html"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/apache/activemq","events":[{"introduced":"0"},{"fixed":"a0d4141a00ba5de4afaee160836898b41eb28065"},{"introduced":"0"},{"last_affected":"86dd78b1aa64cbf0af15669c0e4af62dfae0d158"},{"introduced":"0"},{"last_affected":"e432a78c19e9c30b5afd84e591a428734ad55431"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"5.15.14"},{"introduced":"0"},{"last_affected":"5.16.0"},{"introduced":"0"},{"last_affected":"5.16.1"}]}},{"type":"GIT","repo":"https://github.com/apache/jmeter","events":[{"introduced":"0"},{"fixed":"7153c74dd0e860d0ca3825cc5a23e976e0242b6e"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"5.5"}]}},{"type":"GIT","repo":"https://github.com/x-stream/xstream","events":[{"introduced":"0"},{"fixed":"3dd9cc610199802e4f13bd49b02a9f99adaba145"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"1.4.16"}]}}],"versions":["5.2-rc4","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_5","XSTREAM_1_4_9","activemq-5.10.0","activemq-5.11.0","activemq-5.12.0","activemq-5.13.0","activemq-5.14.0","activemq-5.15.0","activemq-5.15.1","activemq-5.15.10","activemq-5.15.11","activemq-5.15.12","activemq-5.15.13","activemq-5.15.2","activemq-5.15.3","activemq-5.15.4","activemq-5.15.5","activemq-5.15.6","activemq-5.15.7","activemq-5.15.8","activemq-5.15.9","activemq-5.16.0","activemq-5.16.1","activemq-5.9.0","rel/v5.2","rel/v5.2.1","rel/v5.3","rel/v5.4","rel/v5.4.1","v5.2-rc1","v5.2-rc2","v5.2-rc3","v5.2-rc4","v5.2-rc5","v5.2.1-rc1","v5.2.1-rc4","v5.2.1-rc5","v5.3-rc1","v5.4-rc1","v5.4-rc2","v5.4.1-rc1","v5.4.1-rc2","v5.5-rc1","v5.5-rc2","v5_2_RC1"],"database_specific":{"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":"2.10.0"}]},{"events":[{"introduced":"0"},{"last_affected":"2.12.0"}]},{"events":[{"introduced":"0"},{"last_affected":"2.4.0"}]},{"events":[{"introduced":"0"},{"last_affected":"2.7.1"}]},{"events":[{"introduced":"0"},{"last_affected":"2.9.0"}]},{"events":[{"introduced":"0"},{"last_affected":"2.12.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":"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":"12.0.0.3.0"}]},{"events":[{"introduced":"0"},{"last_affected":"12.5.0"}]},{"events":[{"introduced":"0"},{"last_affected":"7.3.2"}]},{"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":"8.58"}]},{"events":[{"introduced":"0"},{"last_affected":"8.59"}]},{"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":"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"}]}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-21345.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"}]}