QID 981528
QID 981528: Python (pip) Security Update for tensorflow-gpu (GHSA-q3g3-h9r4-prrc)
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 all binary cwise operations that don't require broadcasting (e.g., gradients of binary cwise operations):
```python
import tensorflow as tf
tf.raw_ops.SqrtGrad(y=[4, 16],dy=[])
```
The [implementation](https://github.com/tensorflow/tensorflow/blob/84d053187cb80d975ef2b9684d4b61981bca0c41/tensorflow/core/kernels/cwise_ops_common.h#L264) assumes that the two inputs have exactly the same number of elements but does not check that. Hence, when the eigen functor executes it triggers heap OOB reads and undefined behavior due to binding to nullptr.
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-q3g3-h9r4-prrc -
github.com/advisories/GHSA-q3g3-h9r4-prrc
CVEs related to QID 981528
| Advisory ID | Software | Component | Link |
|---|---|---|---|
| GHSA-q3g3-h9r4-prrc | tensorflow |
|
|
| GHSA-q3g3-h9r4-prrc | tensorflow-cpu |
|
|
| GHSA-q3g3-h9r4-prrc | tensorflow-gpu |
|