LiveActive security incident?Get immediate response
CVE Record

CVE-2021-39144: XStream is vulnerable to a Remote Command Execution attack

XStream is a simple library to serialize objects to XML and back again. In affected versions this vulnerability may allow a remote attacker has sufficient rights to execute commands of the host 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. XStream 1.4.18 uses no longer a blacklist by default, since it cannot be secured for general purpose.

HighCVSS 8.5Known exploitedUpdated
Glexia's TakeAutomated analysiscritical

Security readout for executives and security teams

Plain-English summary

XStream before 1.4.18 can let an attacker with some access make a vulnerable application run commands on the host by sending manipulated XML input. The business risk is highest where XStream processes untrusted data or is embedded in vendor products.

Executive priority

Prioritize remediation for internet-facing or partner-facing systems and vendor appliances using XStream. KEV status means this should be handled as an urgent vulnerability management item, not routine backlog work.

Technical view

This is a deserialization/code execution issue in x-stream XStream versions before 1.4.18. The CVSS vector is network reachable, high complexity, low privileges, no user interaction, scope changed, with high confidentiality, integrity, and availability impact.

Likely exposure

Java applications or packaged products using XStream below 1.4.18 are the primary exposure. Systems are less exposed if XStream's security framework was already configured with a whitelist limited to required types.

Exploitation context

The source bundle marks this CVE as in CISA KEV, so treat exploitation as confirmed. Public references also include a Packet Storm entry for VMware NSX Manager, but affected downstream product scope must be verified from vendor advisories.

Researcher notes

The strongest evidence is the upstream advisory and XStream CVE page. The bundle confirms affected versions before 1.4.18 and whitelist-based protection. Downstream vendor exposure is referenced but requires product-specific confirmation.

Mitigation direction

  • Upgrade XStream to 1.4.18 or later where directly managed.
  • Apply vendor or distribution updates for libxstream-java and embedded XStream products.
  • Configure XStream's security framework with a minimal required-type whitelist.
  • Identify and prioritize endpoints processing untrusted XML through XStream.
  • Check Oracle, NetApp, Debian, and Fedora advisories for product-specific guidance.

Validation and detection

  • Inventory application dependencies for xstream or libxstream-java versions below 1.4.18.
  • Review code paths where XStream deserializes XML from users, partners, or network services.
  • Confirm XStream type permissions are whitelist-based and limited to required classes.
  • Check vendor product advisories for embedded XStream exposure and fixed versions.
  • Verify patched deployments through dependency reports or package manager evidence.
Prepared
Confidence
high
Sources
9

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-502: Code execution behavior lookup

Code execution and unsafe deserialization weaknesses often justify reviewing execution behavior and process telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cwe · medium confidence lookup

CWE-94: Code execution behavior lookup

Code execution and unsafe deserialization weaknesses often justify reviewing execution behavior and process telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-39144 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
8.5 (3.1)
Known Exploited
Yes
Published

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

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
13Source links

CISA KEV status

Status
Known exploited
Source
CISA / ADP
Date added
Not provided

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
8.5CVSS 3.1HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H1.86Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

8.5High
CVSS 3.1 vector shape for CVE-2021-39144Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

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

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
x-streamxstream< 1.4.18Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-502 · source CWE mapping

Deserialization of Untrusted Data

Deserialization of Untrusted Data represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.

CWE-94 · source CWE mapping

Improper Control of Generation of Code ('Code Injection')

Improper Control of Generation of Code ('Code Injection') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.