CVE-2021-29618: Crash in `tf.transpose` with complex inputs
Vulnerability summary
CVE-2021-29618 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. Passing a complex argument to `tf.transpose` at the same time as passing `conjugate=True` argument results in a crash. 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 | < 1dc6a7ce6e0b3e27a7ae650bfc05b195ca793f88 | ≥ 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 | < 1dc6a7ce6e0b3e27a7ae650bfc05b195ca793f88 | ≥ 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 | < 1dc6a7ce6e0b3e27a7ae650bfc05b195ca793f88 | ≥ 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-xqfj-cr6q-pc8wX Refsource CONFIRMWEBAdvisoryExploitPatchThird Party Advisory
- github.com/tensorflow/tensorflow/commit/1dc6a7ce6e0b3e27a7ae650bfc05b195ca793f88X Refsource MISCWEBFIXPatchThird Party Advisory