CVE-2022-36015: Integer overflow in math ops in TensorFlow
TensorFlow is an open source platform for machine learning. When RangeSize receives values that do not fit into an int64t, it crashes. We have patched the issue in GitHub commit 37e64539cd29fcfb814c4451152a60f5d107b0f0. 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 for this issue.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is CVE-2022-36015?
CVE-2022-36015 is a vulnerability in TensorFlow where the `RangeSize` function crashes when it receives values that do not fit into an `int64_t`.
What is the severity level of CVE-2022-36015?
The severity level of CVE-2022-36015 is high with a CVSS score of 7.5.
Which versions of TensorFlow are affected by CVE-2022-36015?
Versions 2.7.2 to 2.9.1 of TensorFlow are affected by CVE-2022-36015, as well as versions 2.10-rc0 to 2.10-rc3.
How can I fix CVE-2022-36015?
The issue has been fixed in TensorFlow 2.10.0. It is recommended to update to this version to address the vulnerability.
Where can I find more information about CVE-2022-36015?
More information about CVE-2022-36015 can be found in the following references: [Link 1](https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/ops/math_ops.cc), [Link 2](https://github.com/tensorflow/tensorflow/commit/37e64539cd29fcfb814c4451152a60f5d107b0f0), [Link 3](https://github.com/tensorflow/tensorflow/security/advisories/GHSA-rh87-q4vg-m45j)