Wiz Agents & Workflows are here

CVE-2022-35993
Python vulnerability analysis and mitigation

Overview

TensorFlow, an open source platform for machine learning, was found to contain a vulnerability (CVE-2022-35993) that was disclosed on July 15, 2022. The vulnerability affects TensorFlow versions prior to 2.10.0, specifically impacting versions 2.7.x, 2.8.x, and 2.9.x. The issue occurs in the SetSize operation when it receives an input set_shape that is not a 1D tensor (GitHub Advisory).

Technical details

The vulnerability exists in TensorFlow's SetSize operation where improper validation of input parameters could lead to a CHECK failure. Specifically, when the set_shape parameter is provided with a non-1D tensor input, the operation fails to properly validate this input, resulting in a CHECK failure. The vulnerability has been assigned a Low severity rating (GitHub Advisory).

Impact

When exploited, this vulnerability can be used to trigger a denial of service attack against applications using the affected TensorFlow versions. The impact is limited to service disruption through unexpected termination of the application (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in multiple versions: TensorFlow 2.10.0, 2.9.2, 2.8.3, and 2.7.4. The fix was implemented in GitHub commit cf70b79d2662c0d3c6af74583641e345fc939467, which adds proper validation to ensure that the shape tensor is 1D. No workarounds were available for this vulnerability, making upgrading to a patched version the only solution (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-2026-33641HIGH7.8
  • PythonPython
  • glances
NoNoMar 30, 2026
CVE-2026-34070HIGH7.5
  • PythonPython
  • langchain-core
NoYesMar 31, 2026
CVE-2026-34231MEDIUM6.1
  • PythonPython
  • slippers
NoYesMar 30, 2026
CVE-2026-34073LOW1.7
  • PythonPython
  • apache-beam-python-3.13-sdk
NoYesMar 31, 2026
GHSA-955r-262c-33jcCRITICALN/A
  • PythonPython
  • telnyx
NoNoMar 30, 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