CVE-2022-40151
xstream: Xstream to serialise XML data was vulnerable to Denial of Service attacks
Overview
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.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-121, CWE-787
Affected packages · 4
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Maven | com.thoughtworks.xstream:xstream | <1.4.20 | 1.4.20 |
| Seal Maven | com.thoughtworks.xstream:xstream | >=1.3.1+sp0, <1.3.1+sp999>=1.4.11.1+sp0, <1.4.11.1+sp3 | 1.3.1+sp9991.4.11.1+sp3 |
| Seal Maven | seal.sp1.com.thoughtworks.xstream:xstream | >=1.3.1, <1.3.1+sp999>=1.4.11.1, <1.4.11.1+sp999 | 1.3.1+sp9991.4.11.1+sp999 |
| Seal Maven | seal.sp2.com.thoughtworks.xstream:xstream | >=1.4.11.1, <1.4.11.1+sp999 | 1.4.11.1+sp999 |
Open a package to see all its vulnerabilities.
Operating systems · 11 fixes
Red Hat 3 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 7 | jenkins | affected |
| 7 | xstream +1 | eol |
| 8 | jenkins | affected |
| 9 | jenkins | affected |
SUSE Linux Enterprise 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 15.4 | xstream | 1.4.20-150200.3.25.1 | SUSE-SU-2023:1673-1 |
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | libxstream-java | affected |
| 12 | libxstream-java | affected |
| 13 | libxstream-java | affected |
| 14 | libxstream-java | affected |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| libxstream-java | affected |
openSUSE 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | xstream +3 | 1.4.20-1.1 | openSUSE-SU-2024:12796-1 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2022-40151
- bugs.chromium.org https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=47367
- github.com https://github.com/x-stream/xstream
- github.com https://github.com/x-stream/xstream/issues/304
- github.com https://github.com/x-stream/xstream/issues/314
- github.com https://github.com/x-stream/xstream/security/advisories/GHSA-f8cc-g7j8-xxpm
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2022-40151
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2022-40151
- x-stream.github.io https://x-stream.github.io/CVE-2022-40151.html
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.