Out-of-bounds Read in Google Tensorflow
CVE-2021-41226
TensorFlow is an open source platform for machine learning. In affected versions the implementation of `SparseBinCount` is vulnerable to a heap OOB access. This is because of missing validation between the elements of the `values` argument and the shape of the sparse output. The fix will be included in TensorFlow 2.7.0. We will also cherrypick this commit on TensorFlow 2.6.1, TensorFlow 2.5.2, and TensorFlow 2.4.4, as these are also affected and still in supported range.
Vulnerability class: Buffer Overflow
EPSS: 0.002 (10.3th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.1 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H.
Affected products
- Google Tensorflow
- Tensorflow — versions >= 2.6.0, < 2.6.1, >= 2.5.0, < 2.5.2, < 2.4.4
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM, Exploit, Patch, Third Party Advisory)
- security-advisories@github.com (Patch, Third Party Advisory, x_refsource_MISC)
Frequently asked questions
- What is CVE-2021-41226?
- CVE-2021-41226 is a high-severity vulnerability in Google Tensorflow, classified under Out-of-bounds Read. CVSS score: 7.1/10. Published 2021-11-05.
- How severe is CVE-2021-41226?
- High severity. CVSS v3 base score is 7.1 out of 10.