QID 981537
QID 981537: Python (pip) Security Update for tensorflow-gpu (GHSA-2wmv-37vq-52g5)
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 denial of service in applications serving models using `tf.raw_ops.UnravelIndex` by triggering a division by 0:
```python
import tensorflow as tf
tf.raw_ops.UnravelIndex(indices=-1, dims=[1,0,2])
```
The [implementation](https://github.com/tensorflow/tensorflow/blob/460e000de3a83278fb00b61a16d161b1964f15f4/tensorflow/core/kernels/unravel_index_op.cc#L36) does not check that the tensor subsumed by `dims` is not empty. Hence, if one element of `dims` is 0, the implementation does a division by 0.
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-2wmv-37vq-52g5 -
github.com/advisories/GHSA-2wmv-37vq-52g5
CVEs related to QID 981537
| Advisory ID | Software | Component | Link |
|---|---|---|---|
| GHSA-2wmv-37vq-52g5 | tensorflow |
|
|
| GHSA-2wmv-37vq-52g5 | tensorflow-cpu |
|
|
| GHSA-2wmv-37vq-52g5 | tensorflow-gpu |
|