Severity
7.8HIGHNVD
CNA2.5
EPSS
0.0%
top 85.68%
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 trigger a heap buffer overflow in `tf.raw_ops.QuantizedResizeBilinear` by manipulating input values so that float rounding results in off-by-one error in accessing image elements. This is because the implementation(https://github.com/tensorflow/tensorflow/blob/44b7f486c0143f68b56c34e2d01e146ee445134a/tensorflow/core/kernels/quantized_resize_bilinear_op.cc#L62-L66) computes two integers (representing the upper

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+4

Patches

🔴Vulnerability Details

4
GHSA
Heap buffer overflow caused by rounding2021-05-21
OSV
Heap buffer overflow caused by rounding2021-05-21
OSV
CVE-2021-29529: TensorFlow is an end-to-end open source platform for machine learning2021-05-14
CVEList
Heap buffer overflow caused by rounding2021-05-14

📋Vendor Advisories

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

📐Framework References

3
CWE
Heap-based Buffer Overflow
CWE
Insufficient Precision or Accuracy of a Real Number
CWE
Improper Restriction of Operations within the Bounds of a Memory Buffer

📄Research Papers

1
arXiv
Uncovering CWE-CVE-CPE Relations with Threat Knowledge Graphs2023-05-01
CVE-2021-29529 — Incorrect Calculation of Buffer Size | cvebase