First published: Fri Sep 16 2022(Updated: )
TensorFlow is an open source platform for machine learning. When `RangeSize` receives values that do not fit into an `int64_t`, 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.
Credit: security-advisories@github.com
Affected Software | Affected Version | How to fix |
---|---|---|
Google TensorFlow | <2.7.2 | |
Google TensorFlow | >=2.8.0<2.8.1 | |
Google TensorFlow | >=2.9.0<2.9.1 | |
Google TensorFlow | =2.10-rc0 | |
Google TensorFlow | =2.10-rc1 | |
Google TensorFlow | =2.10-rc2 | |
Google TensorFlow | =2.10-rc3 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
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`.
The severity level of CVE-2022-36015 is high with a CVSS score of 7.5.
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.
The issue has been fixed in TensorFlow 2.10.0. It is recommended to update to this version to address the vulnerability.
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)