CVE-2021-41225: google tensorflow Use of Uninitialized Resource
Vulnerability summary
CVE-2021-41225 is a high (CVSS 7.8) Use of Uninitialized Resource vulnerability in google tensorflow. EPSS estimates a 0.20% chance of exploitation in the next 30 days, higher than 8.7% of scored vulnerabilities. 1 public exploit is recorded.
Timeline
- 05-11-2021PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
Description
TensorFlow is an open source platform for machine learning. In affected versions TensorFlow's Grappler optimizer has a use of unitialized variable. If the `train_nodes` vector (obtained from the saved model that gets optimized) does not contain a `Dequeue` node, then `dequeue_node` is left unitialized. 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 metrics
5 scores · 3 sources · 3 versions- CVE.orgCNA5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HDiffers
- OSV · PypiEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HDiffers
EPSS trend
Probability
0.20%
Chance of exploitation in the next 30 days
Percentile
9%
Versus all other CVEs
30-day change
0.00 pp
From 0.20% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundTensorflow
Maturity: poc
Weaknesses
CWE · root causeAffected systems
PyPI3 products
- tensorflow≥ 2.6.0, < 2.6.1 | ≥ 2.5.0, < 2.5.2 | < 2.4.4 | < 68867bf01239d9e1048f98cbad185bf4761bedd3 | ≥ 2.7.0rc0, < 2.7.0
- tensorflow-cpu≥ 2.6.0, < 2.6.1 | ≥ 2.5.0, < 2.5.2 | < 2.4.4 | < 68867bf01239d9e1048f98cbad185bf4761bedd3 | ≥ 2.7.0rc0, < 2.7.0
- tensorflow-gpu≥ 2.6.0, < 2.6.1 | ≥ 2.5.0, < 2.5.2 | < 2.4.4 | < 68867bf01239d9e1048f98cbad185bf4761bedd3 | ≥ 2.7.0rc0, < 2.7.0
Google1 product
- tensorflow≥ 2.4.0, < 2.4.4 | ≥ 2.5.0, < 2.5.2 | ≥ 2.6.0, < 2.6.1 | 2.7.0:rc0 | 2.7.0:rc1
Tensorflow1 product
- tensorflow≥ 2.6.0, < 2.6.1 | ≥ 2.5.0, < 2.5.2 | < 2.4.4
3 vendors · 5 products
References
7 links- github.com/tensorflow/tensorflow/security/advisories/GHSA-7r94-xv9v-63jwX Refsource CONFIRMWEBAdvisoryExploitPatchThird Party Advisory
- github.com/tensorflow/tensorflow/commit/68867bf01239d9e1048f98cbad185bf4761bedd3X Refsource MISCWEBFIXPatchThird Party Advisory