CVE-2022-23593 Segfault in `simplifyBroadcast` in Tensorflow
HighCVSS 7.5
EPSS 0.87%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- Debian
Description
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.
Upgrade path
5 packages: 4 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| Google tensorflow | >= 2.7.0, < 2.8.0 | 2.8.0 | Fixed |
| pypi tensorflow(PyPI) | = 2.8.0-rc0; = 2.8.0rc0; = 2.8.0rc1; >= 2.8.0-rc0, < 2.8.0 | 2.8.0 | Fixed |
| pypi tensorflow-cpu(PyPI) | = 2.7.0; = 2.7.1; = 2.7.2; = 2.7.3 +6 more | 2.8.0 | Fixed |
| pypi tensorflow-gpu(PyPI) | = 2.7.0; = 2.7.1; = 2.7.2; = 2.7.3 +6 more | 2.8.0 | Fixed |
| TensorFlow | = >= 2.7.0, < 2.8.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi tensorflow(PyPI) | >= 2.8.0-rc0, < 2.8.0 | 2.8.0 |
| pypi tensorflow(PyPI) | = 2.8.0-rc0 | No fix listed |
| pypi tensorflow(PyPI) | = 2.8.0rc0 | No fix listed |
| pypi tensorflow(PyPI) | = 2.8.0rc1 | No fix listed |
| pypi tensorflow-cpu(PyPI) | >= 2.8.0-rc0, < 2.8.0 | 2.8.0 |
| pypi tensorflow-cpu(PyPI) | = 2.8.0-rc0 | No fix listed |
| pypi tensorflow-gpu(PyPI) | >= 2.8.0-rc0, < 2.8.0 | 2.8.0 |
| pypi tensorflow-gpu(PyPI) | = 2.8.0-rc0 | No fix listed |
| pypi tensorflow-gpu(PyPI) | = 2.8.0rc0 | No fix listed |
| pypi tensorflow-gpu(PyPI) | = 2.8.0rc1 | No fix listed |
| pypi tensorflow-cpu(PyPI) | >= 2.7.0, < 2.8.0 | 2.8.0 |
| pypi tensorflow-cpu(PyPI) | = 2.7.0 | No fix listed |
| pypi tensorflow-cpu(PyPI) | = 2.7.1 | No fix listed |
| pypi tensorflow-cpu(PyPI) | = 2.8.0rc0 | No fix listed |
| pypi tensorflow-cpu(PyPI) | = 2.8.0rc1 | No fix listed |
| pypi tensorflow-cpu(PyPI) | = 2.7.2 | No fix listed |
| pypi tensorflow-cpu(PyPI) | = 2.7.3 | No fix listed |
| pypi tensorflow-cpu(PyPI) | = 2.7.4 | No fix listed |
| pypi tensorflow-gpu(PyPI) | >= 2.7.0, < 2.8.0 | 2.8.0 |
| pypi tensorflow-gpu(PyPI) | = 2.7.0 | No fix listed |
| pypi tensorflow-gpu(PyPI) | = 2.7.1 | No fix listed |
| pypi tensorflow-gpu(PyPI) | = 2.7.2 | No fix listed |
| pypi tensorflow-gpu(PyPI) | = 2.7.3 | No fix listed |
| pypi tensorflow-gpu(PyPI) | = 2.7.4 | No fix listed |
| TensorFlow | = >= 2.7.0, < 2.8.0 | No fix listed |
Show 1 more
| Product | Affected versions | Fixed in |
|---|---|---|
| Google tensorflow | >= 2.7.0, < 2.8.0 | 2.8.0 |
References
- github.com patch third-party-advisory vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch third-party-advisory
- github.com
- github.com
- github.com
- github.com exploit third-party-advisory
- pypi.org product
- github.com vendor-advisory
- Debian Security Tracker CVE-2022-23593 vendor-advisory