QID 980188
QID 980188: Python (pip) Security Update for tensorflow-gpu (GHSA-f54p-f6jp-4rhr)
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/fused_batch_norm_op.cc#L1292) of `FusedBatchNorm` kernels is vulnerable to a heap OOB:
```python
import tensorflow as tf
tf.raw_ops.FusedBatchNormGrad(
y_backprop=tf.constant([i for i in range(9)],shape=(1,1,3,3),dtype=tf.float32)
x=tf.constant([i for i in range(2)],shape=(1,1,1,2),dtype=tf.float32)
scale=[1,1],
reserve_space_1=[1,1],
reserve_space_2=[1,1,1],
epsilon=1.0,
data_format='NCHW',
is_training=True)
```
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-f54p-f6jp-4rhr -
github.com/advisories/GHSA-f54p-f6jp-4rhr
CVEs related to QID 980188
| Advisory ID | Software | Component | Link |
|---|---|---|---|
| GHSA-f54p-f6jp-4rhr | tensorflow |
|
|
| GHSA-f54p-f6jp-4rhr | tensorflow-cpu |
|
|
| GHSA-f54p-f6jp-4rhr | tensorflow-gpu |
|