WaratekVRT Sign in

CVE-2022-41966 XStream

Affected softwareXStream
Severity8.2 High CVSS 3.1 2 scores
Fixed in1.4.20
WeaknessDeserialization of untrusted data (CWE-502)
Published28 Dec 2022
Updated17 Jun 2026

Description

XStream serializes Java objects to XML and back again. Versions prior to 1.4.20 may allow a remote attacker to terminate the application with a stack overflow error, resulting in a denial of service only via manipulation the processed input stream. The attack uses the hash code implementation for collections and maps to force recursive hash calculation causing a stack overflow. This issue is patched in version 1.4.20 which handles the stack overflow and raises an InputManipulationException instead. A potential workaround for users who only use HashMap or HashSet and whose XML refers these only as default map or set, is to change the default implementation of java.util.Map and java.util per the code example in the referenced advisory. However, this implies that your application does not care about the implementation of the map and all elements are comparable.

CWE-120CWE-121CWE-674

Exploitation status

Proof of concept only

A proof of concept exists, but no reviewed exploit catalogue lists this CVE.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: poc CISA recorded that an exploit has been demonstrated. Automatable: yes, technical impact: partial.
  • Indexed PoC 1 indexed, none at 5+ stars
  • EPSS 9.3% chance in 30 days

1 of these are GitHub repositories with fewer than 5 stars. They are listed for reference and don't count toward the exploitation status above.

IndexArtifactStarsFirst seen
GitHub PoC 111ddea/Xstream_cve-2022-41966 3 2023-01-06

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-j563-grx4-pjpv : the maintainers' own security advisory: names the version that fixes it, so the fix is the difference between two releases

CVSS

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

Affected software and releases

Oracle advisories

AdvisoryTypeQuarterProducts Oracle names in its risk matrix
Oracle Critical Patch Update October 2023 ↗ CPU 2023-Q4 Oracle Commerce / Endeca Application Controller (XStream) (11.3.2)
Oracle Financial Services Applications / UI (XStream) (21.1, 22.1, 22.2)
Oracle Critical Patch Update July 2023 ↗ CPU 2023-Q3 Oracle Communications Applications / Pricing Updater (XStream) (12.0.0.4.0-12.0.0.6.0)
Oracle Financial Services Applications / Accessibility (XStream) (14.7.0.2.0, 14.7.1.0.0)
Oracle Financial Services Applications / Base (XStream) (14.4-14.7)
Oracle Financial Services Applications / Common (XStream) (14.5.0.8.0, 14.6.0.4.0, 14.7.0.2.0, 14.7.1.0.0)
Oracle Financial Services Applications / Common (XStream) (14.7.1.0.0)
Oracle Financial Services Applications / Dashboard (XStream) (14.5.0.8.0, 14.6.0.4.0, 14.7.0.2.0, 14.7.1.0.0)
Oracle Financial Services Applications / INFRA code (XStream) (14.5-14.7)
Oracle Financial Services Applications / Reports (XStream) (14.5-14.7)
Oracle Financial Services Applications / Security (XStream) (14.7.0.2.0, 14.7.1.0.0)
Oracle Fusion Middleware / WebCenter Sites (XStream) (12.2.1.4.0)
Oracle Utilities Applications / System Wide (XStream) (13.4.1.0.0, 13.5.1.0.0)
Oracle Utilities Applications / Tools (XStream) (6.0.0.1-6.0.0.3, 7.0.0.0)
Oracle Critical Patch Update April 2023 ↗ CPU 2023-Q2 Oracle Communications / Configuration (XStream) (22.4.0, 22.3.0)
Oracle Communications / Core (XStream) (12.6.0.0.0)
Oracle Communications / Policy (XStream) (22.4.0-22.4.4, 23.1.0-23.1.1)
Oracle Communications Applications / Security Component (XStream) (7.4.0, 7.4.1, 7.4.2, 7.5.0)
Oracle Enterprise Manager / Networking (XStream) (12.4.0.0)
Oracle Fusion Middleware / Security (XStream) (12.2.1.4.0)
Oracle Retail Applications / Xenvironment (XStream) (17.0.6, 18.0.5, 19.0.4, 20.0.3, 21.0.2)
Oracle Utilities Applications / General (XStream) (4.2.0.3.0, 4.3.0.1.0-4.3.0.6.0, 4.4.0.0.0, 4.4.0.2.0, 4.4.0.3.0, 4.5.0.0.0)

Oracle components and versions

FamilyComponentVersions, as Oracle lists themRead as
Oracle Commerce Endeca Application Controller (XStream) 11.3.2 11.3.2
Oracle Communications Configuration (XStream) 22.4.0, 22.3.0 22.3.0 · 22.4.0
Oracle Communications Core (XStream) 12.6.0.0.0 12.6.0.0.0
Oracle Communications Policy (XStream) 22.4.0-22.4.4, 23.1.0-23.1.1
Oracle Communications Applications Pricing Updater (XStream) 12.0.0.4.0-12.0.0.6.0
Oracle Communications Applications Security Component (XStream) 7.4.0, 7.4.1, 7.4.2, 7.5.0 7.4.0 · 7.4.1 · 7.4.2 · 7.5.0
Oracle Enterprise Manager Networking (XStream) 12.4.0.0 12.4.0.0
Oracle Financial Services Applications Accessibility (XStream) 14.7.0.2.0, 14.7.1.0.0 14.7.0.2.0 · 14.7.1.0.0
Oracle Financial Services Applications Base (XStream) 14.4-14.7
Oracle Financial Services Applications Common (XStream) 14.5.0.8.0, 14.6.0.4.0, 14.7.0.2.0, 14.7.1.0.0 14.5.0.8.0 · 14.6.0.4.0 · 14.7.0.2.0 · 14.7.1.0.0
Oracle Financial Services Applications Dashboard (XStream) 14.5.0.8.0, 14.6.0.4.0, 14.7.0.2.0, 14.7.1.0.0 14.5.0.8.0 · 14.6.0.4.0 · 14.7.0.2.0 · 14.7.1.0.0
Oracle Financial Services Applications INFRA code (XStream) 14.5-14.7
Oracle Financial Services Applications Reports (XStream) 14.5-14.7
Oracle Financial Services Applications Security (XStream) 14.7.0.2.0, 14.7.1.0.0 14.7.0.2.0 · 14.7.1.0.0
Oracle Financial Services Applications UI (XStream) 21.1, 22.1, 22.2 21.1 · 22.1 · 22.2
Oracle Fusion Middleware Security (XStream) 12.2.1.4.0 12.2.1.4.0
Oracle Fusion Middleware WebCenter Sites (XStream) 12.2.1.4.0 12.2.1.4.0
Oracle Retail Applications Xenvironment (XStream) 17.0.6, 18.0.5, 19.0.4, 20.0.3, 21.0.2 17.0.6 · 18.0.5 · 19.0.4 · 20.0.3 · 21.0.2
Oracle Utilities Applications General (XStream) 4.2.0.3.0, 4.3.0.1.0-4.3.0.6.0, 4.4.0.0.0, 4.4.0.2.0, 4.4.0.3.0, 4.5.0.0.0 4.2.0.3.0 · 4.4.0.0.0 · 4.4.0.2.0 · 4.4.0.3.0 · 4.5.0.0.0
Oracle Utilities Applications System Wide (XStream) 13.4.1.0.0, 13.5.1.0.0 13.4.1.0.0 · 13.5.1.0.0
Oracle Utilities Applications Tools (XStream) 6.0.0.1-6.0.0.3, 7.0.0.0 7.0.0.0

Maven packages

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

Products and versions

2 products, 2 version entries
SourceVendorProductSchemeAffected versions
osv com.thoughtworks.xstream xstream generic < 1.4.20
nvd xstream xstream generic < 1.4.20

References

URLTags
https://github.com/x-stream/xstream/security/advisories/GHSA-j563-grx4-pjpv advisory
https://github.com/x-stream/xstream PACKAGE
https://x-stream.github.io/CVE-2022-41966.html WEB
https://security.netapp.com/advisory/ntap-20230216-0005/ Third Party Advisory

Timeline

Published2022-12-28By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.