CVE-2021-21345
CRITICAL 9.9CVSS 3.1XStream is vulnerable to a Remote Command Execution attack
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.
- Published
- 23 Mar 2021
- Last modified
- 7 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-78CWE-94
- Also known as
- BIT-activemq-2021-21345GHSA-hwpc-8xqv-jvj4
- Sources
- NVDJSONOSV GHSA-hwpc-8xqv-jvj4JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.8 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.8 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
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 | peoplesoft_enterprise_peopletoolscpe:2.3:a:oracle:peoplesoft_enterprise_peopletools:8.58:*:*:*:*:*:*:* |
= 8.58 | |
| NVD | oracle | peoplesoft_enterprise_peopletoolscpe:2.3:a:oracle:peoplesoft_enterprise_peopletools:8.59:*:*:*:*:*:*:* |
= 8.59 | |
| 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-hwpc-8xqv-jvj4 · 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/cpuApr2021.html · Patch, 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-21345.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-21345 · ADVISORY
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QGXIU3YDPG6OGTDHMBLAFN7BPBERXREB · 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/22KVR6B5IZP3BGQ3HPWIO2FWWCKT3DHP · WEB
- https://lists.apache.org/thread.html/r9ac71b047767205aa22e3a08cb33f3e0586de6b2fac48b425c6e16b0@%3Cdev.jmeter.apache.org%3E · WEB
- https://lists.apache.org/thread.html/r8244fd0831db894d5e89911ded9c72196d395a90ae655414d23ed0dd@%3Cusers.activemq.apache.org%3E · WEB
- https://github.com/x-stream/xstream · PACKAGE
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)