CVE-2022-29202
Python vulnerability analysis and mitigation

Overview

TensorFlow, an open source platform for machine learning, disclosed a vulnerability (CVE-2022-29202) in the implementation of tf.ragged.constant function. The vulnerability was discovered in versions prior to 2.9.0, 2.8.1, 2.7.2, and 2.6.4, where the function failed to properly validate input arguments. This security issue was reported through a GitHub issue and was patched in May 2022 (GitHub Advisory).

Technical details

The vulnerability exists in the input validation mechanism of the tf.ragged.constant function. When provided with specific invalid input arguments, particularly an empty list with a large ragged_rank value, the function fails to properly validate these inputs. The issue has been assigned a CVSS v3.1 Base Score of 5.5 MEDIUM (Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H) (NVD).

Impact

When exploited, this vulnerability results in a denial of service condition by consuming all available memory resources. This occurs when the function is called with specific malformed inputs, potentially causing the system to become unresponsive or crash (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in multiple versions of TensorFlow. Users should upgrade to one of the following fixed versions: TensorFlow 2.9.0, 2.8.1, 2.7.2, or 2.6.4. The fix was implemented through GitHub commit bd4d5583ff9c8df26d47a23e508208844297310e, which added proper input validation to prevent the denial of service condition (GitHub Commit).

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-66423HIGH7.1
  • PythonPython
  • tryton-server
NoYesNov 30, 2025
CVE-2025-66454MEDIUM6.5
  • PythonPython
  • arcade-mcp-server
NoYesDec 02, 2025
CVE-2025-66424MEDIUM6.5
  • PythonPython
  • trytond
NoYesNov 30, 2025
CVE-2025-66422MEDIUM4.3
  • PythonPython
  • tryton-server
NoYesNov 30, 2025
CVE-2025-65858LOW3.5
  • PythonPython
  • calibreweb
NoNoDec 02, 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