CVE-2022-35988
September 16, 2022
TensorFlow is an open source platform for machine learning. When "tf.linalg.matrix_rank" receives an empty input "a", the GPU kernel gives a "CHECK" fail that can be used to trigger a denial of service attack. We have patched the issue in GitHub commit c55b476aa0e0bd4ee99d0f3ad18d9d706cd1260a. 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-gpu (PYTHON):
Affected version(s) =2.9.0 <2.9.1Fix Suggestion:
Update to version 2.9.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.2tensorflow (PYTHON):
Affected version(s) =2.9.0 <2.9.1Fix Suggestion:
Update to version 2.9.1tensorflow (PYTHON):
Affected version(s) =2.8.0 <2.8.1Fix Suggestion:
Update to version 2.8.1tensorflow-cpu (PYTHON):
Affected version(s) =2.8.0 <2.8.1Fix Suggestion:
Update to version 2.8.1tensorflow (PYTHON):
Affected version(s) >=0.11.0rc2 <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-gpu (PYTHON):
Affected version(s) >=0.12.0rc0 <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.07