HOMEVULNERABILITIESCVE-2021-21349
HIGH

CVE-2021-21349

CWE-502Published: March 23, 2021· Updated: Jun 17, 2026

8.6
CVSS v3.1

Official 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 to request data from internal resources that are not publicly available 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.

NVD Source

Technical Analysis

CVE-2021-21349 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.

The vulnerability requires no privileges and no user interaction, making it a prime target for automated exploitation campaigns and worm-like propagation.

A successful exploit results in complete confidentiality breach (data exposure), with a CVSS base score of 8.6.

The vulnerability has a "Changed" scope, meaning successful exploitation can impact components beyond the vulnerable component itself — such as the host operating system or adjacent services.

From a weakness classification perspective (CWE-502): Insecure deserialization vulnerabilities allow attackers to inject malicious objects during deserialization, potentially enabling remote code execution.

CVSS v3.1 Vector Breakdown

Exploitability
Attack VectorNetwork
Attack ComplexityLow
Privileges Req.None
User InteractionNone
ScopeChanged
Impact
ConfidentialityHigh
IntegrityNone
AvailabilityNone
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N

Affected Vendors & Products

Apache2 product(s)
activemqjmeter
Debian1 product(s)
debian linux
Fedora1 product(s)
fedora
netapp1 product(s)
oncommand insight
Oracle11 product(s)
banking enterprise default managementbanking platformbanking virtual account managementbusiness activity monitoringcommunications billing and revenue management elastic charging enginecommunications policy managementcommunications unified inventory managementgraalvmjava seretail xstore point of servicewebcenter portal
xstream1 product(s)
xstream
Source: NVD CPE · 42 total CPE entries

Exploit & PoC Resources

NO KNOWN EXPLOITNo public exploit confirmed at this time
External links open in a new tab. Always verify in a controlled environment before use.

Official Patches & Advisories

All References (30)

http://x-stream.github.io/changes.html#1.4.16Release Notes · Third Party Advisory
https://www.debian.org/security/2021/dsa-5004Mailing List · Third Party Advisory
https://x-stream.github.io/CVE-2021-21349.htmlExploit · Third Party Advisory
https://x-stream.github.io/security.html#workaroundMitigation · Third Party Advisory

Quick Facts

CVE IDCVE-2021-21349
CVSS Score8.6 / 10
SeverityHIGH
WeaknessCWE-502
CISA KEVNo
Affected6 vendor(s)
PublishedMar 23, 2021

Related CVEs (CWE-502)

Recommended Actions

  • Apply vendor patches immediately
  • Monitor CVE-2021-21349 in threat intel feeds
  • Review IDS/IPS signatures for exploitation attempts
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWatch. CVE data is provided under the NVD usage policy.