LiveActive security incident?Get immediate response
CVE Record

CVE-2021-43859: Denial of Service by injecting highly recursive collections or maps in XStream

XStream is an open source java library to serialize objects to XML and back again. Versions prior to 1.4.19 may allow a remote attacker to allocate 100% CPU time on the target system depending on CPU type or parallel execution of such a payload resulting in a denial of service only by manipulating the processed input stream. XStream 1.4.19 monitors and accumulates the time it takes to add elements to collections and throws an exception if a set threshold is exceeded. Users are advised to upgrade as soon as possible. Users unable to upgrade may set the NO_REFERENCE mode to prevent recursion. See GHSA-rmr5-cpv2-vgjf for further details on a workaround if an upgrade is not possible.

HighCVSS 7.5Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

CVE-2021-43859 affects XStream before 1.4.19, a Java XML serialization library. A remote, unauthenticated attacker could provide specially structured input that makes the target spend excessive CPU, causing denial of service. It does not indicate data theft or code execution in the supplied sources.

Executive priority

Prioritize remediation for externally reachable Java services or critical platforms using vulnerable XStream. The business risk is service outage, not confirmed compromise. Patch through dependency or vendor channels, and track exceptions where NO_REFERENCE mode is used temporarily.

Technical view

The flaw is CWE-400 uncontrolled resource consumption. Vulnerable XStream versions may consume 100% CPU while processing highly recursive collections or maps from the input stream. XStream 1.4.19 adds monitoring of collection element-add time and throws an exception when a threshold is exceeded.

Likely exposure

Exposure is most likely in Java applications, packaged software, or distributions that bundle XStream below 1.4.19 and deserialize XML from external or untrusted sources. Downstream advisories in the bundle include Debian, Fedora, Oracle, and Jenkins-related references, but product-specific impact must be confirmed from each vendor.

Exploitation context

The CVSS vector is network, low complexity, no privileges, and no user interaction, with high availability impact. The source bundle does not show CISA KEV listing or cited evidence of active exploitation. Treat this as a practical denial-of-service risk where vulnerable XML processing is reachable.

Researcher notes

Validation should focus on dependency presence plus reachable XStream XML deserialization. Do not assume every bundled copy is exploitable without an input path. The supplied evidence supports denial of service only, fixed in 1.4.19, with NO_REFERENCE as a documented workaround.

Mitigation direction

  • Upgrade XStream to 1.4.19 or later where directly managed.
  • Apply vendor package updates for products or distributions bundling XStream.
  • If upgrade is blocked, use NO_REFERENCE mode per XStream guidance.
  • Review downstream vendor advisories before changing packaged enterprise products.
  • Prioritize internet-facing or high-availability services processing XML input.

Validation and detection

  • Scan SBOMs and dependency manifests for XStream below 1.4.19.
  • Check runtime artifacts for bundled xstream or libxstream-java versions.
  • Identify routes, jobs, or integrations that deserialize XML with XStream.
  • Confirm vendor-fixed package versions are installed on managed systems.
  • Review monitoring for CPU saturation linked to XML-processing services.
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 · low confidence lookup

CWE-400: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. 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-43859 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
7.5 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/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
10Source links

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
7.5CVSS 3.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H3.93.6Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

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

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/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

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
x-streamxstream< 1.4.19Listed
Weakness

CWE details

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

CWE-400 · source CWE mapping

Uncontrolled Resource Consumption

Uncontrolled Resource Consumption represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.