CVE-2021-29615Uncontrolled Recursion in Tensorflow

Severity
5.5MEDIUMNVD
CNA2.5
EPSS
0.0%
top 96.71%
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. The implementation of `ParseAttrValue`(https://github.com/tensorflow/tensorflow/blob/c22d88d6ff33031aa113e48aa3fc9aa74ed79595/tensorflow/core/framework/attr_value_util.cc#L397-L453) can be tricked into stack overflow due to recursion by giving in a specially crafted input. The fix will be included in TensorFlow 2.5.0. We will also cherrypick this commit on TensorFlow 2.4.2, TensorFlow 2.3.3, TensorFlow 2.2.3 and TensorFlow 2.

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitability: 1.8 | Impact: 3.6

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
OSV
Stack overflow in `ParseAttrValue` with nested tensors2021-05-21
GHSA
Stack overflow in `ParseAttrValue` with nested tensors2021-05-21
CVEList
Stack overflow in `ParseAttrValue` with nested tensors2021-05-14
OSV
CVE-2021-29615: TensorFlow is an end-to-end open source platform for machine learning2021-05-14

📋Vendor Advisories

1
Debian
CVE-2021-29615: tensorflow - TensorFlow is an end-to-end open source platform for machine learning. The imple...2021
CVE-2021-29615 — Uncontrolled Recursion in Tensorflow | cvebase