QID 981552
QID 981552: Python (pip) Security Update for tensorflow-gpu (GHSA-27qf-jwm8-g7f3)
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 craft a TFLite model that would trigger a division by zero error in LSH [implementation](https://github.com/tensorflow/tensorflow/blob/149562d49faa709ea80df1d99fc41d005b81082a/tensorflow/lite/kernels/lsh_projection.cc#L118).
```cc
int RunningSignBit(const TfLiteTensor* input, const TfLiteTensor* weight,
float seed) {
int input_item_bytes = input->bytes / SizeOfDimension(input, 0);
// ...
}
```
There is no check that the first dimension of the input is non zero.
The fix will be included in TensorFlow 2.6.0. We will also cherrypick thiscommit 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-27qf-jwm8-g7f3 -
github.com/advisories/GHSA-27qf-jwm8-g7f3
CVEs related to QID 981552
| Advisory ID | Software | Component | Link |
|---|---|---|---|
| GHSA-27qf-jwm8-g7f3 | tensorflow |
|
|
| GHSA-27qf-jwm8-g7f3 | tensorflow-cpu |
|
|
| GHSA-27qf-jwm8-g7f3 | tensorflow-gpu |
|