CVE-2022-41966
XStream Denial of Service via stack overflow
No known exploitation. EPSS puts it in the 95th percentile. A vendor fix is available.
What to do
The vendor has published a fix. Version details are below where the sources state them.
What it is
From the CVE record
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.
In plain language
No plain-language summary for this CVE yet.
Exploitation
Where each signal puts this CVE on the scale from published to confirmed exploited.
- CISA KEV
Not in the catalog. CISA has not confirmed exploitation.
- Public exploits
No public exploit or proof of concept found in the sources we track.
- EPSS
8.8% chance of exploitation activity in the next 30 days, which ranks it in the 95th percentile of scored CVEs.
Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.
Lifecycle
8 events over 1276 days, from the signal feeds we watch.
- OpenVAS check added
- Nuclei check added
- Patch availableworkaround available, record updated
- Publishedweakness classified, att&ck mapped
Affected products
- OpenShift Container PlatformOperating Systems / linux-distro
- Jboss FuseOperating Systems / linux-distro
- JBoss Data GridOperating Systems / linux-distro
- Red Hat Single Sign-OnOperating Systems / linux-distro
- JBoss Enterprise Application PlatformOperating Systems / linux-distro
- Red Hat Process AutomationOperating Systems / linux-distro
- Red Hat build of QuarkusOperating Systems / linux-distro
- Red Hat Integration Camel KOperating Systems / linux-distro
And 10 more affected products. See all after sign-in
Technical detail
CVSS 3.1 vector
Open in the CVSS calculatorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
Scored 8.2 by NVD.
How it is reached
- Attack Vector NetworkExploitable remotely over the network without any special conditions
- Attack Complexity LowNo special conditions — the attack can be reliably reproduced
- Privileges Required NoneNo authentication required — anyone can exploit this
- User Interaction NoneNo user interaction needed — fully automated exploitation
Scope
- Scope UnchangedImpact is limited to the vulnerable component itself
Impact if exploited
- Confidentiality NoneNo confidentiality impact
- Integrity LowData modification is possible but limited in scope or consequence
- Availability HighTotal denial of service — the component is completely unavailable
Weaknesses
ATT&CK techniques
Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.
- ExecutionT1059Command and Scripting Interpreterhigh confidenceT1203Exploitation for Client Executionhigh confidence
- ImpactT1499Endpoint Denial of Servicemedium confidence
- Initial AccessT1190Exploit Public-Facing Applicationhigh confidence
- Privilege EscalationT1068Exploitation for Privilege Escalationhigh confidence
Sources
References in the record
- github.com/x-stream/xstream/security/advisories/GHSA-j563-grx4-pjpv
- x-stream.github.io/CVE-2022-41966.html
- security.netapp.com/advisory/ntap-20230216-0005/
And 7 more references. See all after sign-in
Watch the software you run.
My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.
We'll flag the next CVE, public exploit or patch for Red Hat Inc., not every advisory.
A free account adds
- The full version matrix and every affected product
- Exploit links, proofs of concept and Metasploit modules
- Email alerts for the products you watch
- The same data over REST API, MCP and CLI