Overflow and uncaught divide by zero in Tensorflow
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| tensorflow PyPI |
|
|
| tensorflow-cpu PyPI |
|
| Product | Affected | Fixed in |
|---|---|---|
| tensorflow PyPI |
|
|
| tensorflow-cpu PyPI |
|
≥ 2.6.0 · < 2.6.3≥ 2.7.0 · < 2.7.1
|
| tensorflow-gpu PyPI |
|
|
Tensorflow is an Open Source Machine Learning Framework. The implementation of `UnravelIndex` is vulnerable to a division by zero caused by an integer overflow bug. 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.
From the CVE record · GitHub_M
An integer overflow in TensorFlow's UnravelIndex implementation can cause a division by zero. The input does not specify how an attacker could trigger it or whether network access, authentication, or user interaction is required.
Teams using the PyPI packages tensorflow, tensorflow-cpu, or tensorflow-gpu should check for versions below 2.5.3, 2.6.0 through 2.6.2, or 2.7.0.