{"id":"CVE-2021-35958","state":"PUBLISHED","title":"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 ","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","publishedAt":"2021-06-30T00:12:53.000Z","updatedAt":"2024-08-04T00:47:42.583Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://vuln.ryotak.me/advisories/52","https://github.com/tensorflow/tensorflow/blob/b8cad4c631096a34461ff8a07840d5f4d123ce32/tensorflow/python/keras/utils/data_utils.py#L137","https://docs.python.org/3/library/tarfile.html#tarfile.TarFile.extractall","https://keras.io/api/","https://github.com/tensorflow/tensorflow/blob/b8cad4c631096a34461ff8a07840d5f4d123ce32/tensorflow/python/keras/README.md"],"weaknesses":[],"ingestedAt":"2026-10-29T19:48:41.709Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/35xxx/CVE-2021-35958.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-35958","state":"PUBLISHED","datePublished":"2021-06-30T00:12:53.000Z","dateUpdated":"2024-08-04T00:47:42.583Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2021-06-30T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://vuln.ryotak.me/advisories/52","tags":["x_refsource_MISC"]},{"url":"https://github.com/tensorflow/tensorflow/blob/b8cad4c631096a34461ff8a07840d5f4d123ce32/tensorflow/python/keras/utils/data_utils.py#L137","tags":["x_refsource_MISC"]},{"url":"https://docs.python.org/3/library/tarfile.html#tarfile.TarFile.extractall","tags":["x_refsource_MISC"]},{"url":"https://keras.io/api/","tags":["x_refsource_MISC"]},{"url":"https://github.com/tensorflow/tensorflow/blob/b8cad4c631096a34461ff8a07840d5f4d123ce32/tensorflow/python/keras/README.md","tags":["x_refsource_MISC"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2021-06-30T00:12:53.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"tags":["disputed"],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2021-35958","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"** DISPUTED ** 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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://vuln.ryotak.me/advisories/52","refsource":"MISC","url":"https://vuln.ryotak.me/advisories/52"},{"name":"https://github.com/tensorflow/tensorflow/blob/b8cad4c631096a34461ff8a07840d5f4d123ce32/tensorflow/python/keras/utils/data_utils.py#L137","refsource":"MISC","url":"https://github.com/tensorflow/tensorflow/blob/b8cad4c631096a34461ff8a07840d5f4d123ce32/tensorflow/python/keras/utils/data_utils.py#L137"},{"name":"https://docs.python.org/3/library/tarfile.html#tarfile.TarFile.extractall","refsource":"MISC","url":"https://docs.python.org/3/library/tarfile.html#tarfile.TarFile.extractall"},{"name":"https://keras.io/api/","refsource":"MISC","url":"https://keras.io/api/"},{"name":"https://github.com/tensorflow/tensorflow/blob/b8cad4c631096a34461ff8a07840d5f4d123ce32/tensorflow/python/keras/README.md","refsource":"MISC","url":"https://github.com/tensorflow/tensorflow/blob/b8cad4c631096a34461ff8a07840d5f4d123ce32/tensorflow/python/keras/README.md"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://vuln.ryotak.me/advisories/52","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/tensorflow/tensorflow/blob/b8cad4c631096a34461ff8a07840d5f4d123ce32/tensorflow/python/keras/utils/data_utils.py#L137","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://docs.python.org/3/library/tarfile.html#tarfile.TarFile.extractall","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://keras.io/api/","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/tensorflow/tensorflow/blob/b8cad4c631096a34461ff8a07840d5f4d123ce32/tensorflow/python/keras/README.md","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T00:47:42.583Z"}}]}}}