CVE-2022-29208
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.EditDistance" has incomplete validation. Users can pass negative values to cause a segmentation fault based denial of service. In multiple places throughout the code, one may compute an index for a write operation. However, the existing validation only checks against the upper bound of the array. Hence, it is possible to write before the array by massaging the input to generate negative values for "loc". Versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4 contain a patch for this issue.
Affected Packages
tensorflow-cpu (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-gpu (PYTHON):
Affected version(s) >=0.12.0rc0 <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 (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-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.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.1Related ResourcesĀ (9)
Do you need more information?
Contact UsCVSS v4
Base Score:
6.9
Attack Vector
LOCAL
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.1
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
HIGH
CVSS v2
Base Score:
3.6
Access Vector
LOCAL
Access Complexity
LOW
Authentication
NONE
Confidentiality Impact
NONE
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
Weakness Type (CWE)
Out-of-bounds Write
EPSS
Base Score:
0.06