CVE-2022-29197
Python vulnerability analysis and mitigation

Overview

CVE-2022-29197 is a security vulnerability discovered in TensorFlow, an open source platform for machine learning. The vulnerability was identified in the implementation of tf.raw_ops.UnsortedSegmentJoin operation prior to versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4. The issue was disclosed on May 17, 2022, and was reported by Neophytos Christou from Secure Systems Lab at Brown University (GitHub Advisory).

Technical details

The vulnerability stems from insufficient input validation in the tf.raw_ops.UnsortedSegmentJoin operation. Specifically, the code assumes that the num_segments parameter is a scalar value but fails to validate this assumption before accessing its value. This oversight can lead to a CHECK-failure when invalid input is provided (GitHub Advisory).

Impact

When exploited, this vulnerability can trigger a denial of service (DoS) attack through a CHECK-failure in the system. The impact is considered Low severity according to the official assessment (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in multiple TensorFlow versions: 2.9.0, 2.8.1, 2.7.2, and 2.6.4. The fix was implemented through GitHub commit 13d38a07ce9143e044aa737cfd7bb759d0e9b400, which adds proper validation for the num_segments parameter. Users are advised to upgrade to these patched versions to mitigate the vulnerability (GitHub Advisory, TF Release).

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-21441HIGH8.9
  • PythonPython
  • urllib3
NoYesJan 07, 2026
CVE-2026-21851MEDIUM5.3
  • PythonPython
  • monai
NoNoJan 07, 2026
GHSA-f2mf-q878-gh58MEDIUM5.3
  • PythonPython
  • parsl
NoYesJan 06, 2026
CVE-2026-21883MEDIUM4.5
  • PythonPython
  • bokeh
NoYesJan 08, 2026
CVE-2026-22041LOW2
  • PythonPython
  • loggingredactor
NoYesJan 07, 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