Security readout for executives and security teams
Plain-English summary
TensorFlow had a memory lifetime bug in shape inference. In affected versions, some shape metadata could point to data that was already cleaned up, causing crashes and limited confidentiality or integrity impact. Business urgency is moderate, focused on ML systems where users can run TensorFlow workloads.
Executive priority
Treat as a moderate remediation item. Prioritize shared ML platforms, multi-user research environments, and production systems where TensorFlow availability matters. It is less urgent than remotely exploitable critical issues based on supplied evidence.
Technical view
The issue is CWE-416 use-after-free in TensorFlow shape inference. ShapeAndType structs could hold shapes owned by a short-lived inference context. Later access could segfault. TensorFlow fixed this by cloning shapes and types, with fixes planned in 2.6.0 and backports to 2.5.1, 2.4.3, and 2.3.4.
Likely exposure
Exposure is most likely in environments running affected TensorFlow versions where local users or jobs can execute TensorFlow graphs that trigger shape inference. The CVSS vector is local, low complexity, low privileges, no user interaction, with high availability impact.
Exploitation context
The supplied sources do not cite active exploitation, and the CVE is not marked KEV. The described impact is a crash from use-after-free during shape inference, not a confirmed remote compromise path.
Researcher notes
CVSS 3.1 is 6.6: AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H. The key fix is commit ee119d4a, which applies ShapeRefiner-style cloning to output shapes and types. No exploit details are provided in the source bundle.
Mitigation direction
- Upgrade TensorFlow to 2.6.0 or a patched backport release.
- Patch TensorFlow 2.5.x to at least 2.5.1.
- Patch TensorFlow 2.4.x to at least 2.4.3.
- Patch TensorFlow 2.3.x to at least 2.3.4.
- Check TensorFlow vendor guidance for unsupported older branches.
Validation and detection
- Inventory TensorFlow versions in applications, notebooks, containers, and ML runtime images.
- Compare findings against affected ranges listed in the advisory.
- Confirm patched versions are deployed in shared ML execution environments.
- Review crash reports for TensorFlow shape inference failures after deployment.
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-37690 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
- Medium
- CVSS
- 6.6 (3.1)
- Known Exploited
- No
- Published
Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/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:L/I:L/A:H1.84.7Primary CVE scoreVulnerability scoring details
Base CVSS 3.1 score
6.6MediumVector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H
Source materials
- CVE List V5 sourceCVE List V5
- https://github.com/tensorflow/tensorflow/security/advisories/GHSA-3hxh-8cp2-g4hgCVE reference · x_refsource_CONFIRM
- https://github.com/tensorflow/tensorflow/commit/ee119d4a498979525046fba1c3dd3f13a039fbb1CVE 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.
