{"cve":"CVE-2021-21345","nvd":{"published":"2021-03-23T00:15:12.787","modified":"2026-10-07T19:17:23.537","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 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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":9.9},"cwes":["CWE-78","CWE-94","CWE-502"],"references":["http://x-stream.github.io/changes.html#1.4.16","https://github.com/x-stream/xstream/security/advisories/GHSA-hwpc-8xqv-jvj4","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:business_activity_monitoring","oracle:communications_billing_and_revenue_management_elastic_charging_engine","oracle:communications_policy_management","oracle:communications_unified_inventory_management","oracle:peoplesoft_enterprise_peopletools","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-21345","score":0.72324,"percentile":0.99432,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-hwpc-8xqv-jvj4","url":"https://osv.dev/vulnerability/GHSA-hwpc-8xqv-jvj4","summary":"XStream is vulnerable to a Remote Command Execution attack","modified":"2026-07-08T06:28:39.220041423Z","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."]}