CVE & CISA-KEV Catalog

CVE-2021-21342

MEDIUMEPSS 99th pctl
5.3
CVSS v3
NVD

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 where the processed stream at unmarshalling time contains type information to recreate the formerly written objects. XStream creates therefore new instances based on these type information. An attacker can manipulate the processed input stream and replace or inject objects, that result in a server-side forgery request. 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.

How to fix

Remediation Available
libxstream-javaDebian
Fixed in:1.4.15-2CVE-2021-21342
Fixed in:1.4.15-2CVE-2021-21342
Fixed in:1.4.15-2CVE-2021-21342
Fixed in:1.4.15-2CVE-2021-21342
libxstream-javaUbuntu
Fixed in:1.4.7-1ubuntu0.1+esm2USN-6978-1
Fixed in:1.4.8-1ubuntu0.1+esm3USN-6978-1
Fixed in:1.4.11.1-1~18.04.2USN-4943-1
Fixed in:1.4.11.1-1ubuntu0.2USN-4943-1
Apache JMeterWindows application
Affected:5.5Fixed in:5.5DEVCOM

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionRequired
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityHigh
AvailabilityNone

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N

Exploit Intelligence

49.99%probability of exploitation in 30 days
99thpercentile

Very high risk: more likely to be exploited than 99% of all known CVEs.

References

Related Vulnerabilities

Other CWE-502 (Deserialization of Untrusted Data) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2023-0669High7.2100%KEV + RansomFix
CVE-2021-44228Critical10.0100%KEV + RansomFix
CVE-2021-35464Critical9.8100%KEV + RansomFix
CVE-2023-29300Critical9.8100%KEV + Ransom-
CVE-2025-53770Critical9.8100%KEV + RansomFix
CVE-2022-41082High8.0100%KEV + RansomFix
Embed a live status badge for CVE-2021-21342
CVE-2021-21342 severity badge

Markdown

[![CVE-2021-21342](https://tridentstack.com/cve/badge/CVE-2021-21342.svg)](https://tridentstack.com/cve/CVE-2021-21342)

HTML

<a href="https://tridentstack.com/cve/CVE-2021-21342"><img src="https://tridentstack.com/cve/badge/CVE-2021-21342.svg" alt="CVE-2021-21342"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

See how it worksStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-05-23.