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

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

Description

TensorFlow is an end-to-end open source platform for machine learning. An attacker can cause a heap buffer overflow in `QuantizedResizeBilinear` by passing in invalid thresholds for the quantization. This is because the implementation(https://github.com/tensorflow/tensorflow/blob/50711818d2e61ccce012591eeb4fdf93a8496726/tensorflow/core/kernels/quantized_resize_bilinear_op.cc#L705-L706) assumes that the 2 arguments are always valid scalars and tries to access the numeric value directly. The fix w

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
GHSA
Heap buffer overflow in `QuantizedResizeBilinear`2021-05-21
OSV
Heap buffer overflow in `QuantizedResizeBilinear`2021-05-21
OSV
CVE-2021-29537: TensorFlow is an end-to-end open source platform for machine learning2021-05-14
CVEList
Heap buffer overflow in `QuantizedResizeBilinear`2021-05-14

📋Vendor Advisories

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