CVE-2022-35941
September 16, 2022
TensorFlow is an open source platform for machine learning. The "AvgPoolOp" function takes an argument "ksize" that must be positive but is not checked. A negative "ksize" can trigger a "CHECK" failure and crash the program. We have patched the issue in GitHub commit 3a6ac52664c6c095aa2b114e742b0aa17fdce78f. 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 to this issue.
Affected Packages
tensorflow (PYTHON):
Affected version(s) >=2.9.0 <2.9.2Fix Suggestion:
Update to version 2.9.2tensorflow-gpu (PYTHON):
Affected version(s) >=2.9.0 <2.9.2Fix Suggestion:
Update to version 2.9.2tensorflow-gpu (PYTHON):
Affected version(s) =2.8.0 <2.8.1Fix Suggestion:
Update to version 2.8.1tensorflow-cpu (PYTHON):
Affected version(s) >=2.9.0 <2.9.2Fix Suggestion:
Update to version 2.9.2tensorflow (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-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-cpu (PYTHON):
Affected version(s) >=0.0.0 <2.7.2Fix Suggestion:
Update to version 2.7.2Related ResourcesĀ (7)
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.38