Search covers the description text, product and vendor names and weakness types (also partial words).

CVE-2021-41213
google tensorflow

Score5.5 Medium
CVSS 3.1
Exploit probability (EPSS)0.24%
within the next 30 days
CategoryRace condition & concurrency
Published5 November 2021
Last modified: 17 June 2026

In short

This vulnerability can be exploited with local access to the device, without logging in, if a user clicks a link, opens a file or similar.

A successful attack has high impact: crashing the system or making it unavailable.

✨ AI commentary

After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.

Official 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 scenario. The fix will be included in TensorFlow 2.7.0. We will also cherrypick this commit on TensorFlow 2.6.1, TensorFlow 2.5.2, and TensorFlow 2.4.4, as these are also affected and still in supported range.

CVSS: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Weakness: CWE-667, CWE-662

Affected products

VendorProductVersions
googletensorflow>=2.4.0 <2.4.4
googletensorflow>=2.5.0 <2.5.2
googletensorflow>=2.6.0 <2.6.1
googletensorflow2.7.0

Sources

Latest in the same category

  • CVE-2026-119011 Medium 5.3
    DoS vulnerability in the DSoftBus module. Impact: Successful exploitation of this vulnerability will affect availability.
    Race condition & concurrency · 1 December 2026
  • CVE-2026-119007 Medium 5.9
    Race condition vulnerability in the location service module. Impact: Successful exploitation of this vulnerability will affect availability.
    Race condition & concurrency · 1 December 2026
  • CVE-2026-119010 Medium 5.3
    Race condition vulnerability in the DSoftBus module. Impact: Successful exploitation of this vulnerability will affect availability.
    Race condition & concurrency · 1 December 2026
  • CVE-2026-140039 Medium 5.7
    A flaw was found in libproxy. When Proxy Auto-Configuration (PAC) or Web Proxy Auto-Discovery (WPAD) is enabled, libproxy holds an internal lock while synchronously downloading and executing PAC scripts. An attacker…
    Race condition & concurrency · 1 December 2026
  • CVE-2026-139905 High 7.3
    Intego NetUpdate through X9 contains a time-of-check time-of-use race condition that allows local unprivileged users to escalate privileges by replacing a verified update package before root installation. Attackers can…
    Race condition & concurrency · 30 November 2026
  • CVE-2026-139884 Medium 4.4
    Kudu before 1.48.0 contains a time-of-check time-of-use race condition in the File Shredder feature that allows local unprivileged users to overwrite and delete arbitrary files with elevated privileges. Attackers who…
    Race condition & concurrency · 30 November 2026