QID 982492
QID 982492: Python (pip) Security Update for tensorflow-gpu (GHSA-xw93-v57j-fcgh)
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.
An attacker can cause a denial of service via a FPE runtime error in `tf.raw_ops.SparseMatMul`:
```python
import tensorflow as tf
a = tf.constant([100.0, 100.0, 100.0, 100.0], shape=[2, 2], dtype=tf.float32)
b = tf.constant([], shape=[0, 2], dtype=tf.float32)
tf.raw_ops.SparseMatMul(
a=a, b=b, transpose_a=True, transpose_b=True,
a_is_sparse=True, b_is_sparse=True)
```
The division by 0 occurs deep in Eigen code because the `b` tensor is empty.
The fix will be included in TensorFlow 2.5.0. We will also cherrypick this commit on TensorFlow 2.4.2, TensorFlow 2.3.3, TensorFlow 2.2.3 and TensorFlow 2.1.4, as these are also affected and still in supported range.
- GHSA-xw93-v57j-fcgh -
github.com/advisories/GHSA-xw93-v57j-fcgh
CVEs related to QID 982492
| Advisory ID | Software | Component | Link |
|---|---|---|---|
| GHSA-xw93-v57j-fcgh | tensorflow |
|
|
| GHSA-xw93-v57j-fcgh | tensorflow-cpu |
|
|
| GHSA-xw93-v57j-fcgh | tensorflow-gpu |
|