Security readout for executives and security teams
Plain-English summary
CVE-2021-29521 is a low-severity TensorFlow crash issue. A specially shaped negative tensor argument can make a TensorFlow operation crash, affecting availability rather than confidentiality or integrity. Business urgency is limited unless untrusted users can influence TensorFlow model inputs or raw operations in production.
Executive priority
Treat as routine patching unless TensorFlow workloads accept untrusted model inputs. Prioritize exposed ML services and shared research environments first; otherwise fold remediation into normal dependency maintenance.
Technical view
The issue is in tf.raw_ops.SparseCountSparseOutput. A negative dense_shape value can be used to initialize a BatchedMap backed by std::vector, breaking vector invariants and causing a segmentation fault. The vendor states validation that dense_shape is a valid non-negative tensor shape resolves it.
Likely exposure
Exposure is most plausible where TensorFlow versions below 2.3.3 or 2.4.0 through before 2.4.2 process untrusted tensors, models, or raw op calls. Typical internally controlled ML jobs have lower practical exposure.
Exploitation context
The CVSS vector indicates local access, high attack complexity, low privileges, no user interaction, and low availability impact. The source bundle does not identify active exploitation, and KEV status is false.
Researcher notes
The weakness is classified as CWE-131 and impacts availability via a segfault. The source bundle names the fix approach but does not provide evidence of remote exploitation or broader product impact beyond TensorFlow.
Mitigation direction
- Upgrade TensorFlow to 2.5.0, 2.4.2, 2.3.3, or later supported fixed releases.
- Validate dense_shape values are non-negative before invoking SparseCountSparseOutput.
- Restrict execution of untrusted TensorFlow models, tensors, or raw operations.
- Check TensorFlow vendor guidance for branch-specific remediation details.
Validation and detection
- Inventory TensorFlow versions in applications, notebooks, containers, and build lockfiles.
- Find code paths using tf.raw_ops.SparseCountSparseOutput.
- Confirm external inputs cannot supply negative dense_shape values.
- Review dependency scans for CVE-2021-29521 after remediation.
Public sources used
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
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-131: 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 lookupCVE-2021-29521 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
Open ATT&CK lookup- Severity
- Low
- CVSS
- 2.5 (3.1)
- Known Exploited
- No
- Published
Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L
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.
CVSS vector scores
1 official scoreWe 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.
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L11.4Primary CVE scoreVulnerability scoring details
Base CVSS 3.1 score
2.5LowVector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L
Source materials
- CVE List V5 sourceCVE List V5
- https://github.com/tensorflow/tensorflow/security/advisories/GHSA-hr84-fqvp-48mmCVE reference · x_refsource_CONFIRM
- https://github.com/tensorflow/tensorflow/commit/c57c0b9f3a4f8684f3489dd9a9ec627ad8b599f5CVE reference · x_refsource_MISC
Products and packages named in the record
CWE details
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
