CVE-2022-35934
September 16, 2022
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 Packages
tensorflow-cpu (PYTHON):
Affected version(s) =2.8.0 <2.8.1Fix Suggestion:
Update to version 2.8.1tensorflow (PYTHON):
Affected version(s) =2.9.0 <2.9.1Fix Suggestion:
Update to version 2.9.1tensorflow-gpu (PYTHON):
Affected version(s) =2.9.0 <2.9.1Fix Suggestion:
Update to version 2.9.1tensorflow-gpu (PYTHON):
Affected version(s) >=0.12.0rc0 <2.7.2Fix Suggestion:
Update to version 2.7.2tensorflow-cpu (PYTHON):
Affected version(s) =2.9.0 <2.9.1Fix Suggestion:
Update to version 2.9.1tensorflow (PYTHON):
Affected version(s) >=0.11.0rc2 <2.7.2Fix Suggestion:
Update to version 2.7.2tensorflow (PYTHON):
Affected version(s) =2.8.0 <2.8.1Fix Suggestion:
Update to version 2.8.1tensorflow-gpu (PYTHON):
Affected version(s) =2.8.0 <2.8.1Fix Suggestion:
Update to version 2.8.1tensorflow-cpu (PYTHON):
Affected version(s) >=0.0.0 <2.7.2Fix Suggestion:
Update to version 2.7.2Related Resources (6)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.2
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
5.9
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Weakness Type (CWE)
Reachable Assertion
EPSS
Base Score:
0.04