# CVE-2021-21344: XStream is vulnerable to an Arbitrary Code Execution attack

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 76.0%, higher than 99% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-03-22T23:28:23.000Z
- Modified: 2026-10-07T19:17:23.253Z
- Also known as: GHSA-59jw-jqf4-3wq3, BIT-ACTIVEMQ-2021-21344
- Weaknesses: CWE-434, CWE-502
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

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 to load and execute arbitrary code from a remote 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.

(As written by CVE List.)

## Affected

- x-stream xstream: < 1.4.16
- com.thoughtworks.xstream:xstream (Maven): before 1.4.16
- netapp oncommand_insight: no versions given
- apache activemq: before 5.15.14; 5.16.0; 5.16.1
- apache jmeter: before 5.5
- xstream xstream: before 1.4.16
- debian debian_linux: 9.0; 10.0; 11.0
- fedoraproject fedora: 33; 34; 35
- oracle banking_enterprise_default_management: 2.10.0; 2.12.0
- oracle banking_platform: 2.4.0; 2.7.1; 2.9.0; 2.12.0
- oracle banking_virtual_account_management: 14.2.0; 14.3.0; 14.5.0
- oracle business_activity_monitoring: 11.1.1.9.0; 12.2.1.3.0; 12.2.1.4.0
- oracle communications_billing_and_revenue_management_elastic_charging_engine: 12.0.0.3.0
- oracle communications_policy_management: 12.5.0
- oracle communications_unified_inventory_management: 7.3.2; 7.3.4; 7.3.5; 7.4.0; 7.4.1
- oracle mysql_server: up to 5.7.36; from 8.0.0 up to 8.0.27
- oracle retail_xstore_point_of_service: 16.0.6; 17.0.4; 18.0.3; 19.0.2
- oracle webcenter_portal: 11.1.1.9.0; 12.2.1.3.0; 12.2.1.4.0
- activemq (Bitnami): before 5.15.14; from 5.16.0 up to 5.16.0; from 5.16.1 up to 5.16.1

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`
- Bitnami Vulnerability Database: rating Critical

## References

- <https://x-stream.github.io/CVE-2021-21344.html> (exploit, advisory, third-party-advisory, web)
- <https://x-stream.github.io/security.html#workaround> (advisory, mitigation, third-party-advisory, web)
- <http://x-stream.github.io/changes.html#1.4.16> (advisory, release-notes, third-party-advisory, web)
- <https://github.com/x-stream/xstream/security/advisories/GHSA-59jw-jqf4-3wq3> (advisory, third-party-advisory, web)
- <https://lists.debian.org/debian-lts-announce/2021/04/msg00002.html> (advisory, mailing-list, third-party-advisory, web)
- <https://lists.apache.org/thread.html/r9ac71b047767205aa22e3a08cb33f3e0586de6b2fac48b425c6e16b0%40%3Cdev.jmeter.apache.org%3E> (advisory, issue-tracking, mailing-list, third-party-advisory)
- <https://lists.apache.org/thread.html/r8244fd0831db894d5e89911ded9c72196d395a90ae655414d23ed0dd%40%3Cusers.activemq.apache.org%3E> (advisory, issue-tracking, mailing-list, third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20210430-0002/> (advisory, third-party-advisory)
- <https://www.oracle.com//security-alerts/cpujul2021.html> (advisory, third-party-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/22KVR6B5IZP3BGQ3HPWIO2FWWCKT3DHP/> (advisory, mailing-list, third-party-advisory, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QGXIU3YDPG6OGTDHMBLAFN7BPBERXREB/> (advisory, mailing-list, third-party-advisory, vendor-advisory)
- <https://www.oracle.com/security-alerts/cpuoct2021.html> (advisory, third-party-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PVPHZA7VW2RRSDCOIPP2W6O5ND254TU7/> (advisory, mailing-list, third-party-advisory, vendor-advisory)
- <https://www.debian.org/security/2021/dsa-5004> (advisory, mailing-list, third-party-advisory, vendor-advisory, web)
- <https://www.oracle.com/security-alerts/cpujan2022.html> (advisory, patch, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-21344> (advisory, web)
- <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)
- <https://security.netapp.com/advisory/ntap-20210430-0002> (web)

## Sources

- CVE List: [CVE-2021-21344](https://www.cve.org/CVERecord?id=CVE-2021-21344), CVE Terms of Use, modified 2026-10-07
- GitHub Advisory Database: [GHSA-59jw-jqf4-3wq3](https://github.com/advisories/GHSA-59jw-jqf4-3wq3), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2021-21344](https://nvd.nist.gov/vuln/detail/CVE-2021-21344), Public domain, modified 2026-10-07
- Bitnami Vulnerability Database: [BIT-ACTIVEMQ-2021-21344](https://osv.dev/vulnerability/BIT-ACTIVEMQ-2021-21344), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2021-21344 · Whole record: https://cve.day/CVE-2021-21344.json · Rebuilt by cve.day 2026-11-25T22:58:00.369Z
