CVE-2022-35939
September 16, 2022
TensorFlow is an open source platform for machine learning. The "ScatterNd" function takes an input argument that determines the indices of of the output tensor. An input index greater than the output tensor or less than zero will either write content at the wrong index or trigger a crash. We have patched the issue in GitHub commit b4d4b4cb019bd7240a52daa4ba61e3cc814f0384. 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 (PYTHON):
Affected version(s) =2.9.0 <2.9.1Fix Suggestion:
Update to version 2.9.1tensorflow-cpu (PYTHON):
Affected version(s) =2.9.0 <2.9.1Fix Suggestion:
Update to version 2.9.1tensorflow-cpu (PYTHON):
Affected version(s) >=0.0.0 <2.7.2Fix Suggestion:
Update to version 2.7.2tensorflow-cpu (PYTHON):
Affected version(s) =2.8.0 <2.8.1Fix Suggestion:
Update to version 2.8.1tensorflow-gpu (PYTHON):
Affected version(s) >=0.12.0rc0 <2.7.2Fix Suggestion:
Update to version 2.7.2tensorflow (PYTHON):
Affected version(s) >=0.11.0rc2 <2.7.2Fix Suggestion:
Update to version 2.7.2tensorflow-gpu (PYTHON):
Affected version(s) =2.8.0 <2.8.1Fix Suggestion:
Update to version 2.8.1tensorflow-gpu (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.1Related ResourcesĀ (7)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.3
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
LOW
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
LOW
Availability
HIGH
Weakness Type (CWE)
Out-of-bounds Write
EPSS
Base Score:
0.22