QID 982444
QID 982444: Python (pip) Security Update for tensorflow-gpu (GHSA-9rpc-5v9q-5r7f)
Security update has been released for tensorflow,tensorflow-cpu,tensorflow-gpu 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.
Incomplete validation in `SparseReshape` results in a denial of service based on a `CHECK`-failure.
```python
import tensorflow as tf
input_indices = tf.constant(41, shape=[1, 1], dtype=tf.int64)
input_shape = tf.zeros([11], dtype=tf.int64)
new_shape = tf.zeros([1], dtype=tf.int64)
tf.raw_ops.SparseReshape(input_indices=input_indices,
input_shape=input_shape,
new_shape=new_shape)
```
The [implementation](https://github.com/tensorflow/tensorflow/blob/e87b51ce05c3eb172065a6ea5f48415854223285/tensorflow/core/kernels/sparse_reshape_op.cc#L40) has no validation that the input arguments specify a valid sparse tensor.
The fix will be included in TensorFlow 2.5.0. We will also cherrypick this commit on TensorFlow 2.4.2 and TensorFlow 2.3.3, as these are the only affected versions.
- GHSA-9rpc-5v9q-5r7f -
github.com/advisories/GHSA-9rpc-5v9q-5r7f
CVEs related to QID 982444
| Advisory ID | Software | Component | Link |
|---|---|---|---|
| GHSA-9rpc-5v9q-5r7f | tensorflow |
|
|
| GHSA-9rpc-5v9q-5r7f | tensorflow-cpu |
|
|
| GHSA-9rpc-5v9q-5r7f | tensorflow-gpu |
|