QID 980179
QID 980179: Python (pip) Security Update for tensorflow-gpu (GHSA-vwhq-49r4-gj9v)
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 [shape inference code for `tf.ragged.cross`](https://github.com/tensorflow/tensorflow/blob/8d72537c6abf5a44103b57b9c2e22c14f5f49698/tensorflow/core/ops/ragged_array_ops.cc#L64) has an undefined behavior due to binding a reference to `nullptr`. In the following scenario, this results in a crash:
```python
import tensorflow as tf
@tf.function
def test():
y = tf.ragged.cross([tf.ragged.constant([['1']]),'2'])
return y
test()
```
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-vwhq-49r4-gj9v -
github.com/advisories/GHSA-vwhq-49r4-gj9v
CVEs related to QID 980179
| Advisory ID | Software | Component | Link |
|---|---|---|---|
| GHSA-vwhq-49r4-gj9v | tensorflow |
|
|
| GHSA-vwhq-49r4-gj9v | tensorflow-cpu |
|
|
| GHSA-vwhq-49r4-gj9v | tensorflow-gpu |
|