CVE-2022-29204
May 20, 2022
TensorFlow is an open source platform for machine learning. Prior to versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4, the implementation of "tf.raw_ops.UnsortedSegmentJoin" does not fully validate the input arguments. This results in a "CHECK"-failure which can be used to trigger a denial of service attack. The code assumes "num_segments" is a positive scalar but there is no validation. Since this value is used to allocate the output tensor, a negative value would result in a "CHECK"-failure (assertion failure), as per TFSA-2021-198. Versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4 contain a patch for this issue.
Affected Packages
tensorflow (PYTHON):
Affected version(s) >=2.7.0 <2.7.2Fix Suggestion:
Update to version 2.7.2tensorflow-gpu (PYTHON):
Affected version(s) >=2.7.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-cpu (PYTHON):
Affected version(s) >=2.7.0 <2.7.2Fix Suggestion:
Update to version 2.7.2tensorflow-cpu (PYTHON):
Affected version(s) >=0.0.0 <2.6.4Fix Suggestion:
Update to version 2.6.4tensorflow (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.6.4Fix Suggestion:
Update to version 2.6.4tensorflow-gpu (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.6.4Fix Suggestion:
Update to version 2.6.4Additional Notes
The description of this vulnerability differs from MITRE.
Related Resources (12)
Do you need more information?
Contact UsCVSS v4
Base Score:
6.8
Attack Vector
LOCAL
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
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.5
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
CVSS v2
Base Score:
2.1
Access Vector
LOCAL
Access Complexity
LOW
Authentication
NONE
Confidentiality Impact
NONE
Integrity Impact
NONE
Availability Impact
PARTIAL
EPSS
Base Score:
0.05