CVE-2021-29617: Crash in `tf.strings.substr` due to `CHECK`-fail
Vulnerability summary
CVE-2021-29617 is a medium (CVSS 5.5) vulnerability in google tensorflow. EPSS estimates a 0.23% chance of exploitation in the next 30 days, higher than 14.7% of scored vulnerabilities. 1 public exploit is recorded.
Not severe (CVSS 2.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 14-05-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
Description
TensorFlow is an end-to-end open source platform for machine learning. An attacker can cause a denial of service via `CHECK`-fail in `tf.strings.substr` with invalid arguments. 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.1.4, as these are also affected and still in supported range.
CVSS metrics
5 scores · 3 sources · 3 versions- CVE.orgCNA2.5LowCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:LDiffers
- OSV · PypiEcosystem advisory · calculated2.5LowCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:LDiffers
EPSS trend
Probability
0.23%
Chance of exploitation in the next 30 days
Percentile
15%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.23% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundTensorflow
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
PyPI3 products
- tensorflow< 2.1.4 | ≥ 2.2.0, < 2.2.3 | ≥ 2.3.0, < 2.3.3 | ≥ 2.4.0, < 2.4.2 | < 890f7164b70354c57d40eda52dcdd7658677c09f | ≥ 2.4.0, < 2.4.3
- tensorflow-cpu< 2.1.4 | ≥ 2.2.0, < 2.2.3 | ≥ 2.3.0, < 2.3.3 | ≥ 2.4.0, < 2.4.2 | < 890f7164b70354c57d40eda52dcdd7658677c09f | ≥ 2.4.0, < 2.4.3
- tensorflow-gpu< 2.1.4 | ≥ 2.2.0, < 2.2.3 | ≥ 2.3.0, < 2.3.3 | ≥ 2.4.0, < 2.4.2 | < 890f7164b70354c57d40eda52dcdd7658677c09f | ≥ 2.4.0, < 2.4.3
Google1 product
- tensorflow< 2.1.4 | ≥ 2.2.0, < 2.2.3 | ≥ 2.3.0, < 2.3.3 | ≥ 2.4.0, < 2.4.2
Tensorflow1 product
- tensorflow< 2.1.4 | ≥ 2.2.0, < 2.2.3 | ≥ 2.3.0, < 2.3.3 | ≥ 2.4.0, < 2.4.2
3 vendors · 5 products
References
9 links- github.com/tensorflow/tensorflow/security/advisories/GHSA-mmq6-q8r3-48fmX Refsource CONFIRMWEBAdvisoryExploitPatchThird Party Advisory
- github.com/tensorflow/tensorflow/commit/890f7164b70354c57d40eda52dcdd7658677c09fX Refsource MISCWEBFIXPatchThird Party Advisory