CVE-2021-37667
Python vulnerability analysis and mitigation

Overview

TensorFlow, an end-to-end open source platform for machine learning, was found to contain a vulnerability (CVE-2021-37667) related to null pointer dereferencing. The vulnerability was discovered in August 2021 and affects multiple versions of TensorFlow including versions 2.3.0-2.3.4, 2.4.0-2.4.3, 2.5.0, and 2.6.0 release candidates. The issue allows an attacker to cause undefined behavior through binding a reference to a null pointer in the tf.raw_ops.UnicodeEncode operation (GitHub Advisory, NVD).

Technical details

The vulnerability stems from a flaw in the implementation where the code reads the first dimension of the input_splits tensor before validating that this tensor is not empty. This oversight can lead to undefined behavior when processing empty input. The vulnerability has been assigned a CVSS v3.1 base score of 7.8 (HIGH) with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. The issue is classified as CWE-824 (Access of Uninitialized Pointer) (Snyk, NVD).

Impact

The vulnerability can result in a total loss of confidentiality, integrity, and availability within the affected component. When successfully exploited, it can lead to undefined behavior in the system, potentially allowing an attacker to gain unauthorized access to system resources or cause system instability (Snyk).

Mitigation and workarounds

The issue has been patched in GitHub commit 2e0ee46f1a47675152d3d865797a18358881d7a6 and included in TensorFlow versions 2.6.0, 2.5.1, 2.4.3, and 2.3.4. Users are advised to upgrade to these patched versions to mitigate the vulnerability. The fix implements proper validation of the input_splits tensor before attempting to access its dimensions (GitHub Advisory).

Community reactions

The vulnerability was reported by members of the Aivul Team from Qihoo 360, demonstrating ongoing security research in the machine learning framework ecosystem (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-66471HIGH8.9
  • PythonPython
  • py3-urllib3
NoYesDec 05, 2025
CVE-2025-66418HIGH8.9
  • PythonPython
  • python-urllib3
NoYesDec 05, 2025
CVE-2025-65958HIGH8.5
  • PythonPython
  • cpe:2.3:a:openwebui:open_webui
NoYesDec 04, 2025
CVE-2025-56427HIGH7.5
  • PythonPython
  • composio
NoNoDec 04, 2025
CVE-2025-63681MEDIUM4.3
  • PythonPython
  • open-webui
NoNoDec 04, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management