CVE-2022-41902

TensorFlow is an open source platform for machine learning. The function MakeGrapplerFunctionItem takes arguments that determine the sizes of inputs and outputs. If the inputs given are greater than or equal to the sizes of the outputs, an out-of-bounds memory read or a crash is triggered. We have patched the issue in GitHub commit a65411a1d69edfb16b25907ffb8f73556ce36bb7. The fix will be included in TensorFlow 2.11.0. We will also cherrypick this commit on TensorFlow 2.8.4, 2.9.3, and 2.10.1.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*
cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*
cpe:2.3:a:google:tensorflow:2.10.0:-:*:*:*:*:*:*

History

27 Jun 2023, 14:58

Type Values Removed Values Added
CWE CWE-787 CWE-125

08 Dec 2022, 02:56

Type Values Removed Values Added
References (MISC) https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/grappler/utils/functions.cc#L221 - (MISC) https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/grappler/utils/functions.cc#L221 - Third Party Advisory
References (MISC) https://github.com/tensorflow/tensorflow/commit/a65411a1d69edfb16b25907ffb8f73556ce36bb7 - (MISC) https://github.com/tensorflow/tensorflow/commit/a65411a1d69edfb16b25907ffb8f73556ce36bb7 - Patch, Third Party Advisory
References (CONFIRM) https://github.com/tensorflow/tensorflow/security/advisories/GHSA-cg88-rpvp-cjv5 - (CONFIRM) https://github.com/tensorflow/tensorflow/security/advisories/GHSA-cg88-rpvp-cjv5 - Patch, Third Party Advisory
CPE cpe:2.3:a:google:tensorflow:2.10.0:-:*:*:*:*:*:*
cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 9.1
First Time Google tensorflow
Google

06 Dec 2022, 22:15

Type Values Removed Values Added
New CVE

Information

Published : 2022-12-06 22:15

Updated : 2023-12-10 14:48


NVD link : CVE-2022-41902

Mitre link : CVE-2022-41902

CVE.ORG link : CVE-2022-41902


JSON object : View

Products Affected

google

  • tensorflow
CWE
CWE-125

Out-of-bounds Read

CWE-787

Out-of-bounds Write