{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-35958","published":"2021-06-30T01:15:07.033000Z","last_modified":"2026-06-17T03:58:06.220000Z","status":"Modified","cvss":{"version":"3.1","score":9.1,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-22"],"cpes":[{"criteria":"cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*","part":"a","vendor":"google","product":"tensorflow","version_end_including":"2.5.0"}],"cpes_truncated":false,"vendors":["google"],"products":["google/tensorflow"],"epss":{"score":0.01864,"percentile":0.79839,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"critical","priority_score":70,"links":{"html_es":"/es/cve/CVE-2021-35958/","html_en":"/en/cve/CVE-2021-35958/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-35958","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-35958"},"untrusted":{"vendor_name":"Google","product_name":"Tensorflow","desc_en":"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":[],"references":[{"url":"https://docs.python.org/3/library/tarfile.html#tarfile.TarFile.extractall","tags":["Third Party Advisory"]},{"url":"https://github.com/tensorflow/tensorflow/blob/b8cad4c631096a34461ff8a07840d5f4d123ce32/tensorflow/python/keras/README.md","tags":["Third Party Advisory"]},{"url":"https://github.com/tensorflow/tensorflow/blob/b8cad4c631096a34461ff8a07840d5f4d123ce32/tensorflow/python/keras/utils/data_utils.py#L137","tags":["Third Party Advisory"]},{"url":"https://keras.io/api/","tags":["Third Party Advisory"]},{"url":"https://vuln.ryotak.me/advisories/52","tags":["Third Party Advisory"]}]}}