Out-of-bounds Read in Google Tensorflow
CVE-2022-23574
Tensorflow is an Open Source Machine Learning Framework. There is a typo in TensorFlow's `SpecializeType` which results in heap OOB read/write. Due to a typo, `arg` is initialized to the `i`th mutable argument in a loop where the loop index is `j`. Hence it is possible to assign to `arg` from outside the vector of arguments. Since this is a mutable proto value, it allows both read and write to outside of bounds data. The fix will be included in TensorFlow 2.8.0. We will also cherrypick this commit on TensorFlow 2.7.1, and TensorFlow 2.6.3, as these are also affected and still in supported range.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.008 (56.3th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 56th percentile — 56.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.008 · newest: 0.008 · change: +0.000
Affected products
- Google Tensorflow — versions 2.7.0
- Tensorflow — versions >= 2.7.0, < 2.7.1, >= 2.6.0, < 2.6.3, < 2.5.3
Weakness classification (CWE)
References
- github.com/tensorflow/tensorflow/security/advisories/GHSA-77gp-3h4r-6428 (Patch, Third Party Advisory)
- github.com/tensorflow/tensorflow/commit/0657c83d08845cc434175934c642299de2c0f042 (Patch, Third Party Advisory)
- github.com/tensorflow/tensorflow/blob/a1320ec1eac186da1d03f033109191f715b2b130/… (Exploit, Third Party Advisory)
Frequently asked questions
- What is CVE-2022-23574?
- CVE-2022-23574 is a high-severity vulnerability in Google Tensorflow, classified under Out-of-bounds Read. CVSS score: 8.8/10. Published 2022-02-04.
- How severe is CVE-2022-23574?
- High severity. CVSS v3 base score is 8.8 out of 10.