CVE-2021-29612Classic Buffer Overflow in Tensorflow

Severity
7.8HIGHNVD
CNA3.6
EPSS
0.1%
top 79.78%
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 trigger a heap buffer overflow in Eigen implementation of `tf.raw_ops.BandedTriangularSolve`. The implementation(https://github.com/tensorflow/tensorflow/blob/eccb7ec454e6617738554a255d77f08e60ee0808/tensorflow/core/kernels/linalg/banded_triangular_solve_op.cc#L269-L278) calls `ValidateInputTensors` for input validation but fails to validate that the two tensors are not empty. Furthermore, since `OP_REQUIRES`

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

Patches

🔴Vulnerability Details

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

📋Vendor Advisories

1
Debian
CVE-2021-29612: tensorflow - TensorFlow is an end-to-end open source platform for machine learning. An attack...2021
CVE-2021-29612 — Classic Buffer Overflow in Tensorflow | cvebase