CVE-2021-29540Classic Buffer Overflow in Tensorflow

Severity
7.8HIGHNVD
CNA2.5
EPSS
0.0%
top 84.83%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedMay 14
Latest updateMay 1

Description

TensorFlow is an end-to-end open source platform for machine learning. An attacker can cause a heap buffer overflow to occur in `Conv2DBackpropFilter`. This is because the implementation(https://github.com/tensorflow/tensorflow/blob/1b0296c3b8dd9bd948f924aa8cd62f87dbb7c3da/tensorflow/core/kernels/conv_grad_filter_ops.cc#L495-L497) computes the size of the filter tensor but does not validate that it matches the number of elements in `filter_sizes`. Later, when reading/writing to this buffer, code

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.2.02.2.3+3
CVEListV5tensorflow/tensorflow< 2.1.4+3
PyPIintel/optimization_for_tensorflow2.2.02.2.3+8

Patches

🔴Vulnerability Details

4
OSV
Heap buffer overflow in `Conv2DBackpropFilter`2021-05-21
GHSA
Heap buffer overflow in `Conv2DBackpropFilter`2021-05-21
OSV
CVE-2021-29540: TensorFlow is an end-to-end open source platform for machine learning2021-05-14
CVEList
Heap buffer overflow in `Conv2DBackpropFilter`2021-05-14

📋Vendor Advisories

1
Debian
CVE-2021-29540: tensorflow - TensorFlow is an end-to-end open source platform for machine learning. An attack...2021

📄Research Papers

1
arXiv
Graphene: Infrastructure Security Posture Analysis with AI-generated Attack Graphs2024-05-01
CVE-2021-29540 — Classic Buffer Overflow in Tensorflow | cvebase