Vulnerability · Published Jun 30, 2021 · Assigned by mitre
CVE-2021-35958
Critical 9.1
In plain English
A critical-severity security flaw in the affected software. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.9% (higher than 79% of all known vulnerabilities).
Severity (CVSS NVD)9.1Critical
Exploit odds (30 days)1.9%top 20.6% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
TensorFlow through 2.5.0 allows attackers to overwrite arbitrary files via a crafted archive when tf.keras.utils.get_file is used with extract=True. NOTE: the vendor's position is that tf.keras.utils.get_file is not intended for untrusted archives
Affected products (as reported)
References
- https://vuln.ryotak.me/advisories/52 x_refsource_MISC
- https://github.com/tensorflow/tensorflow/blob/b8cad4c631096a34461ff8a07840d5f4d123ce32/tensorflow/python/keras/utils/data_utils.py#L137 x_refsource_MISC
- https://docs.python.org/3/library/tarfile.html#tarfile.TarFile.extractall x_refsource_MISC
- https://keras.io/api/ x_refsource_MISC
- https://github.com/tensorflow/tensorflow/blob/b8cad4c631096a34461ff8a07840d5f4d123ce32/tensorflow/python/keras/README.md x_refsource_MISC