Security readout for executives and security teams
Plain-English summary
XStream can turn XML back into Java objects. In affected versions, maliciously shaped input may let a remote attacker execute commands on the host if the application processes that input and the attacker has the required access. The vendor states users with a strict minimal-type whitelist are not affected.
Executive priority
Prioritize remediation for systems that accept external or semi-trusted XML input, because successful exploitation can compromise host confidentiality, integrity, and availability. This is not marked as known exploited in the supplied data, but the potential impact justifies timely patching and configuration review.
Technical view
CVE-2021-29505 affects XStream before 1.4.17 and is categorized as unsafe deserialization/code injection, CWE-502 and CWE-94. The CVSS 3.1 score is 7.5, with network attack vector, high complexity, low privileges, and high confidentiality, integrity, and availability impact. Version 1.4.17 contains the patch.
Likely exposure
Exposure is most likely in Java applications or packaged products using XStream before 1.4.17 to process XML or object streams influenced by users, integrations, queues, files, or APIs. Risk is lower where XStream's security framework uses a minimal whitelist of allowed types.
Exploitation context
The bundle does not show CISA KEV listing or cited evidence of active exploitation. Exploitation is described as remote command execution through manipulated input, but the CVSS vector indicates high complexity and required privileges. Treat internet-facing or partner-facing deserialization paths as higher priority.
Researcher notes
Focus validation on XStream version, deserialization entry points, and security framework configuration. Do not assume every XStream use is exploitable; the vendor says strict whitelist users are unaffected. Evidence in the bundle supports the affected range and fix, but not active exploitation or product-specific exposure beyond listed advisories.
Mitigation direction
- Upgrade XStream dependencies to version 1.4.17 or later.
- Use XStream's security framework with a minimal required type whitelist.
- Update vendor or operating system packages that bundle XStream.
- Prioritize systems processing untrusted XML or serialized object streams.
- Check product advisories where XStream is embedded indirectly.
Validation and detection
- Inventory direct and transitive XStream versions across Java applications.
- Confirm runtime packages do not include XStream before 1.4.17.
- Review code paths that deserialize XML from users, files, APIs, or queues.
- Verify XStream allowlists restrict processing to required application types.
- Check vendor advisories for packaged software using XStream.
Public sources used
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
CWE-502: Code execution behavior lookup
Code execution and unsafe deserialization weaknesses often justify reviewing execution behavior and process telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Open ATT&CK lookupCWE-94: Code execution behavior lookup
Code execution and unsafe deserialization weaknesses often justify reviewing execution behavior and process telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Open ATT&CK lookupCVE-2021-29505 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
Open ATT&CK lookup- Severity
- High
- CVSS
- 7.5 (3.1)
- Known Exploited
- No
- Published
Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CNA and ADP enrichment extracted from CVE v5
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
CVSS vector scores
1 official scoreWe collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H1.65.9Primary CVE scoreVulnerability scoring details
Base CVSS 3.1 score
7.5HighVector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Source materials
- CVE List V5 sourceCVE List V5
- https://github.com/x-stream/xstream/security/advisories/GHSA-7chv-rrw6-w6fcCVE reference · x_refsource_CONFIRM
- https://github.com/x-stream/xstream/commit/24fac82191292c6ae25f94508d28b9823f83624fCVE reference · x_refsource_MISC
- https://github.com/x-stream/xstream/commit/f0c4a8d861b68ffc3119cfbbbd632deee624e227CVE reference · x_refsource_MISC
- https://lists.apache.org/thread.html/r8ee51debf7fd184b6a6b020dc31df25118b0aa612885f12fbe77f04f@%3Cdev.jmeter.apache.org%3ECVE reference · x_refsource_MISC
- https://lists.debian.org/debian-lts-announce/2021/07/msg00004.htmlCVE reference · x_refsource_MISC
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/22KVR6B5IZP3BGQ3HPWIO2FWWCKT3DHPCVE reference · x_refsource_MISC
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PVPHZA7VW2RRSDCOIPP2W6O5ND254TU7CVE reference · x_refsource_MISC
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QGXIU3YDPG6OGTDHMBLAFN7BPBERXREBCVE reference · x_refsource_MISC
- https://security.netapp.com/advisory/ntap-20210708-0007CVE reference · x_refsource_MISC, x_refsource_CONFIRM
- https://www.debian.org/security/2021/dsa-5004CVE reference · x_refsource_MISC
- https://www.oracle.com/security-alerts/cpuapr2022.htmlCVE reference · x_refsource_MISC
- https://www.oracle.com/security-alerts/cpujan2022.htmlCVE reference · x_refsource_MISC
- https://www.oracle.com/security-alerts/cpujul2022.htmlCVE reference · x_refsource_MISC
- https://www.oracle.com/security-alerts/cpuoct2021.htmlCVE reference · x_refsource_MISC
- https://x-stream.github.io/CVE-2021-29505.htmlCVE reference · x_refsource_MISC
- [jmeter-dev] 20210607 [GitHub] [jmeter] sseide opened a new pull request #667: update x-stream to 1.4.17 (from 1.4.16)CVE reference · mailing-list, x_refsource_MLIST
- FEDORA-2021-fbad11014aCVE reference · vendor-advisory, x_refsource_FEDORA
- FEDORA-2021-d894ca87dcCVE reference · vendor-advisory, x_refsource_FEDORA
- FEDORA-2021-5e376c0ed9CVE reference · vendor-advisory, x_refsource_FEDORA
Products and packages named in the record
CWE details
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
