CVE-2021-21343
HIGH 7.5CVSS 3.1XStream is vulnerable to an Arbitrary File Deletion on the local host when unmarshalling as long as the executing process has sufficient rights
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 the deletion of a file on the local host. 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.
- Published
- 23 Mar 2021
- Last modified
- 7 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-502CWE-73
- Also known as
- BIT-activemq-2021-21343GHSA-74cv-f58x-f9wf
- Sources
- NVDJSONOSV GHSA-74cv-f58x-f9wfJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | netapp | oncommand_insightcpe:2.3:a:netapp:oncommand_insight:-:*:*:*:*:*:*:* |
(no version) | |
| NVD | apache | activemqcpe:2.3:a:apache:activemq:*:*:*:*:*:*:*:* |
< 5.15.14 | 5.15.14 |
| NVD | apache | activemqcpe:2.3:a:apache:activemq:5.16.0:*:*:*:*:*:*:* |
= 5.16.0 | |
| NVD | apache | activemqcpe:2.3:a:apache:activemq:5.16.1:*:*:*:*:*:*:* |
= 5.16.1 | |
| NVD | apache | jmetercpe:2.3:a:apache:jmeter:*:*:*:*:*:*:*:* |
< 5.5 | 5.5 |
| NVD | xstream | xstreamcpe:2.3:a:xstream:xstream:*:*:*:*:*:*:*:* |
< 1.4.16 | 1.4.16 |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* |
= 9.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* |
= 10.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* |
= 11.0 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* |
= 33 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* |
= 34 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* |
= 35 | |
| NVD | oracle | banking_enterprise_default_managementcpe:2.3:a:oracle:banking_enterprise_default_management:2.10.0:*:*:*:*:*:*:* |
= 2.10.0 | |
| NVD | oracle | banking_enterprise_default_managementcpe:2.3:a:oracle:banking_enterprise_default_management:2.12.0:*:*:*:*:*:*:* |
= 2.12.0 | |
| NVD | oracle | banking_platformcpe:2.3:a:oracle:banking_platform:2.4.0:*:*:*:*:*:*:* |
= 2.4.0 | |
| NVD | oracle | banking_platformcpe:2.3:a:oracle:banking_platform:2.7.1:*:*:*:*:*:*:* |
= 2.7.1 | |
| NVD | oracle | banking_platformcpe:2.3:a:oracle:banking_platform:2.9.0:*:*:*:*:*:*:* |
= 2.9.0 | |
| NVD | oracle | banking_platformcpe:2.3:a:oracle:banking_platform:2.12.0:*:*:*:*:*:*:* |
= 2.12.0 | |
| NVD | oracle | banking_virtual_account_managementcpe:2.3:a:oracle:banking_virtual_account_management:14.2.0:*:*:*:*:*:*:* |
= 14.2.0 | |
| NVD | oracle | banking_virtual_account_managementcpe:2.3:a:oracle:banking_virtual_account_management:14.3.0:*:*:*:*:*:*:* |
= 14.3.0 | |
| NVD | oracle | banking_virtual_account_managementcpe:2.3:a:oracle:banking_virtual_account_management:14.5.0:*:*:*:*:*:*:* |
= 14.5.0 | |
| NVD | oracle | business_activity_monitoringcpe:2.3:a:oracle:business_activity_monitoring:11.1.1.9.0:*:*:*:*:*:*:* |
= 11.1.1.9.0 | |
| NVD | oracle | business_activity_monitoringcpe:2.3:a:oracle:business_activity_monitoring:12.2.1.3.0:*:*:*:*:*:*:* |
= 12.2.1.3.0 | |
| NVD | oracle | business_activity_monitoringcpe:2.3:a:oracle:business_activity_monitoring:12.2.1.4.0:*:*:*:*:*:*:* |
= 12.2.1.4.0 | |
| NVD | oracle | communications_billing_and_revenue_management_elastic_charging_enginecpe:2.3:a:oracle:communications_billing_and_revenue_management_elastic_charging_engine:12.0.0.3.0:*:*:*:*:*:*:* |
= 12.0.0.3.0 | |
| NVD | oracle | communications_policy_managementcpe:2.3:a:oracle:communications_policy_management:12.5.0:*:*:*:*:*:*:* |
= 12.5.0 | |
| NVD | oracle | communications_unified_inventory_managementcpe:2.3:a:oracle:communications_unified_inventory_management:7.3.2:*:*:*:*:*:*:* |
= 7.3.2 | |
| NVD | oracle | communications_unified_inventory_managementcpe:2.3:a:oracle:communications_unified_inventory_management:7.3.4:*:*:*:*:*:*:* |
= 7.3.4 | |
| NVD | oracle | communications_unified_inventory_managementcpe:2.3:a:oracle:communications_unified_inventory_management:7.3.5:*:*:*:*:*:*:* |
= 7.3.5 | |
| NVD | oracle | communications_unified_inventory_managementcpe:2.3:a:oracle:communications_unified_inventory_management:7.4.0:*:*:*:*:*:*:* |
= 7.4.0 | |
| NVD | oracle | communications_unified_inventory_managementcpe:2.3:a:oracle:communications_unified_inventory_management:7.4.1:*:*:*:*:*:*:* |
= 7.4.1 | |
| NVD | oracle | retail_xstore_point_of_servicecpe:2.3:a:oracle:retail_xstore_point_of_service:16.0.6:*:*:*:*:*:*:* |
= 16.0.6 | |
| NVD | oracle | retail_xstore_point_of_servicecpe:2.3:a:oracle:retail_xstore_point_of_service:17.0.4:*:*:*:*:*:*:* |
= 17.0.4 | |
| NVD | oracle | retail_xstore_point_of_servicecpe:2.3:a:oracle:retail_xstore_point_of_service:18.0.3:*:*:*:*:*:*:* |
= 18.0.3 | |
| NVD | oracle | retail_xstore_point_of_servicecpe:2.3:a:oracle:retail_xstore_point_of_service:19.0.2:*:*:*:*:*:*:* |
= 19.0.2 | |
| NVD | oracle | webcenter_portalcpe:2.3:a:oracle:webcenter_portal:11.1.1.9.0:*:*:*:*:*:*:* |
= 11.1.1.9.0 | |
| NVD | oracle | webcenter_portalcpe:2.3:a:oracle:webcenter_portal:12.2.1.3.0:*:*:*:*:*:*:* |
= 12.2.1.3.0 | |
| NVD | oracle | webcenter_portalcpe:2.3:a:oracle:webcenter_portal:12.2.1.4.0:*:*:*:*:*:*:* |
= 12.2.1.4.0 | |
| OSV | Maven | com.thoughtworks.xstream:xstream | < 1.4.16 | 1.4.16 |
References
- http://x-stream.github.io/changes.html#1.4.16 · Release Notes, Third Party Advisory, WEB
- https://github.com/x-stream/xstream/security/advisories/GHSA-74cv-f58x-f9wf · Third Party Advisory, WEB
- https://lists.apache.org/thread.html/r8244fd0831db894d5e89911ded9c72196d395a90ae655414d23ed0dd%40%3Cusers.activemq.apache.org%3E · Issue Tracking, Mailing List, Third Party Advisory
- https://lists.apache.org/thread.html/r9ac71b047767205aa22e3a08cb33f3e0586de6b2fac48b425c6e16b0%40%3Cdev.jmeter.apache.org%3E · Issue Tracking, Mailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/04/msg00002.html · Mailing List, Third Party Advisory, WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/22KVR6B5IZP3BGQ3HPWIO2FWWCKT3DHP/ · Mailing List, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PVPHZA7VW2RRSDCOIPP2W6O5ND254TU7/ · Mailing List, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QGXIU3YDPG6OGTDHMBLAFN7BPBERXREB/ · Mailing List, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20210430-0002/ · Third Party Advisory, WEB
- https://www.debian.org/security/2021/dsa-5004 · Mailing List, Third Party Advisory, WEB
- https://www.oracle.com//security-alerts/cpujul2021.html · Third Party Advisory, WEB
- https://www.oracle.com/security-alerts/cpujan2022.html · Patch, Vendor Advisory, WEB
- https://www.oracle.com/security-alerts/cpuoct2021.html · Third Party Advisory, WEB
- https://x-stream.github.io/CVE-2021-21343.html · Exploit, Third Party Advisory, WEB
- https://x-stream.github.io/security.html#workaround · Mitigation, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-21343 · ADVISORY
- https://github.com/x-stream/xstream · PACKAGE
- https://lists.apache.org/thread.html/r8244fd0831db894d5e89911ded9c72196d395a90ae655414d23ed0dd@%3Cusers.activemq.apache.org%3E · WEB
- https://lists.apache.org/thread.html/r9ac71b047767205aa22e3a08cb33f3e0586de6b2fac48b425c6e16b0@%3Cdev.jmeter.apache.org%3E · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/22KVR6B5IZP3BGQ3HPWIO2FWWCKT3DHP · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PVPHZA7VW2RRSDCOIPP2W6O5ND254TU7 · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QGXIU3YDPG6OGTDHMBLAFN7BPBERXREB · WEB
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 23 Mar 2021)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 22 Mar 2021)