Vulnerability from bitnami_vulndb
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.
{
"affected": [
{
"package": {
"ecosystem": "Bitnami",
"name": "activemq",
"purl": "pkg:bitnami/activemq"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "5.15.14"
}
],
"type": "SEMVER"
},
{
"events": [
{
"introduced": "5.16.0"
},
{
"last_affected": "5.16.0"
},
{
"introduced": "5.16.1"
},
{
"last_affected": "5.16.1"
}
],
"type": "SEMVER"
}
],
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H",
"type": "CVSS_V3"
}
]
}
],
"aliases": [
"CVE-2021-21345"
],
"database_specific": {
"cpes": [
"cpe:2.3:a:apache:activemq:*:*:*:*:*:*:*:*"
],
"severity": "Critical"
},
"details": "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\u0027s security framework with a whitelist limited to the minimal required types. If you rely on XStream\u0027s default blacklist of the Security Framework, you will have to use at least version 1.4.16.",
"id": "BIT-activemq-2021-21345",
"modified": "2026-09-08T08:34:36.952Z",
"published": "2025-12-03T14:35:24.382Z",
"references": [
{
"type": "ADVISORY",
"url": "http://x-stream.github.io/changes.html#1.4.16"
},
{
"type": "ADVISORY",
"url": "https://github.com/x-stream/xstream/security/advisories/GHSA-hwpc-8xqv-jvj4"
},
{
"type": "ADVISORY",
"url": "https://lists.apache.org/thread.html/r8244fd0831db894d5e89911ded9c72196d395a90ae655414d23ed0dd%40%3Cusers.activemq.apache.org%3E"
},
{
"type": "ADVISORY",
"url": "https://lists.apache.org/thread.html/r9ac71b047767205aa22e3a08cb33f3e0586de6b2fac48b425c6e16b0%40%3Cdev.jmeter.apache.org%3E"
},
{
"type": "ADVISORY",
"url": "https://lists.debian.org/debian-lts-announce/2021/04/msg00002.html"
},
{
"type": "ADVISORY",
"url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/22KVR6B5IZP3BGQ3HPWIO2FWWCKT3DHP/"
},
{
"type": "ADVISORY",
"url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PVPHZA7VW2RRSDCOIPP2W6O5ND254TU7/"
},
{
"type": "ADVISORY",
"url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QGXIU3YDPG6OGTDHMBLAFN7BPBERXREB/"
},
{
"type": "WEB",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-21345"
},
{
"type": "ADVISORY",
"url": "https://security.netapp.com/advisory/ntap-20210430-0002/"
},
{
"type": "ADVISORY",
"url": "https://www.debian.org/security/2021/dsa-5004"
},
{
"type": "ADVISORY",
"url": "https://www.oracle.com//security-alerts/cpujul2021.html"
},
{
"type": "ADVISORY",
"url": "https://www.oracle.com/security-alerts/cpuApr2021.html"
},
{
"type": "ADVISORY",
"url": "https://www.oracle.com/security-alerts/cpujan2022.html"
},
{
"type": "ADVISORY",
"url": "https://www.oracle.com/security-alerts/cpuoct2021.html"
},
{
"type": "ADVISORY",
"url": "https://x-stream.github.io/CVE-2021-21345.html"
},
{
"type": "ADVISORY",
"url": "https://x-stream.github.io/security.html#workaround"
}
],
"schema_version": "1.6.2",
"summary": "XStream is vulnerable to a Remote Command Execution attack"
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.