PT-2022-23095 · Google · Tensorflow

·

CVE-2022-35997

·

Published

2022-09-16

·

Updated

2026-07-09

CVSS v3.1

5.9

Medium

VectorAV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions TensorFlow versions prior to 2.10.0 TensorFlow versions 2.9.1 and earlier TensorFlow versions 2.8.1 and earlier TensorFlow versions 2.7.2 and earlier
Description The issue occurs when the tf.sparse.cross function receives an input separator that is not a scalar, resulting in a CHECK fail that can be used to trigger a denial of service attack. This can happen when the separator input is not properly validated, allowing an attacker to cause the program to crash or become unresponsive.
Recommendations For versions prior to 2.10.0, update to TensorFlow 2.10.0 or later to resolve the issue. For versions 2.9.1 and earlier, update to TensorFlow 2.9.1 or later to resolve the issue. For versions 2.8.1 and earlier, update to TensorFlow 2.8.1 or later to resolve the issue. For versions 2.7.2 and earlier, update to TensorFlow 2.7.2 or later to resolve the issue. As a temporary workaround, consider validating the separator input to ensure it is a scalar before passing it to the tf.sparse.cross function.

Exploit

Fix

Assertion Failure

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BIT-TENSORFLOW-2022-35997
CVE-2022-35997
GHSA-P7HR-F446-X6QF
OPENSUSE-SU-2024:12355-1
PYSEC-2026-1024
PYSEC-2026-3220
PYSEC-2026-3356

Affected Products

Tensorflow