PT-2022-23047 · Google · Tensorflow

Jingyi Shi

·

Published

2022-09-16

·

Updated

2024-03-06

·

CVE-2022-35941

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.0 through 2.9.1 TensorFlow versions 2.8.0 through 2.8.1 TensorFlow versions 2.7.0 through 2.7.2
Description The AvgPoolOp function in TensorFlow takes an argument ksize that must be positive but is not checked. A negative ksize can trigger a CHECK failure and crash the program.
Recommendations For TensorFlow versions prior to 2.10.0, update to version 2.10.0 or later. For TensorFlow versions 2.9.0 through 2.9.1, update to version 2.9.1 or later. For TensorFlow versions 2.8.0 through 2.8.1, update to version 2.8.1 or later. For TensorFlow versions 2.7.0 through 2.7.2, update to version 2.7.2 or later. As a temporary workaround, consider validating the ksize argument to ensure it is positive before passing it to the AvgPoolOp function.

Exploit

Fix

Assertion Failure

Weakness Enumeration

Related Identifiers

BIT-TENSORFLOW-2022-35941
CVE-2022-35941
GHSA-MGMH-G2V6-MQW5
OPENSUSE-SU-2024:12355-1

Affected Products

Tensorflow