Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2021-21345

published medium CVSS 3.1 · 5.8

XStream is vulnerable to a Remote Command Execution attack

Published
22 Mar 2021, 23:40:25 UTC
Updated
07 Oct 2026, 18:46:57 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
x-stream — xstream< 1.4.16 Affected Not stated GitHub_M
Amazon Linux AL2 Release evaluationALAS2-2021-1645 Fixed Not stated Amazon Linux assessment
Oracle Linux 7 xstreamaarch64 Advisory build 0:1.3.1-13.el7_9 ELSA-2021-1354
Red Hat Enterprise Linux RHEL-7 xstreamnoarch Advisory build 1.3.1-13.el7_9 RHSA-2021:1354
SUSE / openSUSE SLE-15-SP2 xstreamnoarch Advisory build 1.4.16-3.8.1 SUSE-SU-2021:1840-1
Debian stretch libxstream-java Advisory build 1.4.11.1-1+deb9u2 DLA-2616-1
Ubuntu bionic libxstream-java Advisory build 1.4.11.1-1~18.04.2 USN-4943-1
Amazon Linux AL2 xstreamnoarch Listed in advisory Not stated ALAS2-2021-1645
Show 34 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Oracle Linux 7 xstreamx86_64 Advisory build 0:1.3.1-13.el7_9 ELSA-2021-1354
Red Hat Enterprise Linux RHEL-7 xstreamsrc Advisory build 1.3.1-13.el7_9 RHSA-2021:1354
SUSE / openSUSE SLE-15-SP3 xstreamnoarch Advisory build 1.4.16-3.8.1 SUSE-SU-2021:1840-1
SUSE / openSUSE openSUSE-Leap-15.2 xstreamnoarch Advisory build 1.4.16-lp152.2.6.1 OPENSUSE-SU-2021:0832-1
SUSE / openSUSE openSUSE-Leap-15.3 xstreamnoarch Advisory build 1.4.16-3.8.1 OPENSUSE-SU-2021:1840-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-13.el7_9 ELSA-2021-1354
Oracle Linux 7 xstream-javadocx86_64 Advisory build 0:1.3.1-13.el7_9 ELSA-2021-1354
Red Hat Enterprise Linux RHEL-7 xstream-javadocnoarch Advisory build 1.3.1-13.el7_9 RHSA-2021:1354
SUSE / openSUSE openSUSE-Leap-15.2 xstream-benchmarknoarch Advisory build 1.4.16-lp152.2.6.1 OPENSUSE-SU-2021:0832-1
SUSE / openSUSE openSUSE-Leap-15.2 xstream-javadocnoarch Advisory build 1.4.16-lp152.2.6.1 OPENSUSE-SU-2021:0832-1
SUSE / openSUSE openSUSE-Leap-15.2 xstream-parentnoarch Advisory build 1.4.16-lp152.2.6.1 OPENSUSE-SU-2021:0832-1
SUSE / openSUSE openSUSE-Leap-15.3 xstream-benchmarknoarch Advisory build 1.4.16-3.8.1 OPENSUSE-SU-2021:1840-1
SUSE / openSUSE openSUSE-Leap-15.3 xstream-javadocnoarch Advisory build 1.4.16-3.8.1 OPENSUSE-SU-2021:1840-1
SUSE / openSUSE openSUSE-Leap-15.3 xstream-parentnoarch Advisory build 1.4.16-3.8.1 OPENSUSE-SU-2021:1840-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
Ubuntu esm libxstream-java Advisory build 1.4.7-1ubuntu0.1+esm2 USN-6978-1
Ubuntu focal libxstream-java Advisory build 1.4.11.1-1ubuntu0.2 USN-4943-1
Ubuntu xenial libxstream-java Advisory build 1.4.8-1ubuntu0.1+esm3 USN-6978-1
Amazon Linux AL2 xstreamsrc Listed in advisory Not stated ALAS2-2021-1645

Description

XStream is a Java library to serialize objects to XML and back again. In XStream before version 1.4.16, there is a vulnerability which may allow a remote attacker who has sufficient rights to execute commands of the host only by manipulating the processed input stream. No user is affected, who followed the recommendation to setup XStream's security framework with a whitelist limited to the minimal required types. If you rely on XStream's default blacklist of the Security Framework, you will have to use at least version 1.4.16.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

13

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
5.8 / 10
Severity
medium
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:H/A:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
x-stream xstream < 1.4.16 (affected) GitHub_M · cna

Weaknesses

2
  • CWE-94 CWE-94 Improper Control of Generation of Code ('Code Injection') (GitHub_M · cna)
  • CWE-502 CWE-502 Deserialization of Untrusted Data (GitHub_M · cna)

References

16

Provider assertions

3

GitHub_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
8b508f445b33032c474bc9d9dcd587e7137bf73de98545d0ed74e611873d9359
Ingested
07 Oct 2026, 22:33:22 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected