Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
7.2
CVE-2022-23592: TensorFlow 2.8.0: Out-of-bounds read in type inference
CVE-2022-23592 · published 4 years ago
Summary
If you're using TensorFlow 2.8.0, a security issue could allow an attacker to access memory they shouldn't. This is because TensorFlow's checks to prevent this are not working as intended in production. You should update to a newer version of TensorFlow as soon as possible to fix this issue.
What to do
- Update google inc. tensorflow to version 2.8.0.
- Update google tensorflow-gpu to version 2.8.0.
- Update google inc. tensorflow-cpu to version 2.8.0.
- Update google tensorflow to version 2.8.0 or later.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| pip | google inc. | tensorflow |
2.8.0-rc0 Fix: upgrade to 2.8.0
|
| pip | tensorflow-gpu |
2.8.0-rc0 Fix: upgrade to 2.8.0
|
|
| pip | google inc. | tensorflow-cpu |
2.8.0-rc0 Fix: upgrade to 2.8.0
|
| – | tensorflow |
>= 2.7.0, < 2.8.0 cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:* |
Original advisory text
Out of bounds read in Tensorflow
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.
References
- https://github.com/tensorflow/tensorflow/blob/274df9b02330b790aa8de1cee164b70f72... URL
- https://nvd.nist.gov/vuln/detail/CVE-2022-23592 Vendor Advisory
- https://github.com/tensorflow/tensorflow/commit/c99d98cd189839dcf51aee94e7437b54... Patch
- https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow-cpu/PYSEC-2...
- https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow-gpu/PYSEC-2...
- https://github.com/advisories/GHSA-vq36-27g6-p492
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/23xxx/CVE-2022-23592... Vendor Advisory
- https://github.com/tensorflow/tensorflow/security/advisories/GHSA-vq36-27g6-p492 Vendor Advisory
Internet-facing
60 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit
- Gives an attacker partial control
Type
CWE-125Out-of-bounds Read
Timeline
Published4 Feb 2022
Updated4 Nov 2026
First seen6 Mar 2026
Track software like this
Free during beta