CVE-2022-21738

Tensorflow is an Open Source Machine Learning Framework. The implementation of `SparseCountSparseOutput` can be made to crash a TensorFlow process by an integer overflow whose result is then used in a memory allocation. The fix will be included in TensorFlow 2.8.0. We will also cherrypick this commit on TensorFlow 2.7.1, TensorFlow 2.6.3, and TensorFlow 2.5.3, as these are also affected and still in supported range.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*
cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*
cpe:2.3:a:google:tensorflow:2.7.0:*:*:*:*:*:*:*

History

09 Feb 2022, 05:22

Type Values Removed Values Added
CPE cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*
cpe:2.3:a:google:tensorflow:2.7.0:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : 4.0
v3 : 6.5
First Time Google tensorflow
Google
CWE CWE-190
References (MISC) https://github.com/tensorflow/tensorflow/commit/6f4d3e8139ec724dbbcb40505891c81dd1052c4a - (MISC) https://github.com/tensorflow/tensorflow/commit/6f4d3e8139ec724dbbcb40505891c81dd1052c4a - Patch, Third Party Advisory
References (MISC) https://github.com/tensorflow/tensorflow/blob/5100e359aef5c8021f2e71c7b986420b85ce7b3d/tensorflow/core/kernels/count_ops.cc#L168-L273 - (MISC) https://github.com/tensorflow/tensorflow/blob/5100e359aef5c8021f2e71c7b986420b85ce7b3d/tensorflow/core/kernels/count_ops.cc#L168-L273 - Exploit, Third Party Advisory
References (CONFIRM) https://github.com/tensorflow/tensorflow/security/advisories/GHSA-x4qx-4fjv-hmw6 - (CONFIRM) https://github.com/tensorflow/tensorflow/security/advisories/GHSA-x4qx-4fjv-hmw6 - Patch, Third Party Advisory

03 Feb 2022, 15:50

Type Values Removed Values Added
CWE CWE-190

03 Feb 2022, 14:15

Type Values Removed Values Added
New CVE

Information

Published : 2022-02-03 14:15

Updated : 2023-12-10 14:09


NVD link : CVE-2022-21738

Mitre link : CVE-2022-21738

CVE.ORG link : CVE-2022-21738


JSON object : View

Products Affected

google

  • tensorflow
CWE
CWE-190

Integer Overflow or Wraparound