Vulnerability in com.thoughtworks.xstream:xstream
Auto-generated summary
Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.
A vulnerability tracked as CVE-2021-21343 has been found in com.thoughtworks.xstream:xstream.
Data can be tampered with by attackers. CVSS score: 5.3/10.
What to do: upgrade com.thoughtworks.xstream:xstream to 1.4.16 or later.
If unsure, ask your IT team or search "com.thoughtworks.xstream:xstream CVE-2021-21343" on the vendor's site.
CVE-2021-21343 (com.thoughtworks.xstream:xstream) — CWE-73 / CVSS v3 5.3
Attack vector: remote (network-reachable) / unauthenticated
Patched: 1.4.16 — apply immediately
Workaround: See workarounds for the different versions covering all CVEs.
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
A vulnerability (CWE-73) exists in com.thoughtworks.xstream:xstream.
Check the vendor advisory for the affected versions of com.thoughtworks.xstream:xstream.
Severity: Medium (CVSS 5.3/10). Data can be tampered with by attackers.
Update to 1.4.16.
Workaround: See workarounds for the different versions covering all CVEs.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Audit SBOM/dependencies to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1
Identify exposureidentify
Audit SBOM/dependencies for affected components.資産台帳・SBOM・依存マニフェストで com.thoughtworks.xstream:xstream を使っているサービスとバージョンを洗い出す。
-
2
Apply temporary workaroundmitigate
See [workarounds](https://x-stream.github.io/security.html#workaround) for the different versions covering all CVEs.パッチが適用されるまでの応急処置として、See workarounds for the different versions covering all CVEs. を実施。回避策の副作用 (機能低下) を確認した上で。
-
3
Apply patchpatch
Upgrade com.thoughtworks.xstream:xstream to 1.4.16ステージング環境で 1.4.16 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
4
Post-deployment verificationverify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Mavencom.thoughtworks.xstream:xstream |
< 1.4.16→ 1.4.16 |
1.4.16 |
| Bitnamiactivemq |
< 5.15.14→ 5.15.14 5.16.0 – 5.16.0→ Not listed 5.16.1 – 5.16.1→ Not listed |
5.15.14 Not listed Not listed |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2021-21343 libxstream-java Fix available
- Ubuntu UBUNTU-CVE-2021-21343 libxstream-java Fix available
Original description The description as published by the source.
XStream is a Java library to serialize objects to XML and back again. In XStream before version 1.4.16, there is a vulnerability where the processed stream at unmarshalling time contains type information to recreate the formerly written objects. XStream creates therefore new instances based on these type information. An attacker can manipulate the processed input stream and replace or inject objects, that result in the deletion of a file on the local host. 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.
Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
References
- advisory x-stream.github.io
- advisory github.com
- advisory lists.debian.org
- advisory lists.fedoraproject.org
- advisory lists.fedoraproject.org
- advisory lists.fedoraproject.org
- advisory security.netapp.com
- advisory debian.org
- advisory oracle.com
- advisory oracle.com
- advisory x-stream.github.io
- package github.com
- patch oracle.com
- report lists.apache.org
- report lists.apache.org
- report x-stream.github.io
- web nvd.nist.gov
- web lists.apache.org
- web lists.apache.org
- web lists.fedoraproject.org
- web lists.fedoraproject.org
- web lists.fedoraproject.org
- web security.netapp.com