Input validation error in TensorFlow - CVE-2022-29192

 

Input validation error in TensorFlow - CVE-2022-29192

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


Vulnerability identifier: #VU129144
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-29192
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.QuantizeAndDequantizeV4Grad when processing crafted input arguments. A remote attacker can supply non-scalar input_min or input_max values to cause a denial of service.

The issue results in a CHECK-failure because the implementation assumes input_min and input_max are scalars without validating this condition.


Affected software

TensorFlow

How to mitigate CVE-2022-29192

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