{"id":"CVE-2021-21342","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 where the processed stream at unmarshalling time contains type information to recreate the formerly written objects. XStream creates therefore new instances based on these type information. An attacker can manipulate the processed input stream and replace or inject objects, that result in a server-side forgery request. 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-21342","GHSA-hvv8-336g-rx3m"],"modified":"2026-05-10T04:14:18.718693201Z","published":"2021-03-23T00:15:12.490Z","related":["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"],"database_specific":{"unresolved_ranges":[{"extracted_events":[{"fixed":"5.15.14"}],"source":"CPE_FIELD","cpe":"cpe:2.3:a:apache:activemq:*:*:*:*:*:*:*:*"},{"extracted_events":[{"last_affected":"5.16.0"}],"source":"CPE_FIELD","cpe":"cpe:2.3:a:apache:activemq:5.16.0:*:*:*:*:*:*:*"},{"extracted_events":[{"last_affected":"5.16.1"}],"cpe":"cpe:2.3:a:apache:activemq:5.16.1:*:*:*:*:*:*:*","source":"CPE_FIELD"},{"extracted_events":[{"last_affected":"2.10.0"}],"source":"CPE_FIELD","cpe":"cpe:2.3:a:oracle:banking_enterprise_default_management:2.10.0:*:*:*:*:*:*:*"},{"extracted_events":[{"last_affected":"2.12.0"}],"cpe":"cpe:2.3:a:oracle:banking_enterprise_default_management:2.12.0:*:*:*:*:*:*:*","source":"CPE_FIELD"},{"extracted_events":[{"last_affected":"2.12.0"}],"cpe":"cpe:2.3:a:oracle:banking_platform:2.12.0:*:*:*:*:*:*:*","source":"CPE_FIELD"},{"extracted_events":[{"last_affected":"2.4.0"}],"cpe":"cpe:2.3:a:oracle:banking_platform:2.4.0:*:*:*:*:*:*:*","source":"CPE_FIELD"},{"extracted_events":[{"last_affected":"2.7.1"}],"cpe":"cpe:2.3:a:oracle:banking_platform:2.7.1:*:*:*:*:*:*:*","source":"CPE_FIELD"},{"extracted_events":[{"last_affected":"2.9.0"}],"source":"CPE_FIELD","cpe":"cpe:2.3:a:oracle:banking_platform:2.9.0:*:*:*:*:*:*:*"},{"extracted_events":[{"last_affected":"14.2.0"}],"source":"CPE_FIELD","cpe":"cpe:2.3:a:oracle:banking_virtual_account_management:14.2.0:*:*:*:*:*:*:*"},{"extracted_events":[{"last_affected":"14.3.0"}],"source":"CPE_FIELD","cpe":"cpe:2.3:a:oracle:banking_virtual_account_management:14.3.0:*:*:*:*:*:*:*"},{"extracted_events":[{"last_affected":"14.5.0"}],"source":"CPE_FIELD","cpe":"cpe:2.3:a:oracle:banking_virtual_account_management:14.5.0:*:*:*:*:*:*:*"},{"extracted_events":[{"last_affected":"11.1.1.9.0"}],"cpe":"cpe:2.3:a:oracle:business_activity_monitoring:11.1.1.9.0:*:*:*:*:*:*:*","source":"CPE_FIELD"},{"extracted_events":[{"last_affected":"12.2.1.3.0"}],"source":"CPE_FIELD","cpe":"cpe:2.3:a:oracle:business_activity_monitoring:12.2.1.3.0:*:*:*:*:*:*:*"},{"extracted_events":[{"last_affected":"12.2.1.4.0"}],"source":"CPE_FIELD","cpe":"cpe:2.3:a:oracle:business_activity_monitoring:12.2.1.4.0:*:*:*:*:*:*:*"},{"extracted_events":[{"last_affected":"12.0.0.3"}],"source":"CPE_FIELD","cpe":"cpe:2.3:a:oracle:communications_brm_-_elastic_charging_engine:12.0.0.3:*:*:*:*:*:*:*"},{"extracted_events":[{"last_affected":"12.5.0"}],"source":"CPE_FIELD","cpe":"cpe:2.3:a:oracle:communications_policy_management:12.5.0:*:*:*:*:*:*:*"},{"extracted_events":[{"last_affected":"7.3.2"}],"source":"CPE_FIELD","cpe":"cpe:2.3:a:oracle:communications_unified_inventory_management:7.3.2:*:*:*:*:*:*:*"},{"extracted_events":[{"last_affected":"7.3.4"}],"source":"CPE_FIELD","cpe":"cpe:2.3:a:oracle:communications_unified_inventory_management:7.3.4:*:*:*:*:*:*:*"},{"extracted_events":[{"last_affected":"7.3.5"}],"source":"CPE_FIELD","cpe":"cpe:2.3:a:oracle:communications_unified_inventory_management:7.3.5:*:*:*:*:*:*:*"},{"extracted_events":[{"last_affected":"7.4.0"}],"cpe":"cpe:2.3:a:oracle:communications_unified_inventory_management:7.4.0:*:*:*:*:*:*:*","source":"CPE_FIELD"},{"extracted_events":[{"last_affected":"7.4.1"}],"source":"CPE_FIELD","cpe":"cpe:2.3:a:oracle:communications_unified_inventory_management:7.4.1:*:*:*:*:*:*:*"},{"extracted_events":[{"last_affected":"16.0.6"}],"cpe":"cpe:2.3:a:oracle:retail_xstore_point_of_service:16.0.6:*:*:*:*:*:*:*","source":"CPE_FIELD"},{"extracted_events":[{"last_affected":"17.0.4"}],"source":"CPE_FIELD","cpe":"cpe:2.3:a:oracle:retail_xstore_point_of_service:17.0.4:*:*:*:*:*:*:*"},{"extracted_events":[{"last_affected":"18.0.3"}],"source":"CPE_FIELD","cpe":"cpe:2.3:a:oracle:retail_xstore_point_of_service:18.0.3:*:*:*:*:*:*:*"},{"extracted_events":[{"last_affected":"19.0.2"}],"source":"CPE_FIELD","cpe":"cpe:2.3:a:oracle:retail_xstore_point_of_service:19.0.2:*:*:*:*:*:*:*"},{"extracted_events":[{"last_affected":"11.1.1.9.0"}],"source":"CPE_FIELD","cpe":"cpe:2.3:a:oracle:webcenter_portal:11.1.1.9.0:*:*:*:*:*:*:*"},{"extracted_events":[{"last_affected":"12.2.1.3.0"}],"source":"CPE_FIELD","cpe":"cpe:2.3:a:oracle:webcenter_portal:12.2.1.3.0:*:*:*:*:*:*:*"},{"extracted_events":[{"last_affected":"12.2.1.4.0"}],"source":"CPE_FIELD","cpe":"cpe:2.3:a:oracle:webcenter_portal:12.2.1.4.0:*:*:*:*:*:*:*"},{"extracted_events":[{"last_affected":"10.0"}],"source":"CPE_FIELD","cpe":"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*"},{"extracted_events":[{"last_affected":"11.0"}],"source":"CPE_FIELD","cpe":"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*"},{"extracted_events":[{"last_affected":"9.0"}],"cpe":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","source":"CPE_FIELD"},{"extracted_events":[{"last_affected":"33"}],"cpe":"cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*","source":"CPE_FIELD"},{"extracted_events":[{"last_affected":"34"}],"cpe":"cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*","source":"CPE_FIELD"},{"extracted_events":[{"last_affected":"35"}],"source":"CPE_FIELD","cpe":"cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*"}]},"references":[{"type":"ADVISORY","url":"http://x-stream.github.io/changes.html#1.4.16"},{"type":"ADVISORY","url":"https://github.com/x-stream/xstream/security/advisories/GHSA-hvv8-336g-rx3m"},{"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/22KVR6B5IZP3BGQ3HPWIO2FWWCKT3DHP/"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PVPHZA7VW2RRSDCOIPP2W6O5ND254TU7/"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QGXIU3YDPG6OGTDHMBLAFN7BPBERXREB/"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20210430-0002/"},{"type":"ADVISORY","url":"https://www.debian.org/security/2021/dsa-5004"},{"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://x-stream.github.io/security.html#workaround"},{"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":"EVIDENCE","url":"https://x-stream.github.io/CVE-2021-21342.html"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/apache/jmeter","events":[{"introduced":"0"},{"fixed":"7153c74dd0e860d0ca3825cc5a23e976e0242b6e"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"5.5"}],"source":"CPE_FIELD","cpe":"cpe:2.3:a:apache:jmeter:*:*:*:*:*:*:*:*"}}],"versions":["5.2-rc4","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":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-21342.json"}},{"ranges":[{"type":"GIT","repo":"https://github.com/x-stream/xstream","events":[{"introduced":"0"},{"fixed":"3dd9cc610199802e4f13bd49b02a9f99adaba145"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"1.4.16"}],"source":"CPE_FIELD","cpe":"cpe:2.3:a:xstream:xstream:*:*:*:*:*:*:*:*"}}],"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_5","XSTREAM_1_4_9"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-21342.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"}]}