CVE-2021-41223
Python vulnerability analysis and mitigation

Overview

TensorFlow, an open source platform for machine learning, was found to contain a vulnerability in the implementation of FusedBatchNorm kernels (CVE-2021-41223). The vulnerability was discovered in September 2021 and affects versions prior to TensorFlow 2.7.0. The issue was identified as a heap out-of-bounds (OOB) access vulnerability in the FusedBatchNorm kernels implementation (GitHub Advisory).

Technical details

The vulnerability is classified as a heap out-of-bounds read (CWE-125) with a CVSS v3.1 Base Score of 7.1 (HIGH). The vulnerability requires local access with low attack complexity and low privileges, without requiring user interaction. The attack vector is local (AV:L), with low attack complexity (AC:L) and low privileges required (PR:L). The scope is unchanged (S:U), with high confidentiality impact (C:H), no integrity impact (I:N), and high availability impact (A:H) (NVD).

Impact

The vulnerability could lead to heap out-of-bounds access, potentially allowing an attacker to read sensitive information from memory or cause program crashes. The impact is particularly significant as it affects the FusedBatchNorm operation, which is commonly used in machine learning models (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in multiple TensorFlow versions: 2.7.0, 2.6.1, 2.5.2, and 2.4.4. Users are advised to upgrade to these patched versions. The fix was implemented through GitHub commit aab9998916c2ffbd8f0592059fad352622f89cda, which adds shape checks to FusedBatchNorm kernels (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

GHSA-5882-5rx9-xgxpCRITICAL10
  • PythonPython
  • crawl4ai
NoYesJan 16, 2026
GHSA-vx9w-5cx4-9796HIGH8.6
  • PythonPython
  • crawl4ai
NoYesJan 16, 2026
CVE-2026-23535HIGH8
  • PythonPython
  • wlc
NoYesJan 16, 2026
CVE-2026-23490HIGH7.5
  • PythonPython
  • pyasn1
NoYesJan 16, 2026
CVE-2026-23528MEDIUM5.3
  • PythonPython
  • distributed
NoYesJan 16, 2026

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