CVE-2021-39149
XStream is vulnerable to an Arbitrary Code Execution attack
- Published
- Updated
- Reserved
- Assigned by
- GitHub_M
Description
XStream is a simple library to serialize objects to XML and back again. In affected versions this vulnerability 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. XStream 1.4.18 uses no longer a blacklist by default, since it cannot be secured for general purpose.
Timeline
ID reserved
By GitHub_M
- 7 days later
· 7 days later
Published
- 5 years later
· 5 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | High8.5 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H |
| NVDNVD · Analyzed | 3.1 | High8.5 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 4.7% · top 8.1% of all CVEs (7 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.5.
Weakness
Affected products
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavencom.thoughtworks.xstream:xstreamGHSA-3ccq-5vw3-2p6x (opens in a new tab)
References (11)
- https://github.com/x-stream/xstream/security/advisories/GHSA-3ccq-5vw3-2p6x (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://x-stream.github.io/CVE-2021-39149.html (opens in a new tab)x_refsource_MISCx_transferred
- [debian-lts-announce] 20210929 [SECURITY] [DLA 2769-1] libxstream-java security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- FEDORA-2021-fbad11014a (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- FEDORA-2021-d894ca87dc (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- FEDORA-2021-5e376c0ed9 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- DSA-5004 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- https://www.oracle.com/security-alerts/cpujan2022.html (opens in a new tab)x_refsource_MISCx_transferred
- https://security.netapp.com/advisory/ntap-20210923-0003/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://www.oracle.com/security-alerts/cpuapr2022.html (opens in a new tab)x_refsource_MISCx_transferred
- https://www.oracle.com/security-alerts/cpujul2022.html (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-3ccq-5vw3-2p6x (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2021-39149)Record last updated .