Security readout for executives and security teams
Plain-English summary
This is a low-severity TensorFlow crash issue. A local user or process with permission to run TensorFlow operations could trigger a null pointer dereference in StringNGrams, causing limited availability impact. The sources do not indicate data theft, data modification, remote exploitation, or active exploitation.
Executive priority
Treat this as routine patching unless affected TensorFlow workloads are shared by untrusted users or production ML jobs require high availability. It does not warrant emergency response based on the supplied evidence.
Technical view
CVE-2021-29541 is a CWE-476 null pointer dereference in tf.raw_ops.StringNGrams. The implementation did not fully validate data_splits, allowing ngrams_data to become null when computed output size was zero or negative. Later output writes could crash the process.
Likely exposure
Exposure is mainly systems running affected TensorFlow versions where local users, jobs, notebooks, or ML pipelines can execute TensorFlow operations. CVSS lists local attack vector, low privileges required, high complexity, and availability-only impact.
Exploitation context
The provided sources do not report active exploitation, and the CVE is not listed as KEV. Exploitation requires local execution capability and specific TensorFlow operation conditions; no remote unauthenticated path is described.
Researcher notes
The strongest source detail is the TensorFlow advisory: incomplete validation of data_splits can produce a null ngrams_data pointer before output writes. The fix is linked in the upstream commit and planned for 2.5.0 plus supported branch cherry-picks.
Mitigation direction
- Upgrade to TensorFlow 2.5.0 or a patched supported branch release.
- Use TensorFlow 2.4.2, 2.3.3, 2.2.3, or 2.1.4 where applicable.
- Check TensorFlow's advisory and fix commit for vendor guidance.
- Limit untrusted local users or jobs from running affected TensorFlow workloads until patched.
Validation and detection
- Inventory TensorFlow versions in applications, notebooks, containers, and dependency lockfiles.
- Compare installed versions against the affected ranges in the CVE source bundle.
- Confirm patched releases are deployed in runtime environments, not only source repositories.
- Review crash reports for StringNGrams-related failures if affected versions were used.
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-476: 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-29541 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/commit/ba424dd8f16f7110eea526a8086f1a155f14f22bCVE reference · x_refsource_MISC
- https://github.com/tensorflow/tensorflow/security/advisories/GHSA-xqfj-35wv-m3crCVE reference · x_refsource_CONFIRM
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.
NULL Pointer Dereference
NULL Pointer Dereference represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.
