Heap OOB read in all `tf.raw_ops.QuantizeAndDequantizeV*` ops
tensorflow
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| tensorflow PyPI |
|
|
tensorflow
| Product | Affected | Fixed in |
|---|---|---|
| tensorflow PyPI |
|
|
| tensorflow-cpu PyPI |
|
|
| tensorflow-gpu PyPI |
|
|
TensorFlow is an open source platform for machine learning. In affected versions the shape inference functions for the `QuantizeAndDequantizeV*` operations can trigger a read outside of bounds of heap allocated array. 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.
From the CVE record · GitHub_M
Affected TensorFlow versions can read beyond a heap-allocated array during shape inference for QuantizeAndDequantizeV* operations. An attacker who can cause these operations to undergo shape inference could trigger the read. The input does not specify network access, authentication requirements, or user interaction.
Check deployments using the PyPI tensorflow, tensorflow-cpu, or tensorflow-gpu packages at versions below 2.4.4, from 2.5.0 to below 2.5.2, from 2.6.0 to below 2.6.1, or from 2.7.0rc0 to below 2.7.0.