CVE-2022-35934

TensorFlow vulnerable to `CHECK` failure in tf.reshape via overflows in pypi/tensorflow-cpu

Identifiers

GHSA-f4w6-h4f5-wx45, CVE-2022-35934

Package Slug

pypi/tensorflow-cpu

Vulnerability

TensorFlow vulnerable to CHECK failure in tf.reshape via overflows

Description

TensorFlow is an open source platform for machine learning. The implementation of tf.reshape op in TensorFlow is vulnerable to a denial of service via CHECK-failure (assertion failure) caused by overflowing the number of elements in a tensor. This issue has been patched in GitHub commit 61f0f9b94df8c0411f0ad0ecc2fec2d3f3c33555. The fix will be included in TensorFlow 2.10.0. We will also cherrypick this commit on TensorFlow 2.9.1, TensorFlow 2.8.1, and TensorFlow 2.7.2, as these are also affected and still in supported range. There are no known workarounds for this issue.

Affected Versions

All versions before 2.7.2, all versions starting from 2.8.0 before 2.8.1, all versions starting from 2.9.0 before 2.9.1

Solution

Upgrade to versions 2.7.2, 2.8.1, 2.9.1 or above.

Last Modified

2022-09-19

source