Segfault in `simplifyBroadcast` in Tensorflow
tensorflow
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| tensorflow PyPI |
|
|
| tensorflow-cpu PyPI |
|
|
tensorflow
| Product | Affected | Fixed in |
|---|---|---|
| tensorflow PyPI |
|
|
| tensorflow-cpu PyPI |
|
|
|
|
Tensorflow is an Open Source Machine Learning Framework. The `simplifyBroadcast` function in the MLIR-TFRT infrastructure in TensorFlow is vulnerable to a segfault (hence, denial of service), if called with scalar shapes. If all shapes are scalar, then `maxRank` is 0, so we build an empty `SmallVector`. The fix will be included in TensorFlow 2.8.0. This is the only affected version.
From the CVE record · GitHub_M
TensorFlow’s MLIR-TFRT simplifyBroadcast function can segfault when called with scalar shapes, causing a denial of service. The input does not specify whether exploitation requires network access, authentication, or user interaction.
Teams running PyPI tensorflow versions >=2.8.0-rc0 and <2.8.0, or tensorflow-cpu or tensorflow-gpu versions >=2.7.0 and <2.8.0, should check their installations.