QID 981465
QID 981465: Python (pip) Security Update for tensorflow-gpu (GHSA-qh32-6jjc-qprm)
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.
A crafted TFLite model can force a node to have as input a tensor backed by a `nullptr` buffer. This can be achieved by changing a buffer index in the flatbuffer serialization to convert a read-only tensor to a read-write one. The runtime assumes that these buffers are written to before a possible read, hence they are initialized with `nullptr`:
https://github.com/tensorflow/tensorflow/blob/0e68f4d3295eb0281a517c3662f6698992b7b2cf/tensorflow/lite/core/subgraph.cc#L1224-L1227
However, by changing the buffer index for a tensor and implicitly converting that tensor to be a read-write one, as there is nothing in the model that writes to it, we get a null pointer dereference.
We recommend users to upgrade to TensorFlow 1.15.4, 2.0.3, 2.1.2, 2.2.1, or 2.3.1.
- GHSA-qh32-6jjc-qprm -
github.com/advisories/GHSA-qh32-6jjc-qprm
CVEs related to QID 981465
| Advisory ID | Software | Component | Link |
|---|---|---|---|
| GHSA-qh32-6jjc-qprm | tensorflow |
|
|
| GHSA-qh32-6jjc-qprm | tensorflow-cpu |
|
|
| GHSA-qh32-6jjc-qprm | tensorflow-gpu |
|