CVE-2021-29536Incorrect Calculation of Buffer Size in Tensorflow

Severity
7.8HIGHNVD
CNA2.5OSV6.1
EPSS
0.0%
top 95.36%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedMay 14
Latest updateAug 10

Description

TensorFlow is an end-to-end open source platform for machine learning. An attacker can cause a heap buffer overflow in `QuantizedReshape` by passing in invalid thresholds for the quantization. This is because the implementation(https://github.com/tensorflow/tensorflow/blob/a324ac84e573fba362a5e53d4e74d5de6729933e/tensorflow/core/kernels/quantized_reshape_op.cc#L38-L55) assumes that the 2 arguments are always valid scalars and tries to access the numeric value directly. However, if any of these t

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

5
OSV
epiphany-browser vulnerabilities2022-08-10
OSV
Heap buffer overflow in `QuantizedReshape`2021-05-21
GHSA
Heap buffer overflow in `QuantizedReshape`2021-05-21
CVEList
Heap buffer overflow in `QuantizedReshape`2021-05-14
OSV
CVE-2021-29536: TensorFlow is an end-to-end open source platform for machine learning2021-05-14

📋Vendor Advisories

1
Debian
CVE-2021-29536: tensorflow - TensorFlow is an end-to-end open source platform for machine learning. An attack...2021
CVE-2021-29536 — Incorrect Calculation of Buffer Size | cvebase