QID 980192
QID 980192: Python (pip) Security Update for tensorflow-gpu (GHSA-j8c8-67vp-6mx7)
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 `ImmutableConst` operation in TensorFlow can be tricked into reading arbitrary memory contents:
```python
import tensorflow as tf
with open('/tmp/test','wb') as f:
f.write(b'\xe2'*128)
data = tf.raw_ops.ImmutableConst(dtype=tf.string,shape=3,memory_region_name='/tmp/test')
print(data)
```
This is because the `tstring` TensorFlow string class has a special case for memory mapped strings but the operation itself does not offer any support for this datatype.
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-j8c8-67vp-6mx7 -
github.com/advisories/GHSA-j8c8-67vp-6mx7
CVEs related to QID 980192
| Advisory ID | Software | Component | Link |
|---|---|---|---|
| GHSA-j8c8-67vp-6mx7 | tensorflow |
|
|
| GHSA-j8c8-67vp-6mx7 | tensorflow-cpu |
|
|
| GHSA-j8c8-67vp-6mx7 | tensorflow-gpu |
|