CVE-2022-40151
A public proof of concept exists; no exploitation attested.
- Published2022-09-16
- Fixed in1.4.20
- WeaknessCWE-121 · CWE-787
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
Those using Xstream to seralize XML data may be vulnerable to Denial of Service attacks (DOS). If the parser is running on user supplied input, an attacker may supply content that causes the parser to crash by stackoverflow. This effect may support a denial of service attack.
Timeline
dates in UTC- 2022-09-1610:15CVE publishedNVD
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 1.4 | < 1.4.20 | 1.4.20 | NVD · OSV |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As Google, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- xstreamAffected
- ≤ 1.4.19no fix statedcustom
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2022-09-16
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- com.thoughtworks.xstream:xstreamRoot:Mavenall versions · fixed in 1.4.20-aikido.2
- hadoop-fips-3.3.6Chainguardall versions · no fixed version listedand 1 other package
- io.root.com.thoughtworks.xstream:xstreamRoot:Mavenall versions · fixed in 1.4.20-root.io.1
- io.root.com.thoughtworks.xstream:xstreamRoot:Mavenall versions · fixed in 1.4.20-root.io.2
- jenkinsRed Hat:ocp_tools:4.13::el8all versions · fixed in 0:2.387.3.1684911776-3.el8
- jenkins-2-pluginsRed Hat:ocp_tools:4.13::el8all versions · fixed in 0:4.13.1684911916-1.el8
- libxstream-javaUbuntu:Pro:16.04:LTSall versions · no fixed version listed
- libxstream-javaUbuntu:Pro:14.04:LTSall versions · no fixed version listed
31 more package ranges on OSV.dev
Vendor advisories
xstream: Xstream to serialise XML data was vulnerable to Denial of Service attacks
xstream.src as a component of Migration Toolkit for Runtimes · xstream as a component of Red Hat build of Quarkus · xstream as a component of Red Hat Data Grid 8 · +18 more
Red Hat Security Advisory: Red Hat Process Automation Manager 7.13.5 security update
Red Hat Security Advisory: jenkins and jenkins-2-plugins security update
Red Hat Security Advisory: Red Hat Integration Camel for Spring Boot 3.20.1 security update
Red Hat Security Advisory: Red Hat Integration Camel Extensions For Quarkus 2.13.2
Fix
- Update Xstream to 1.4.20
- Vendor fix Red Hat Product Security RHSA-2024:1353 · 1 productBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
- Vendor fix Red Hat Product Security RHSA-2023:3299 · 2 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
- Vendor fix Red Hat Product Security RHSA-2023:0469 · 1 productBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
- No fix available, says the vendor Red Hat Product Security CVE-2022-40151 · 1 productFix deferred
- No fix available, says the vendor Red Hat Product Security CVE-2022-40151 · 4 productsAffected
- No fix planned, says the vendor Red Hat Product Security CVE-2022-40151 · 12 productsOut of support scope
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- CISA-ADP (SSVC)PoC stated2025-04-21
- PoC-in-GitHubno public repository identifiedread 2026-11-08
- Metasploit modules
- none listed Metasploit Framework
Sources
- CISA-ADPSSVC decisionpoc2025-04-21
- CNACVSS 3.16.5known since 2026-10-23
- NVDCVSS 3.17.5read 2026-10-23
- CNAweakness (CWE)CWE-121known since 2026-10-23
- NVDweakness (CWE)CWE-787read 2026-10-23
- FIRST EPSSEPSS score2.2 %2026-11-08
- OSVaffected packages—
- GitHub AdvisoriesadvisoryHIGH2022-12-30
Identifiers
- CGA-3364-63mp-7cwvsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-hw34-c8cf-7qhmsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-r5ww-378x-6g4vsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-xr64-w4f2-57vcsame flawChainguard · CC-BY-NC-ND-4.0
- EUVD-2022-7616same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-f8cc-g7j8-xxpmsame flawGitHub Advisory Database · CC-BY-4.0
- OESA-2023-1929advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2023-1937advisory covering several CVEsopenEuler · LicenseRef-unstated
- openSUSE-SU-2024:12796-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHSA-2023:3299advisory covering several CVEsRed Hat · CC-BY-4.0
- SUSE-SU-2023:1673-1advisory covering several CVEsSUSE · LicenseRef-unstated
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Published
- 2022-09-16
- Last Modified
- 2026-06-17
- NVD status
- Analyzed
- GitHub Advisory
- GHSA-f8cc-g7j8-xxpm
Frequently asked questions
What is CVE-2022-40151?
Is CVE-2022-40151 actively exploited?
What is the CVSS score for CVE-2022-40151?
Running xstream? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-f8cc-g7j8-xxpm
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0