Vulnerabilities · 2021 · Google
CVE-2021-35958
Google Tensorflow vulnerability
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
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Tensorflow. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Google Tensorflow runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- docs.python.org/3/library/tarfile.html#tarfile.TarFile.extractall · Third Party Advisory
- github.com/tensorflow/tensorflow/blob/b8cad4c631096a34461ff8a07840d5f4d123ce32/tensorflow/ · Third Party Advisory
- github.com/tensorflow/tensorflow/blob/b8cad4c631096a34461ff8a07840d5f4d123ce32/tensorflow/ · Third Party Advisory
- keras.io/api/ · Third Party Advisory
- vuln.ryotak.me/advisories/52 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2021-35958
- cve.org/CVERecord?id=CVE-2021-35958
More vulnerabilities in Google products
CVE-2026-28615CVE-2026-28587CVE-2026-28576CVE-2026-28575CVE-2026-20418CVE-2026-20417CVE-2026-20415CVE-2026-20414All 12,443
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.