CVE & CISA-KEV Catalog

CVE-2021-21343

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 the deletion of a file on the local host. 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-21343
Fixed in:1.4.15-2CVE-2021-21343
Fixed in:1.4.15-2CVE-2021-21343
Fixed in:1.4.15-2CVE-2021-21343
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

46.67%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-73 (External Control of File Name or Path) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2022-39952Critical9.8100%-Fix
CVE-2024-8517Critical9.895%-Fix
CVE-2025-33053High8.886%KEVFix
CVE-2023-4634Critical9.883%-Fix
CVE-2018-17246Critical9.882%-Fix
CVE-2024-43451Medium6.582%KEVFix

Common questions

How do I fix CVE-2021-21343?

Published advisories record a fix for 3 affected products. The "How to fix" section on this page lists the fixed version and source advisory for each one, so apply the entry matching what you actually run.

Is CVE-2021-21343 being actively exploited?

Not that we know of. CVE-2021-21343 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 46.7% is the estimated probability that it will be exploited in the next 30 days. That is higher than 99% of all scored CVEs.

How severe is CVE-2021-21343?

CVE-2021-21343 has a CVSS v3 base score of 5.3, rated medium. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2021-21343 affect?

Published advisories record a fix for libxstream-java (Debian), libxstream-java (Ubuntu), Apache JMeter (Windows application). Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2021-21343
CVE-2021-21343 severity badge

Markdown

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

HTML

<a href="https://tridentstack.com/cve/CVE-2021-21343"><img src="https://tridentstack.com/cve/badge/CVE-2021-21343.svg" alt="CVE-2021-21343"></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.