Security readout for executives and security teams
Plain-English summary
TensorFlow has a high-severity memory-safety flaw in boosted-tree ensemble creation. Crafted inputs can trigger use-after-free behavior during failed initialization. Business urgency is highest where affected TensorFlow runtimes execute untrusted user code, notebooks, models, or inputs.
Executive priority
Prioritize remediation for shared or user-accessible ML systems. For isolated internal workloads with trusted inputs, schedule normal high-severity patching. No active exploitation is documented in the provided sources.
Technical view
CVE-2021-37652 affects tf.raw_ops.BoostedTreesCreateEnsemble. A refcounted resource became a smart pointer after refactoring; on initialization failure, cleanup can decrement the refcount and later free the same resource again, causing invalid member access. CVSS 3.1 is 7.8 with local attack vector and low privileges required.
Likely exposure
Exposure is likely limited to environments running affected TensorFlow versions: >=2.5.0 <2.5.1, >=2.4.0 <2.4.3, or <2.3.4. Risk increases in shared ML platforms, notebooks, CI jobs, or services where users can influence TensorFlow operation arguments.
Exploitation context
The provided sources do not show CISA KEV listing or active exploitation. The CVSS vector indicates local access, low privileges, no user interaction, and potential high confidentiality, integrity, and availability impact.
Researcher notes
This is CWE-416 use-after-free caused by resource lifetime handling after a smart-pointer refactor. Validate exposure by TensorFlow version and reachable use of the affected raw op. The sources do not document a remote vector, exploit availability, or non-upgrade workaround.
Mitigation direction
- Upgrade to TensorFlow 2.6.0 or patched supported releases 2.5.1, 2.4.3, or 2.3.4.
- Apply commit 5ecec9c6fbdbc6be03295685190a45e7eee726ab if maintaining a TensorFlow fork.
- Restrict untrusted users from executing arbitrary TensorFlow operations in shared runtimes.
- Isolate ML workloads with least privilege and separate tenants where practical.
- Check TensorFlow vendor guidance before deploying alternative mitigations.
Validation and detection
- Inventory TensorFlow package versions across production, research, CI, and notebook environments.
- Flag versions in the affected ranges listed by the CVE source bundle.
- Review code and notebooks for boosted-tree or tf.raw_ops.BoostedTreesCreateEnsemble usage.
- Confirm upgraded environments report patched TensorFlow versions.
- Assess whether untrusted users can influence TensorFlow operation arguments.
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-416: 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-37652 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
- High
- CVSS
- 7.8 (3.1)
- Known Exploited
- No
- Published
Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
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:L/PR:L/UI:N/S:U/C:H/I:H/A:H1.85.9Primary CVE scoreVulnerability scoring details
Base CVSS 3.1 score
7.8HighVector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Source materials
- CVE List V5 sourceCVE List V5
- https://github.com/tensorflow/tensorflow/security/advisories/GHSA-m7fm-4jfh-jrg6CVE reference · x_refsource_CONFIRM
- https://github.com/tensorflow/tensorflow/commit/5ecec9c6fbdbc6be03295685190a45e7eee726abCVE 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.
Use After Free
Use After Free represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.
