CVE-2022-23592 Out of bounds read in Tensorflow
HighCVSS 8.1
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. TensorFlow's type inference can cause a heap out of bounds read as the bounds checking is done in a DCHECK (which is a no-op during production). An attacker can control the input_idx variable such that ix would be larger than the number of values in node_t.args. 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.8.0-rc0 | 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.8.0-rc0 | No fix listed |
Show 1 more
| Product | Affected versions | Fixed in |
|---|---|---|
| Google tensorflow | >= 2.7.0, < 2.8.0 | 2.8.0 |
References
- https://github.com/tensorflow/tensorflow/security/advisories/GHSA-vq36-27g6-p492 patch third-party-advisory vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/tensorflow/tensorflow/commit/c99d98cd189839dcf51aee94e7437b54b31f8abd patch third-party-advisory
- github.com
- github.com
- github.com
- https://github.com/tensorflow/tensorflow/blob/274df9b02330b790aa8de1cee164b70f72b9b244/tensorflow/core/graph/graph.cc#L223-L229 exploit third-party-advisory
- pypi.org product
- github.com vendor-advisory
- Debian Security Tracker CVE-2022-23592 vendor-advisory