CVE-2021-21347
CVE-2021-21347 — XStream is vulnerable to an Arbitrary Code Execution attack
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 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. If you rely on XStream's default blacklist of the Security Framework, you will have to use at least version 1.4.16.
Published Updated Sources: cvelistV5, GitHub_M
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
14%
chance of exploitation in 30 days
CVSS base
6.1
MEDIUM
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
None
none · proof-of-concept · active
Automatable
Yes
can an attacker script all four kill-chain steps
Technical impact
Total
partial · total control of the vulnerable component
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 6.1 | CVSS 3.1 | MEDIUM | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-434
- CWE-502
Attack patterns reported against this CVE. The ATT&CK techniques below are inferred from its weakness class.
- T1574.010Hijack Execution Flow: ServicesFile Permissions Weakness
References
15 on the record
- github.com/x-stream/xstream/security/advisories/GHSA-qpfq-ph7r-qv6f
x_refsource_CONFIRM
- x-stream.github.io/security.html#workaround
x_refsource_MISC
- x-stream.github.io/changes.html#1.4.16
x_refsource_MISC
- x-stream.github.io/CVE-2021-21347.html
x_refsource_MISC
- lists.debian.org/debian-lts-announce/2021/04/msg00002.html
mailing-list, x_refsource_MLIST
- lists.apache.org/thread.html/r9ac71b047767205aa22e3a08cb33f3e0586de6b2fac48b425c6e16b0%40%3Cdev.jmeter.apache.org%3E
mailing-list, x_refsource_MLIST
- lists.apache.org/thread.html/r8244fd0831db894d5e89911ded9c72196d395a90ae655414d23ed0dd%40%3Cusers.activemq.apache.org%3E
mailing-list, x_refsource_MLIST
- security.netapp.com/advisory/ntap-20210430-0002/
x_refsource_CONFIRM
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2021-39144 XStream is vulnerable to a Remote Command Execution attackCVSS 8.5 · CISA KEV
- CVE-2026-20131 Cisco Secure Firewall Management Center Software Remote Code Execution VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2025-55182 Meta React Server Components Remote Code Execution VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2025-52691 Upload Arbitrary FilesCVSS 10.0 · CISA KEV
- CVE-2021-44228 Apache Log4j2 JNDI features do not protect against attacker controlled LDAP and other JNDI related endpointsCVSS 10.0 · CISA KEV
- CVE-2026-115731 Report Deserialization Code ExecutionCVSS 9.9 · CISA KEV
Elsewhere on this site
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.