CVE-2021-41213Improper Locking in Tensorflow

Severity
5.5MEDIUMNVD
EPSS
0.0%
top 86.92%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedNov 5
Latest updateNov 10

Description

TensorFlow is an open source platform for machine learning. In affected versions the code behind `tf.function` API can be made to deadlock when two `tf.function` decorated Python functions are mutually recursive. This occurs due to using a non-reentrant `Lock` Python object. Loading any model which contains mutually recursive functions is vulnerable. An attacker can cause denial of service by causing users to load such models and calling a recursive `tf.function`, although this is not a frequent

CVSS vector

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

Affected Packages3 packages

NVDgoogle/tensorflow2.4.02.4.4+3
CVEListV5tensorflow/tensorflow< 2.4.4+2
PyPIintel/optimization_for_tensorflow2.5.02.5.2+4

Patches

🔴Vulnerability Details

4
OSV
Deadlock in mutually recursive `tf.function` objects2021-11-10
GHSA
Deadlock in mutually recursive `tf.function` objects2021-11-10
OSV
CVE-2021-41213: TensorFlow is an open source platform for machine learning2021-11-05
CVEList
Deadlock in mutually recursive `tf.function` objects2021-11-05

📋Vendor Advisories

1
Debian
CVE-2021-41213: tensorflow - TensorFlow is an open source platform for machine learning. In affected versions...2021
CVE-2021-41213 — Improper Locking in Tensorflow | cvebase