WaratekVRT Sign in

CVE-2021-21343 XStream

Affected softwareXStream
Severity7.5 High CVSS 3.1 3 scores
Fixed in1.4.16
WeaknessDeserialization of untrusted data (CWE-502)
Published23 Mar 2021
Updated7 Oct 2026

Description

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.

CWE-73

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 5 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: none
  • Indexed PoC none indexed
  • EPSS 47% chance in 30 days A model's forecast, not a report of exploitation. Higher than 99% of all scored CVEs.

Waratek protection

No exploit published

Within Waratek scope. In the sources we check, nobody has published exploit code for this CVE or reported it being exploited.

A public code fix exists.

  • Protection none
  • Action unverified
  • Review automated Upstream data
  • Record active
Decided by Exploit code for this candidate, published in a reviewed catalogue or a GitHub repository with 5 or more stars, or in use per CISA or VulnCheck; not only a CISA verdict, a forecast, or nothing at all
Finding This CVE is not listed in CISA KEV or VulnCheck KEV, CISA Vulnrichment records no active exploitation, no reviewed exploit catalogue carries an entry for it, and no GitHub PoC repository for it has 5 or more stars. Nobody has published exploit code worth tracing, so it is not a candidate for a rule ahead of the ones where somebody has; an upstream fix path does exist, so the remediation half of the candidacy still holds. This is a statement about what has been published, not about whether the defect is reachable or serious.
Candidate fix https://github.com/x-stream/xstream/security/advisories/GHSA-74cv-f58x-f9wf : the maintainers' own security advisory: names the version that fixes it, so the fix is the difference between two releases

CVSS

7.5 HIGH v3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N 3 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 7.5 HIGH CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N NVD Primary published
CVSS 3.1 5.3 MEDIUM CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N security-advisories@github.com Secondary
CVSS 2.0 5.0 none AV:N/AC:L/Au:N/C:N/I:P/A:N NVD Primary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
com.thoughtworks.xstream:xstream 0 1.4.16 unbounded

Products and versions

16 products, 39 version entries
SourceVendorProductSchemeAffected versions
nvd apache activemq generic < 5.15.14 · 5.16.0 · 5.16.1
nvd apache jmeter generic < 5.5
osv com.thoughtworks.xstream xstream generic < 1.4.16
nvd debian debian linux generic 9.0 · 10.0 · 11.0
nvd fedoraproject fedora generic 33 · 34 · 35
nvd netapp oncommand insight generic any version
nvd oracle banking enterprise default management generic 2.10.0 · 2.12.0
nvd oracle banking platform generic 2.4.0 · 2.7.1 · 2.9.0 · 2.12.0
nvd oracle banking virtual account management generic 14.2.0 · 14.3.0 · 14.5.0
nvd oracle business activity monitoring generic 11.1.1.9.0 · 12.2.1.3.0 · 12.2.1.4.0
nvd oracle communications billing and revenue management elastic charging engine generic 12.0.0.3.0
nvd oracle communications policy management generic 12.5.0
nvd oracle communications unified inventory management generic 7.3.2 · 7.3.4 · 7.3.5 · 7.4.0 · 7.4.1
nvd oracle retail xstore point of service generic 16.0.6 · 17.0.4 · 18.0.3 · 19.0.2
nvd oracle webcenter portal generic 11.1.1.9.0 · 12.2.1.3.0 · 12.2.1.4.0
nvd xstream xstream generic < 1.4.16

References

URLTags
https://github.com/x-stream/xstream/security/advisories/GHSA-74cv-f58x-f9wf advisory
https://github.com/x-stream/xstream PACKAGE
https://lists.apache.org/thread.html/r8244fd0831db894d5e89911ded9c72196d395a90ae655414d23ed0dd@%3Cusers.activemq.apache.org%3E WEB
https://lists.apache.org/thread.html/r9ac71b047767205aa22e3a08cb33f3e0586de6b2fac48b425c6e16b0@%3Cdev.jmeter.apache.org%3E WEB
https://lists.debian.org/debian-lts-announce/2021/04/msg00002.html WEB
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/22KVR6B5IZP3BGQ3HPWIO2FWWCKT3DHP WEB
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PVPHZA7VW2RRSDCOIPP2W6O5ND254TU7 WEB
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QGXIU3YDPG6OGTDHMBLAFN7BPBERXREB WEB
https://security.netapp.com/advisory/ntap-20210430-0002 WEB
https://www.debian.org/security/2021/dsa-5004 WEB

Timeline

Published2021-03-23By the CVE Program.
NVD record modified2026-10-07NVD's own last-modified date for this record.