CVE-2021-41221Classic Buffer Overflow in Tensorflow

Severity
7.8HIGHNVD
EPSS
0.0%
top 94.56%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedNov 5
Latest updateNov 10

Description

TensorFlow is an open source platform for machine learning. In affected versions the shape inference code for the `Cudnn*` operations in TensorFlow can be tricked into accessing invalid memory, via a heap buffer overflow. This occurs because the ranks of the `input`, `input_h` and `input_c` parameters are not validated, but code assumes they have certain values. 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

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitability: 1.8 | Impact: 5.9

Affected Packages3 packages

NVDgoogle/tensorflow2.4.02.4.4+3
CVEListV5tensorflow/tensorflow< 2.4.4+2
PyPIintel/optimization_for_tensorflow2.5.02.5.2+4

Patches

🔴Vulnerability Details

4
GHSA
Access to invalid memory during shape inference in `Cudnn*` ops2021-11-10
OSV
Access to invalid memory during shape inference in `Cudnn*` ops2021-11-10
OSV
CVE-2021-41221: TensorFlow is an open source platform for machine learning2021-11-05
CVEList
Access to invalid memory during shape inference in `Cudnn*` ops2021-11-05

📋Vendor Advisories

1
Debian
CVE-2021-41221: tensorflow - TensorFlow is an open source platform for machine learning. In affected versions...2021
CVE-2021-41221 — Classic Buffer Overflow in Tensorflow | cvebase