WaratekVRT Sign in

CVE-2021-29505 XStream

Affected softwareXStream
Severity8.8 High CVSS 3.1 3 scores
Fixed in1.4.17
WeaknessCode injection (CWE-94)
Published28 May 2021
Updated7 Oct 2026

Description

XStream is software for serializing Java objects to XML and back again. A vulnerability in XStream versions prior to 1.4.17 may allow a remote attacker has sufficient rights to execute commands of the host only by manipulating the processed input stream. No user who followed the recommendation to setup XStream's security framework with a whitelist limited to the minimal required types is affected. The vulnerability is patched in version 1.4.17.

CWE-502 · Deserialization of untrusted dataCWE-74

Exploitation status

Working exploit published

A reviewed exploit catalogue lists ready-to-run exploit code for this CVE.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: none
  • Indexed PoC 2 indexed Published artifacts you can open, in GitHub PoC, Nuclei; first seen 2021-06-08.
  • EPSS 77% chance in 30 days A model's forecast, not a report of exploitation. Higher than 99.6% of all scored CVEs.
IndexArtifactStarsFirst seen
GitHub PoC 对CVE-2021-29505进行复现,并分析学了下Xstream反序列化过程 6 2021-06-08
Nuclei XStream <1.4.17 - Remote Code Execution

Waratek protection

Mitigation candidate

A kind of vulnerability Waratek's rules address, with exploit code published or exploitation reported. No rule exists and none is planned yet. The decision below says what we found to build a rule from.

  • Protection none
  • Action unverified
  • Review automated Inferred
  • Record active
Decided by A reference pointing at the upstream fix: a commit, a PR, a Red Hat bug
Finding A reference points at an upstream fix (commit tier): https://github.com/x-stream/xstream/commit/24fac82191292c6ae25f94508d28b9823f83624f. That makes this CVE a candidate for an ARMR patch rule — it is the kind of defect ARMR can address, and there is a fix to work from. No rule exists and none is scheduled: writing one means reading the linked change and finding a hook point ARMR can express it at, which may turn out not to exist.
Candidate fix https://github.com/x-stream/xstream/commit/24fac82191292c6ae25f94508d28b9823f83624f : a commit: the change itself

CVSS

8.8 HIGH v3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H 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 8.8 HIGH CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H NVD Primary published
CVSS 3.1 7.5 HIGH CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H security-advisories@github.com Secondary
CVSS 2.0 6.5 none AV:N/AC:L/Au:S/C:P/I:P/A:P NVD Primary

Affected software and releases

Oracle advisories

AdvisoryTypeQuarterProducts Oracle names in its risk matrix
Oracle Critical Patch Update July 2022 ↗ CPU 2022-Q3 Oracle Retail Applications / Other (XStream) (15.0.2, 16.0.2)
Oracle Critical Patch Update January 2022 ↗ CPU 2022-Q1 Oracle Communications Applications / Rulesets (XStream) (7.3.4, 7.3.5, 7.4.0, 7.4.1, 7.4.2)
Oracle Critical Patch Update October 2021 ↗ CPU 2021-Q4 Oracle Enterprise Manager / Guest Management (XStream) (12.4.0.0)
Oracle Financial Services Applications / Accessibility (XStream) (14.2, 14.3, 14.5)
Oracle Financial Services Applications / Account-Maintenance (XStream) (14.2, 14.3, 14.5)
Oracle Financial Services Applications / Credit Appraisal (XStream) (14.2, 14.3, 14.5)
Oracle Financial Services Applications / Dashboard (XStream) (14.2, 14.3, 14.5)
Oracle Financial Services Applications / Lending (XStream) (14.2, 14.3, 14.5)
Oracle Fusion Middleware / Discussion Forums (XStream) (12.2.1.3.0, 12.2.1.4.0)
Oracle Fusion Middleware / General (XStream) (11.1.1.9.0, 12.2.1.3.0, 12.2.1.4.0)
Oracle Fusion Middleware / WebCenter Sites (XStream) (12.2.1.3.0, 12.2.1.4.0)

Oracle components and versions

FamilyComponentVersions, as Oracle lists themRead as
Oracle Communications Applications Rulesets (XStream) 7.3.4, 7.3.5, 7.4.0, 7.4.1, 7.4.2 7.3.4 · 7.3.5 · 7.4.0 · 7.4.1 · 7.4.2
Oracle Enterprise Manager Guest Management (XStream) 12.4.0.0 12.4.0.0
Oracle Financial Services Applications Accessibility (XStream) 14.2, 14.3, 14.5 14.2 · 14.3 · 14.5
Oracle Financial Services Applications Account-Maintenance (XStream) 14.2, 14.3, 14.5 14.2 · 14.3 · 14.5
Oracle Financial Services Applications Credit Appraisal (XStream) 14.2, 14.3, 14.5 14.2 · 14.3 · 14.5
Oracle Financial Services Applications Dashboard (XStream) 14.2, 14.3, 14.5 14.2 · 14.3 · 14.5
Oracle Financial Services Applications Lending (XStream) 14.2, 14.3, 14.5 14.2 · 14.3 · 14.5
Oracle Fusion Middleware Discussion Forums (XStream) 12.2.1.3.0, 12.2.1.4.0 12.2.1.3.0 · 12.2.1.4.0
Oracle Fusion Middleware General (XStream) 11.1.1.9.0, 12.2.1.3.0, 12.2.1.4.0 11.1.1.9.0 · 12.2.1.3.0 · 12.2.1.4.0
Oracle Fusion Middleware WebCenter Sites (XStream) 12.2.1.3.0, 12.2.1.4.0 12.2.1.3.0 · 12.2.1.4.0
Oracle Retail Applications Other (XStream) 15.0.2, 16.0.2 15.0.2 · 16.0.2

Maven packages

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

Products and versions

18 products, 42 version entries
SourceVendorProductSchemeAffected versions
osv com.thoughtworks.xstream xstream generic < 1.4.17
nvd debian debian linux generic 9.0 · 10.0 · 11.0
nvd fedoraproject fedora generic 33 · 34 · 35
nvd netapp snapmanager generic any version
nvd oracle banking cash management generic 14.2 · 14.3 · 14.5
nvd oracle banking corporate lending process management generic 14.2.0 · 14.3.0 · 14.5.0
nvd oracle banking credit facilities process management generic 14.2.0 · 14.3.0 · 14.5.0
nvd oracle banking supply chain finance generic 14.2.0
nvd oracle banking trade finance process management generic 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 brm - elastic charging engine generic 11.3 · 12.0
nvd oracle communications unified inventory management generic 7.3.4 · 7.3.5 · 7.4.0 · 7.4.1 · 7.4.2
nvd oracle enterprise manager ops center generic 12.4.0.0
nvd oracle retail customer insights generic 15.0.2 · 16.0.2
nvd oracle retail xstore point of service generic 16.0.6 · 17.0.4 · 18.0.3 · 19.0.2 · 20.0.1
nvd oracle webcenter portal generic 12.2.1.3.0 · 12.2.1.4.0
nvd oracle webcenter sites generic 12.2.1.3.0 · 12.2.1.4.0
nvd xstream xstream generic < 1.4.17

References

URLTags
https://github.com/x-stream/xstream/commit/24fac82191292c6ae25f94508d28b9823f83624f commit
https://github.com/x-stream/xstream/security/advisories/GHSA-7chv-rrw6-w6fc WEB
https://github.com/x-stream/xstream/commit/f0c4a8d861b68ffc3119cfbbbd632deee624e227 WEB
https://x-stream.github.io/CVE-2021-29505.html WEB
https://www.oracle.com/security-alerts/cpuoct2021.html WEB
https://www.oracle.com/security-alerts/cpujul2022.html WEB
https://www.oracle.com/security-alerts/cpujan2022.html WEB
https://www.oracle.com/security-alerts/cpuapr2022.html WEB
https://www.debian.org/security/2021/dsa-5004 WEB
https://security.netapp.com/advisory/ntap-20210708-0007 WEB

Timeline

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