`MirrorPadGrad` heap out of bounds read in Tensorflow
tensorflow
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| tensorflow PyPI |
|
|
| tensorflow-cpu PyPI |
|
tensorflow
| Product | Affected | Fixed in |
|---|---|---|
| tensorflow PyPI |
|
|
| tensorflow-cpu PyPI |
|
≥ 2.9.0 · < 2.9.3≥ 2.10.0 · < 2.10.1
|
| tensorflow-gpu PyPI |
|
|
TensorFlow is an open source platform for machine learning. If `MirrorPadGrad` is given outsize input `paddings`, TensorFlow will give a heap OOB error. We have patched the issue in GitHub commit 717ca98d8c3bba348ff62281fdf38dcb5ea1ec92. The fix will be included in TensorFlow 2.11. We will also cherrypick this commit on TensorFlow 2.10.1, 2.9.3, and TensorFlow 2.8.4, as these are also affected and still in supported range.
From the CVE record · GitHub_M
TensorFlow’s MirrorPadGrad can produce a heap out-of-bounds error when given oversized paddings. An attacker who can supply such input could trigger the error; the input does not specify whether network access, authentication, or user interaction is required.
Check PyPI tensorflow, tensorflow-cpu, and tensorflow-gpu installations below 2.8.4, from 2.9.0 to below 2.9.3, or from 2.10.0 to below 2.10.1.