LiveActive security incident?Get immediate response
CVE Record

CVE-2021-29611: Incomplete validation in `SparseReshape`

TensorFlow is an end-to-end open source platform for machine learning. Incomplete validation in `SparseReshape` results in a denial of service based on a `CHECK`-failure. The implementation(https://github.com/tensorflow/tensorflow/blob/e87b51ce05c3eb172065a6ea5f48415854223285/tensorflow/core/kernels/sparse_reshape_op.cc#L40) has no validation that the input arguments specify a valid sparse tensor. The fix will be included in TensorFlow 2.5.0. We will also cherrypick this commit on TensorFlow 2.4.2 and TensorFlow 2.3.3, as these are the only affected versions.

LowCVSS 3.6Not KEV-listedUpdated
Glexia's TakeAutomated analysislow

Security readout for executives and security teams

Plain-English summary

TensorFlow could crash when its SparseReshape operation receives invalid sparse tensor inputs. The issue is low severity because exploitation is local, high-complexity, and requires low privileges. Business impact is mainly disruption of affected ML workloads rather than data theft or broad system compromise.

Executive priority

Treat as routine but real hygiene work. It is unlikely to drive emergency response without evidence of exploitation, but affected ML workloads should be upgraded during the next maintenance window, especially where shared users or untrusted inputs exist.

Technical view

CVE-2021-29611 is incomplete input validation in TensorFlow SparseReshape. Invalid sparse tensor arguments can trigger a CHECK failure, causing denial of service. The source bundle lists affected TensorFlow versions as below 2.3.3 and 2.4.0 through before 2.4.2. Fixes are stated for 2.5.0, 2.4.2, and 2.3.3.

Likely exposure

Exposure is most likely in TensorFlow environments using affected versions and accepting sparse tensor data from low-privileged or less-trusted local users, jobs, notebooks, pipelines, or plugins. Remote internet exposure is not supported by the provided CVSS vector.

Exploitation context

The bundle does not show KEV listing or active exploitation. CVSS indicates local access, high attack complexity, low privileges, no user interaction, no confidentiality impact, and limited integrity and availability impact. The known outcome is a denial of service via CHECK failure.

Researcher notes

The evidence supports a validation flaw causing CHECK-failure denial of service, not code execution. Keep analysis bounded to TensorFlow SparseReshape and the listed version ranges. The bundle does not provide exploit details, field exploitation, or non-TensorFlow affected products.

Mitigation direction

  • Upgrade TensorFlow to 2.5.0, 2.4.2, or 2.3.3 as appropriate.
  • Prioritize ML systems that process sparse tensors from less-trusted users or jobs.
  • Check the TensorFlow advisory for branch-specific remediation guidance.
  • Limit access to affected local ML workflows until upgrades are complete.

Validation and detection

  • Inventory TensorFlow versions in training, inference, notebook, and pipeline environments.
  • Confirm no deployed environment runs versions below 2.3.3 or 2.4.0 through 2.4.1.
  • Review workloads for SparseReshape usage with externally influenced sparse tensor inputs.
  • Verify remediation against the TensorFlow advisory and referenced fixing commit.
Prepared
Confidence
high
Sources
4

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-665: 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-29611 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
Low
CVSS
3.6 (3.1)
Known Exploited
No
Published

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

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
3Source 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
3.6CVSS 3.1LowCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L12.5Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

3.6Low
CVSS 3.1 vector shape for CVE-2021-29611Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

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

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
tensorflowtensorflow< 2.3.3, >= 2.4.0, < 2.4.2Listed
Weakness

CWE details

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

CWE-665 · source CWE mapping

Improper Initialization

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