QID 980166
QID 980166: Python (pip) Security Update for tensorflow-gpu (GHSA-gh8h-7j2j-qv4f)
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.
If `tf.summary.create_file_writer` is called with non-scalar arguments code crashes due to a `CHECK`-fail.
```python
import tensorflow as tf
import numpy as np
tf.summary.create_file_writer(logdir=', flush_millis=np.ones((1,2)))
```
Solution
We have patched the issue in GitHub commit [874bda09e6702cd50bac90b453b50bcc65b2769e](https://github.com/tensorflow/tensorflow/commit/874bda09e6702cd50bac90b453b50bcc65b2769e) (merging [#51715](https://github.com/tensorflow/tensorflow/pull/51715)).
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.
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.
Vendor References
- GHSA-gh8h-7j2j-qv4f -
github.com/advisories/GHSA-gh8h-7j2j-qv4f
CVEs related to QID 980166
Software Advisories
| Advisory ID | Software | Component | Link |
|---|---|---|---|
| GHSA-gh8h-7j2j-qv4f | tensorflow |
|
|
| GHSA-gh8h-7j2j-qv4f | tensorflow-cpu |
|
|
| GHSA-gh8h-7j2j-qv4f | tensorflow-gpu |
|