CVE-2021-29505
published high CVSS 3.1 · 7.5XStream is vulnerable to a Remote Command Execution attack
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| x-stream | — | xstream< 1.4.17 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2 | Release evaluationALAS2-2021-1698 | Fixed | Not stated | Amazon Linux assessment |
| Oracle Linux | 7 | xstreamaarch64 | Advisory build | 0:1.3.1-14.el7_9 | ELSA-2021-2683 |
| Red Hat Enterprise Linux | RHEL-7 | xstreamnoarch | Advisory build | 1.3.1-14.el7_9 | RHSA-2021:2683 |
| SUSE / openSUSE | SLE-15-SP2 | xstreamnoarch | Advisory build | 1.4.17-3.11.2 | SUSE-SU-2021:1995-1 |
| Debian | stretch | libxstream-java | Advisory build | 1.4.11.1-1+deb9u3 | DLA-2704-1 |
| Amazon Linux | AL2 | xstreamnoarch | Listed in advisory | Not stated | ALAS2-2021-1698 |
| Oracle Linux | 7 | xstreamx86_64 | Advisory build | 0:1.3.1-14.el7_9 | ELSA-2021-2683 |
Show 30 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | RHEL-7 | xstreamsrc | Advisory build | 1.3.1-14.el7_9 | RHSA-2021:2683 |
| SUSE / openSUSE | SLE-15-SP3 | xstreamnoarch | Advisory build | 1.4.17-3.11.2 | SUSE-SU-2021:1995-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | xstreamnoarch | Advisory build | 1.4.17-lp152.2.9.1 | OPENSUSE-SU-2021:0911-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | xstreamnoarch | Advisory build | 1.4.17-3.11.2 | OPENSUSE-SU-2021:1995-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | xstreamaarch64 | Advisory build | 1.4.18-1.1 | OPENSUSE-SU-2024:10592-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | xstreamppc64le | Advisory build | 1.4.18-1.1 | OPENSUSE-SU-2024:10592-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | xstreams390x | Advisory build | 1.4.18-1.1 | OPENSUSE-SU-2024:10592-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | xstreamx86_64 | Advisory build | 1.4.18-1.1 | OPENSUSE-SU-2024:10592-1 |
| Oracle Linux | 7 | xstream-javadocaarch64 | Advisory build | 0:1.3.1-14.el7_9 | ELSA-2021-2683 |
| Oracle Linux | 7 | xstream-javadocx86_64 | Advisory build | 0:1.3.1-14.el7_9 | ELSA-2021-2683 |
| Red Hat Enterprise Linux | RHEL-7 | xstream-javadocnoarch | Advisory build | 1.3.1-14.el7_9 | RHSA-2021:2683 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | xstream-benchmarknoarch | Advisory build | 1.4.17-lp152.2.9.1 | OPENSUSE-SU-2021:0911-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | xstream-javadocnoarch | Advisory build | 1.4.17-lp152.2.9.1 | OPENSUSE-SU-2021:0911-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | xstream-parentnoarch | Advisory build | 1.4.17-lp152.2.9.1 | OPENSUSE-SU-2021:0911-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | xstream-benchmarknoarch | Advisory build | 1.4.17-3.11.2 | OPENSUSE-SU-2021:1995-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | xstream-javadocnoarch | Advisory build | 1.4.17-3.11.2 | OPENSUSE-SU-2021:1995-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | xstream-parentnoarch | Advisory build | 1.4.17-3.11.2 | OPENSUSE-SU-2021:1995-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | xstream-benchmarkaarch64 | Advisory build | 1.4.18-1.1 | OPENSUSE-SU-2024:10592-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | xstream-benchmarkppc64le | Advisory build | 1.4.18-1.1 | OPENSUSE-SU-2024:10592-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | xstream-benchmarks390x | Advisory build | 1.4.18-1.1 | OPENSUSE-SU-2024:10592-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | xstream-benchmarkx86_64 | Advisory build | 1.4.18-1.1 | OPENSUSE-SU-2024:10592-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | xstream-javadocaarch64 | Advisory build | 1.4.18-1.1 | OPENSUSE-SU-2024:10592-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | xstream-javadocppc64le | Advisory build | 1.4.18-1.1 | OPENSUSE-SU-2024:10592-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | xstream-javadocs390x | Advisory build | 1.4.18-1.1 | OPENSUSE-SU-2024:10592-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | xstream-javadocx86_64 | Advisory build | 1.4.18-1.1 | OPENSUSE-SU-2024:10592-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | xstream-parentaarch64 | Advisory build | 1.4.18-1.1 | OPENSUSE-SU-2024:10592-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | xstream-parentppc64le | Advisory build | 1.4.18-1.1 | OPENSUSE-SU-2024:10592-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | xstream-parents390x | Advisory build | 1.4.18-1.1 | OPENSUSE-SU-2024:10592-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | xstream-parentx86_64 | Advisory build | 1.4.18-1.1 | OPENSUSE-SU-2024:10592-1 |
| Amazon Linux | AL2 | xstreamsrc | Listed in advisory | Not stated | ALAS2-2021-1698 |
Description
XStream is software for serializing Java objects to XML and back again. A vulnerability in XStream versions prior to 1.4.17 may allow a remote attacker has sufficient rights to execute commands of the host only by manipulating the processed input stream. No user who followed the recommendation to setup XStream's security framework with a whitelist limited to the minimal required types is affected. The vulnerability is patched in version 1.4.17.
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:H/PR:L/UI:N/S:U/C:H/I:H/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.17 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-94 CWE-94: Improper Control of Generation of Code ('Code Injection')
- CWE-502 CWE-502: Deserialization of Untrusted Data
References
20- https://github.com/x-stream/xstream/commit/24fac82191292c6ae25f94508d28b9823f83624f
- https://github.com/x-stream/xstream/commit/f0c4a8d861b68ffc3119cfbbbd632deee624e227
- https://github.com/x-stream/xstream/security/advisories/GHSA-7chv-rrw6-w6fc
- [jmeter-dev] 20210607 [GitHub] [jmeter] sseide opened a new pull request #667: update x-stream to 1.4.17 (from 1.4.16) https://lists.apache.org/thread.html/r8ee51debf7fd184b6a6b020dc31df25118b0aa612885f12fbe77f04f%40%3Cdev.jmeter.apache.org%3E
- https://lists.apache.org/thread.html/r8ee51debf7fd184b6a6b020dc31df25118b0aa612885f12fbe77f04f@%3Cdev.jmeter.apache.org%3E
- https://lists.debian.org/debian-lts-announce/2021/07/msg00004.html
- FEDORA-2021-fbad11014a https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/22KVR6B5IZP3BGQ3HPWIO2FWWCKT3DHP/
- FEDORA-2021-5e376c0ed9 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PVPHZA7VW2RRSDCOIPP2W6O5ND254TU7/
- FEDORA-2021-d894ca87dc https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QGXIU3YDPG6OGTDHMBLAFN7BPBERXREB/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/22KVR6B5IZP3BGQ3HPWIO2FWWCKT3DHP
- https://lists.fedoraproject.org/archives/list/[email protected]/message/PVPHZA7VW2RRSDCOIPP2W6O5ND254TU7
- https://lists.fedoraproject.org/archives/list/[email protected]/message/QGXIU3YDPG6OGTDHMBLAFN7BPBERXREB
- https://security.netapp.com/advisory/ntap-20210708-0007
- https://security.netapp.com/advisory/ntap-20210708-0007/
- https://www.debian.org/security/2021/dsa-5004
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://www.oracle.com/security-alerts/cpujan2022.html
- https://www.oracle.com/security-alerts/cpujul2022.html
- https://www.oracle.com/security-alerts/cpuoct2021.html
- https://x-stream.github.io/CVE-2021-29505.html
Provider assertions
3GitHub_M · cna
XStream is vulnerable to a Remote Command Execution attack
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 3936edfa745ef32b4a5501911336d9709c81b75f391bf8454928d1db6a5e55b6
- Ingested
- 07 Oct 2026, 22:33:38 UTC
- Source record
- Official CVE record