QID 981529
QID 981529: Python (pip) Security Update for tensorflow-gpu (GHSA-cm5x-837x-jf3c)
Security update has been released for tensorflow-gpu,tensorflow,tensorflow-cpu to fix the vulnerability.
Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.
An attacker can cause a floating point exception by calling inplace operations with crafted arguments that would result in a division by 0:
```python
import tensorflow as tf
tf.raw_ops.InplaceSub(x=[],i=[-99,-1,-1],v=[1,1,1])
```
The [implementation](https://github.com/tensorflow/tensorflow/blob/84d053187cb80d975ef2b9684d4b61981bca0c41/tensorflow/core/kernels/inplace_ops.cc#L283) has a logic error: it should skip processing if `x` and `v` are empty but the code uses `||` instead of `&&`.
The fix will be included in TensorFlow 2.6.0. We will also cherrypick this commit on TensorFlow 2.5.1, TensorFlow 2.4.3, and TensorFlow 2.3.4, as these are also affected and still in supported range.
- GHSA-cm5x-837x-jf3c -
github.com/advisories/GHSA-cm5x-837x-jf3c
CVEs related to QID 981529
| Advisory ID | Software | Component | Link |
|---|---|---|---|
| GHSA-cm5x-837x-jf3c | tensorflow |
|
|
| GHSA-cm5x-837x-jf3c | tensorflow-cpu |
|
|
| GHSA-cm5x-837x-jf3c | tensorflow-gpu |
|