CVE-2021-43859
published high CVSS 3.1 · 7.5Denial of Service by injecting highly recursive collections or maps in XStream
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| x-stream | — | xstream< 1.4.19 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | SLE-15-SP2 | xstreamnoarch | Advisory build | 1.4.19-3.18.2 | SUSE-SU-2022:0817-1 |
| Debian | bullseye | libxstream-java | Advisory build | 1.4.15-3+deb11u3 | DLA-4001-1 |
| SUSE / openSUSE | SLE-15-SP3 | xstreamnoarch | Advisory build | 1.4.19-3.18.2 | SUSE-SU-2022:0817-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | xstreamnoarch | Advisory build | 1.4.19-3.18.2 | OPENSUSE-SU-2022:0817-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | xstreamaarch64 | Advisory build | 1.4.19-1.1 | OPENSUSE-SU-2024:11809-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | xstreamppc64le | Advisory build | 1.4.19-1.1 | OPENSUSE-SU-2024:11809-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | xstreams390x | Advisory build | 1.4.19-1.1 | OPENSUSE-SU-2024:11809-1 |
Show 17 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | xstreamx86_64 | Advisory build | 1.4.19-1.1 | OPENSUSE-SU-2024:11809-1 |
| Debian | stretch | libxstream-java | Advisory build | 1.4.11.1-1+deb9u5 | DLA-2924-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | xstream-benchmarknoarch | Advisory build | 1.4.19-3.18.2 | OPENSUSE-SU-2022:0817-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | xstream-javadocnoarch | Advisory build | 1.4.19-3.18.2 | OPENSUSE-SU-2022:0817-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | xstream-parentnoarch | Advisory build | 1.4.19-3.18.2 | OPENSUSE-SU-2022:0817-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | xstream-benchmarkaarch64 | Advisory build | 1.4.19-1.1 | OPENSUSE-SU-2024:11809-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | xstream-benchmarkppc64le | Advisory build | 1.4.19-1.1 | OPENSUSE-SU-2024:11809-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | xstream-benchmarks390x | Advisory build | 1.4.19-1.1 | OPENSUSE-SU-2024:11809-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | xstream-benchmarkx86_64 | Advisory build | 1.4.19-1.1 | OPENSUSE-SU-2024:11809-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | xstream-javadocaarch64 | Advisory build | 1.4.19-1.1 | OPENSUSE-SU-2024:11809-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | xstream-javadocppc64le | Advisory build | 1.4.19-1.1 | OPENSUSE-SU-2024:11809-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | xstream-javadocs390x | Advisory build | 1.4.19-1.1 | OPENSUSE-SU-2024:11809-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | xstream-javadocx86_64 | Advisory build | 1.4.19-1.1 | OPENSUSE-SU-2024:11809-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | xstream-parentaarch64 | Advisory build | 1.4.19-1.1 | OPENSUSE-SU-2024:11809-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | xstream-parentppc64le | Advisory build | 1.4.19-1.1 | OPENSUSE-SU-2024:11809-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | xstream-parents390x | Advisory build | 1.4.19-1.1 | OPENSUSE-SU-2024:11809-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | xstream-parentx86_64 | Advisory build | 1.4.19-1.1 | OPENSUSE-SU-2024:11809-1 |
Description
XStream is an open source java library to serialize objects to XML and back again. Versions prior to 1.4.19 may allow a remote attacker to allocate 100% CPU time on the target system depending on CPU type or parallel execution of such a payload resulting in a denial of service only by manipulating the processed input stream. XStream 1.4.19 monitors and accumulates the time it takes to add elements to collections and throws an exception if a set threshold is exceeded. Users are advised to upgrade as soon as possible. Users unable to upgrade may set the NO_REFERENCE mode to prevent recursion. See GHSA-rmr5-cpv2-vgjf for further details on a workaround if an upgrade is not possible.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| x-stream | xstream | < 1.4.19 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-400 CWE-400: Uncontrolled Resource Consumption
References
10- [oss-security] 20220209 Vulnerability in Jenkins http://www.openwall.com/lists/oss-security/2022/02/09/1
- https://github.com/x-stream/xstream/commit/e8e88621ba1c85ac3b8620337dd672e0c0c3a846
- https://github.com/x-stream/xstream/security/advisories/GHSA-rmr5-cpv2-vgjf
- [debian-lts-announce] 20220215 [SECURITY] [DLA 2924-1] libxstream-java security update https://lists.debian.org/debian-lts-announce/2022/02/msg00018.html
- https://lists.debian.org/debian-lts-announce/2024/12/msg00023.html
- FEDORA-2022-983a78275c https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VACQYG356OHUTD5WQGAQ4L2TTFTAV3SJ/
- FEDORA-2022-ad5cf1c0dd https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XODFRE2ZL64FICBJDOPWOLPTSSAI4U7X/
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://www.oracle.com/security-alerts/cpujul2022.html
- https://x-stream.github.io/CVE-2021-43859.html
Provider assertions
3GitHub_M · cna
Denial of Service by injecting highly recursive collections or maps in XStream
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a5bbb3f4006db6afb65de9f12f8a0ab5c83b9e6864104f9d2030be6a7c9871c4
- Ingested
- 23 Sep 2026, 07:56:36 UTC
- Source record
- Official CVE record