QID 981525
QID 981525: Python (pip) Security Update for tensorflow-gpu (GHSA-4xfp-4pfp-89wg)
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 cause undefined behavior via binding a reference to null pointer in `tf.raw_ops.RaggedTensorToSparse`:
```python
import tensorflow as tf
tf.raw_ops.RaggedTensorToSparse(
rt_nested_splits=[[0, 38, 0]],
rt_dense_values=[])
```
The [implementation](https://github.com/tensorflow/tensorflow/blob/f24faa153ad31a4b51578f8181d3aaab77a1ddeb/tensorflow/core/kernels/ragged_tensor_to_sparse_kernel.cc#L30) has an incomplete validation of the splits values: it does not check that they are in increasing order.
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-4xfp-4pfp-89wg -
github.com/advisories/GHSA-4xfp-4pfp-89wg
CVEs related to QID 981525
| Advisory ID | Software | Component | Link |
|---|---|---|---|
| GHSA-4xfp-4pfp-89wg | tensorflow |
|
|
| GHSA-4xfp-4pfp-89wg | tensorflow-cpu |
|
|
| GHSA-4xfp-4pfp-89wg | tensorflow-gpu |
|