{"cve":"CVE-2021-21346","nvd":{"published":"2021-03-23T00:15:12.897","modified":"2026-10-07T19:17:23.823","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-434","CWE-502"],"references":["http://x-stream.github.io/changes.html#1.4.16","https://github.com/x-stream/xstream/security/advisories/GHSA-4hrm-m67v-5cxr","https://lists.apache.org/thread.html/r8244fd0831db894d5e89911ded9c72196d395a90ae655414d23ed0dd%40%3Cusers.activemq.apache.org%3E","https://lists.apache.org/thread.html/r9ac71b047767205aa22e3a08cb33f3e0586de6b2fac48b425c6e16b0%40%3Cdev.jmeter.apache.org%3E","https://lists.debian.org/debian-lts-announce/2021/04/msg00002.html"],"products":["apache:activemq","apache:jmeter","debian:debian_linux","fedoraproject:fedora","netapp:oncommand_insight","oracle:banking_enterprise_default_management","oracle:banking_platform","oracle:banking_virtual_account_management","oracle:bi_publisher","oracle:business_activity_monitoring","oracle:communications_billing_and_revenue_management_elastic_charging_engine","oracle:communications_policy_management","oracle:communications_unified_inventory_management","oracle:retail_xstore_point_of_service","oracle:webcenter_portal","xstream:xstream"],"source":"nvd","synced_at":"2026-10-19T21:15:50.279857260+00:00"},"epss":{"cve":"CVE-2021-21346","score":0.76367,"percentile":0.99535,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-4hrm-m67v-5cxr","url":"https://osv.dev/vulnerability/GHSA-4hrm-m67v-5cxr","summary":"XStream is vulnerable to an Arbitrary Code Execution attack","modified":"2026-07-08T06:29:26.154555058Z","packages":[{"ecosystem":"Maven","name":"com.thoughtworks.xstream:xstream","purl":"pkg:maven/com.thoughtworks.xstream/xstream","ranges":["<1.4.16"],"fixed":["1.4.16"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}