CVE-2021-39139
XStream is vulnerable to an Arbitrary Code Execution attack
No known exploitation. EPSS puts it in the 91st percentile. A vendor fix is available.
What to do
The vendor has published a fix. Version details are below where the sources state them.
What it is
From the CVE record
XStream is a simple library to serialize objects to XML and back again. In affected versions this vulnerability may allow a remote attacker to load and execute arbitrary code from a remote host only by manipulating the processed input stream. A user is only affected if using the version out of the box with JDK 1.7u21 or below. However, this scenario can be adjusted easily to an external Xalan that works regardless of the version of the Java runtime. No user is affected, who followed the recommendation to setup XStream's security framework with a whitelist limited to the minimal required types. XStream 1.4.18 uses no longer a blacklist by default, since it cannot be secured for general purpose.
In plain language
No plain-language summary for this CVE yet.
Exploitation
Where each signal puts this CVE on the scale from published to confirmed exploited.
- CISA KEV
Not in the catalog. CISA has not confirmed exploitation.
- Public exploits
No public exploit or proof of concept found in the sources we track.
- EPSS
4.5% chance of exploitation activity in the next 30 days, which ranks it in the 91st percentile of scored CVEs.
Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.
Lifecycle
6 events over 1767 days, from the signal feeds we watch.
- OpenVAS check added
- Patch availablerecord updated
- Publishedweakness classified, att&ck mapped
Affected products
- business activity monitoringEnterprise Software / itsm-monitoring
- commerce guided searchDatabases / data-warehouse-analytics
- communications billing and revenue management elastic charging engineEnterprise Software / itsm-monitoring
- communications cloud native core automated test suiteDatabases / data-warehouse-analytics
- communications cloud native core binding support functionCommunications
- communications cloud native core policyDatabases / cache-message-queue
- communications unified inventory managementEnterprise Software / itsm-monitoring
- retail xstore point of serviceDatabases / cache-message-queue
- Red Hat Enterprise LinuxOperating Systems / linux-distro
- Red Hat Descision ManagerOperating Systems / linux-distro
- Data GridOperating Systems / linux-distro
- Red Hat Process AutomationOperating Systems / linux-distro
- Red Hat Integration Camel QuarkusOperating Systems / linux-distro
- Red Hat CodeReady StudioOperating Systems / linux-distro
And 9 more affected products. See all after sign-in
Technical detail
CVSS 3.1 vector
Open in the CVSS calculatorCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
Scored 8.5 by NVD.
How it is reached
- Attack Vector NetworkExploitable remotely over the network without any special conditions
- Attack Complexity HighRequires specific conditions like a race condition or non-default configuration
- Privileges Required LowRequires basic user-level privileges
- User Interaction NoneNo user interaction needed — fully automated exploitation
Scope
- Scope ChangedThe exploit can affect other components (e.g. sandbox escape, host compromise from VM)
Impact if exploited
- Confidentiality HighTotal information disclosure — all data in the component is compromised
- Integrity HighTotal loss of integrity — attacker can modify any data in the component
- Availability HighTotal denial of service — the component is completely unavailable
Weaknesses
ATT&CK techniques
Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.
Sources
References in the record
- github.com/x-stream/xstream/security/advisories/GHSA-64xx-cq4q-mf44
- x-stream.github.io/CVE-2021-39139.html
- lists.debian.org/debian-lts-announce/2021/09/msg00017.html
And 17 more references. See all after sign-in
Watch the software you run.
My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.
We'll flag the next CVE, public exploit or patch for Oracle, not every advisory.
A free account adds
- The full version matrix and every affected product
- Exploit links, proofs of concept and Metasploit modules
- Email alerts for the products you watch
- The same data over REST API, MCP and CLI