`CHECK`-failures during Grappler's `IsSimplifiableReshape` 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.6.0 · < 2.6.3≥ 2.7.0 · < 2.7.1
|
| tensorflow-gpu PyPI |
|
|
Tensorflow is an Open Source Machine Learning Framework. The Grappler optimizer in TensorFlow can be used to cause a denial of service by altering a `SavedModel` such that `IsSimplifiableReshape` would trigger `CHECK` failures. The fix will be included in TensorFlow 2.8.0. We will also cherrypick this commit on TensorFlow 2.7.1, TensorFlow 2.6.3, and TensorFlow 2.5.3, as these are also affected and still in supported range.
From the CVE record · GitHub_M
TensorFlow’s Grappler optimizer can trigger a CHECK failure when it processes an altered SavedModel. An attacker who can supply such a model could cause a denial of service; the input does not specify network access or authentication requirements.
Check installations of the PyPI tensorflow, tensorflow-cpu, or tensorflow-gpu packages in the affected ranges: below 2.5.3, 2.6.0 through 2.6.2, or 2.7.0.