CVE-2021-39150

A Server-Side Forgery Request vulnerability in XStream via PriorityQueue unmarshaling

Published Aug 23, 2021 CVSS 3.1 · 8.5 High EPSS 3.4% KEV · Not listed
Description
XStream is a simple library to serialize objects to XML and back again. In affected versions this vulnerability may allow a remote attacker to request data from internal resources that are not publicly available only by manipulating the processed input stream with a Java runtime version 14 to 8. 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](https://x-stream.github.io/security.html#framework), you will have to use at least version 1.4.18.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-2769-1 libxstream-java security update
Debian DSA Debian DSA DSA-5004-1 libxstream-java security update
EUVD EUVD EUVD-2021-1688 XStream is a simple library to serialize objects to XML and back again. In affected versions this vulnerability may allow a remote attacker to request data from internal resources that are not publicly available only by manipulating the processed input stream with a Java runtime version 14 to 8. 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](https://x-stream.github.io/security.html#framework), you will have to use at least version 1.4.18.
Github GHSA Github GHSA GHSA-cxfm-5m4g-x7xp A Server-Side Forgery Request can be activated unmarshalling with XStream to access data streams from an arbitrary URL referencing a resource in an intranet or the local host
Ubuntu USN Ubuntu USN USN-5946-1 XStream vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Xstream
Xstream xstream
CPEs cpe:2.3:a:xstream_project:xstream:*:*:*:*:*:*:*:* cpe:2.3:a:xstream:xstream:*:*:*:*:*:*:*:*
Vendors & Products Xstream Project
Xstream Project xstream
Xstream
Xstream xstream
Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 7, 2026, 7:59 PM
Reserved
Aug 16, 2021, 12:00 AM
Status
Analyzed
Published
Aug 23, 2021, 7:15 PM
Modified
Oct 7, 2026, 9:17 PM
Severity
Important
Public date
Aug 22, 2021, 12:00 AM