QID 981533
QID 981533: Python (pip) Security Update for tensorflow-gpu (GHSA-r4c4-5fpq-56wg)
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 read from outside of bounds of heap allocated data by sending specially crafted illegal arguments to `BoostedTreesSparseCalculateBestFeatureSplit`:
```python
import tensorflow as tf
tf.raw_ops.BoostedTreesSparseCalculateBestFeatureSplit(
node_id_range=[0,10],
stats_summary_indices=[[1, 2, 3, 0x1000000]],
stats_summary_values=[1.0],
stats_summary_shape=[1,1,1,1],
l1=l2=[1.0],
tree_complexity=[0.5],
min_node_weight=[1.0],
logits_dimension=3,
split_type='inequality')
```
The [implementation](https://github.com/tensorflow/tensorflow/blob/84d053187cb80d975ef2b9684d4b61981bca0c41/tensorflow/core/kernels/boosted_trees/stats_ops.cc) needs to validate that each value in `stats_summary_indices` is in range.
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-r4c4-5fpq-56wg -
github.com/advisories/GHSA-r4c4-5fpq-56wg
CVEs related to QID 981533
| Advisory ID | Software | Component | Link |
|---|---|---|---|
| GHSA-r4c4-5fpq-56wg | tensorflow |
|
|
| GHSA-r4c4-5fpq-56wg | tensorflow-cpu |
|
|
| GHSA-r4c4-5fpq-56wg | tensorflow-gpu |
|