Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2021-21349

XStream: SSRF can be activated unmarshalling with XStream to access data streams from an arbitrary URL referencing a resource in an intranet or the local host

Overview

Published
23 Mar 2021
Modified
7 Oct 2026
High CVE
2 Registry packages
5 OS packages
5 Linux distributions
Yes Fix available

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.

Source: OX vulnerability database

Severity

8.6 · HIGH

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Changed
Confidentiality
High
Integrity
None
Availability
None

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

Weakness: CWE-502, CWE-918

Affected packages · 2

Packages affected by CVE-2021-21349
EcosystemPackageVulnerableFixed in
Bitnami activemq <5.15.14=5.16.0=5.16.1 5.15.14
Maven com.thoughtworks.xstream:xstream <1.4.16 1.4.16

Open a package to see all its vulnerabilities.

Operating systems · 15 fixes

Red Hat 1 release · 1 package

eol 1
xstream
Red Hat fixes for CVE-2021-21349
ReleasePackageFixed in
7 xstream +1 eol

debian 6 releases · 1 package

fixed 6
libxstream-java
debian fixes for CVE-2021-21349
ReleasePackageFixed in
10 libxstream-java 1.4.11.1-1+deb10u3
11 libxstream-java 1.4.15-2
12 libxstream-java 1.4.15-2
13 libxstream-java 1.4.15-2
14 libxstream-java 1.4.15-2
9 libxstream-java 1.4.11.1-1+deb9u2

echo 1 release · 1 package

fixed 1
libxstream-java
echo fixes for CVE-2021-21349
ReleasePackageFixed in
libxstream-java 1.4.15-2

openSUSE 1 release · 1 package

fixed 1
xstream
openSUSE fixes for CVE-2021-21349
ReleasePackageFixed inAdvisory
Tumbleweed xstream +3 1.4.18-1.1 openSUSE-SU-2024:10592-1

ubuntu 6 releases · 1 package

fixed 6
libxstream-java
ubuntu fixes for CVE-2021-21349
ReleasePackageFixed in
18.04 libxstream-java 1.4.11.1-1~18.04.2
18.04-ESM libxstream-java 1.4.11.1-1~18.04.2
20.04 libxstream-java 1.4.11.1-1ubuntu0.2
20.04-ESM libxstream-java 1.4.11.1-1ubuntu0.2
22.04 libxstream-java 1.4.15-2
24.04 libxstream-java 1.4.15-2

References

Show all 27 references

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.