Input validation error in TensorFlow - CVE-2022-29197

 

Input validation error in TensorFlow - CVE-2022-29197

Published: May 17, 2022 / Updated: May 3, 2026


Vulnerability identifier: #VU129141
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-29197
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause a denial of service.

The vulnerability exists due to improper input validation in tf.raw_ops.UnsortedSegmentJoin when processing user-supplied input arguments. A remote attacker can supply a crafted num_segments input to trigger a CHECK-failure and cause a denial of service.


Affected software

TensorFlow

How to mitigate CVE-2022-29197

Install security update from vendor's website.

TensorFlow - addressed in versions 2.6.4, 2.7.2, 2.8.1, 2.9.0

External References

Related Security Bulletins