Security readout for executives and security teams
Plain-English summary
This TensorFlow flaw can let a low-privileged local attacker crash or disrupt a vulnerable machine-learning workload by supplying malformed input to RaggedBincount. Sources show low severity and limited availability impact, not data theft or tampering.
Executive priority
Treat this as routine patch management unless vulnerable TensorFlow workloads process untrusted local inputs in shared environments. The main business risk is service disruption, not compromise of sensitive data.
Technical view
CVE-2021-29512 is a heap buffer overflow/out-of-bounds read in TensorFlow RaggedBincount when the splits argument does not represent a valid SparseTensor. A user-controlled splits array can cause the kernel to read beyond the splits tensor buffer. Affected versions are TensorFlow 2.3.x before 2.3.3 and 2.4.x before 2.4.2.
Likely exposure
Exposure is limited to TensorFlow 2.3.x before 2.3.3 or 2.4.x before 2.4.2 where a local user or workload can supply tensors to RaggedBincount. The bundle does not identify other affected products or remote-only exposure.
Exploitation context
The CVSS vector requires local access, low privileges, high complexity, and no user interaction. The bundle and KEV flag do not support active exploitation. Expected impact is low availability loss, with no stated confidentiality or integrity impact.
Researcher notes
The root issue is missing validation around RaggedBincount splits handling. The described edge case lets batch_idx advance and read splits(1) when the user-controlled splits buffer contains only one element. Evidence for exploitation in the wild is absent from the supplied sources.
Mitigation direction
- Upgrade to TensorFlow 2.5.0, or patched 2.4.2/2.3.3 where those branches are used.
- Prioritize workloads that process untrusted tensors, models, or user-controlled machine-learning inputs.
- Check TensorFlow vendor guidance for branch-specific fixes and deployment constraints.
- Restrict untrusted local users and jobs from invoking vulnerable TensorFlow workloads until upgraded.
Validation and detection
- Inventory TensorFlow versions in applications, notebooks, containers, and training pipelines.
- Flag TensorFlow 2.3.x below 2.3.3 and 2.4.x below 2.4.2 as vulnerable.
- Identify code paths or dependencies that use RaggedBincount with externally influenced inputs.
- Confirm patched versions are deployed in runtime images, not only development environments.
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-120: 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-29512 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-4278-2v5v-65r4CVE reference · x_refsource_CONFIRM
- https://github.com/tensorflow/tensorflow/commit/eebb96c2830d48597d055d247c0e9aebaea94cd5CVE 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.
Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.
