CVE-2021-29611
published low CVSS 3.1 · 3.6Incomplete validation in `SparseReshape`
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| tensorflow | — | tensorflow< 2.3.3 · >= 2.4.0, < 2.4.2 | Affected | Not stated | GitHub_M |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 3.6 / 10
- Severity
- low
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| tensorflow | tensorflow | < 2.3.3 (affected)>= 2.4.0, < 2.4.2 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-665 CWE-665: Improper Initialization
References
2Provider assertions
2GitHub_M · cna
Incomplete validation in `SparseReshape`
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- ad95dd946bfc9778efc3dcfa97338f410d80352b78fe83892637dc7b4ce2cca1
- Ingested
- 23 Sep 2026, 07:53:55 UTC
- Source record
- Official CVE record