LiveActive security incident?Get immediate response
CVE Record

CVE-2021-41200: Incomplete validation in `tf.summary.create_file_writer`

TensorFlow is an open source platform for machine learning. In affected versions if `tf.summary.create_file_writer` is called with non-scalar arguments code crashes due to a `CHECK`-fail. The fix will be included in TensorFlow 2.7.0. We will also cherrypick this commit on TensorFlow 2.6.1, TensorFlow 2.5.2, and TensorFlow 2.4.4, as these are also affected and still in supported range.

MediumCVSS 5.5Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

A TensorFlow API used to create summary file writers can crash when given non-scalar arguments. The impact is denial of service, not data theft or code execution. Business urgency is moderate and highest where untrusted users or jobs can influence TensorFlow logging or training code.

Executive priority

Prioritize remediation during normal patch cycles, faster for shared ML platforms or hosted notebook environments. The main business risk is workload interruption from process crashes, not compromise of data or systems based on the supplied evidence.

Technical view

CVE-2021-41200 is incomplete validation in tf.summary.create_file_writer. A non-scalar argument can trigger a CHECK failure and process crash. Sources list CWE-617 and CVSS 5.5: local, low complexity, low privileges, no user interaction, high availability impact, and no confidentiality or integrity impact.

Likely exposure

Exposure is limited to TensorFlow deployments using affected versions: >=2.6.0,<2.6.1; >=2.5.0,<2.5.2; and <2.4.4. Risk depends on whether callers can pass untrusted or uncontrolled values into TensorFlow summary writer creation.

Exploitation context

The provided sources do not show active exploitation, and the CVE is not listed as KEV. The CVSS vector requires local access and low privileges. Practical abuse would mainly disrupt a process using the affected TensorFlow API.

Researcher notes

The root issue is a CHECK-fail caused by incomplete argument validation in tf.summary.create_file_writer. The vendor advisory names affected supported branches and patched releases. No exploit details, public weaponization, or compensating controls beyond upgrade and vendor guidance are provided in the bundle.

Mitigation direction

  • Upgrade TensorFlow to 2.7.0 or a patched supported branch release.
  • Use TensorFlow 2.6.1, 2.5.2, or 2.4.4 where branch compatibility is required.
  • Check the GitHub advisory before choosing a final remediation path.
  • Reduce untrusted influence over TensorFlow logging and summary-writer arguments.

Validation and detection

  • Review dependency manifests and runtime environments for affected TensorFlow versions.
  • Identify code paths that call tf.summary.create_file_writer.
  • Check whether non-scalar or user-controlled values can reach that API.
  • Confirm upgraded environments use a patched TensorFlow release.
  • Run regression tests covering TensorFlow training, logging, and summary-writing workflows.
Prepared
Confidence
high
Sources
5

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

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 · low confidence lookup

CWE-617: 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 lookup
cve · low confidence lookup

CVE-2021-41200 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
5.5 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Official CVE source material

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.

1CVSS vectors
0Timeline events
0ADP providers
4Source links

CVSS vector scores

1 official score

We 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.

ScoreVersionSeverityVectorExploitImpactSource
5.5CVSS 3.1MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H1.83.6Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

5.5Medium
CVSS 3.1 vector shape for CVE-2021-41200Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
tensorflowtensorflow>= 2.6.0, < 2.6.1, >= 2.5.0, < 2.5.2, < 2.4.4Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-617 · source CWE mapping

Reachable Assertion

Reachable Assertion represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.