** 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.
References
Link | Resource |
---|---|
https://docs.python.org/3/library/tarfile.html#tarfile.TarFile.extractall | Third Party Advisory |
https://github.com/tensorflow/tensorflow/blob/b8cad4c631096a34461ff8a07840d5f4d123ce32/tensorflow/python/keras/README.md | Third Party Advisory |
https://github.com/tensorflow/tensorflow/blob/b8cad4c631096a34461ff8a07840d5f4d123ce32/tensorflow/python/keras/utils/data_utils.py#L137 | Third Party Advisory |
https://keras.io/api/ | Third Party Advisory |
https://vuln.ryotak.me/advisories/52 | Third Party Advisory |
Configurations
History
12 Jul 2022, 17:42
Type | Values Removed | Values Added |
---|---|---|
CWE | CWE-22 |
17 Aug 2021, 13:22
Type | Values Removed | Values Added |
---|---|---|
CPE | cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:* |
06 Jul 2021, 15:08
Type | Values Removed | Values Added |
---|---|---|
CVSS |
v2 : v3 : |
v2 : 6.4
v3 : 9.1 |
CWE | CWE-668 | |
References | (MISC) https://vuln.ryotak.me/advisories/52 - Third Party Advisory | |
References | (MISC) https://github.com/tensorflow/tensorflow/blob/b8cad4c631096a34461ff8a07840d5f4d123ce32/tensorflow/python/keras/README.md - Third Party Advisory | |
References | (MISC) https://docs.python.org/3/library/tarfile.html#tarfile.TarFile.extractall - Third Party Advisory | |
References | (MISC) https://keras.io/api/ - Third Party Advisory | |
References | (MISC) https://github.com/tensorflow/tensorflow/blob/b8cad4c631096a34461ff8a07840d5f4d123ce32/tensorflow/python/keras/utils/data_utils.py#L137 - Third Party Advisory | |
CPE | cpe:2.3:a:tensorflow:tensorflow:*:*:*:*:*:*:*:* |
30 Jun 2021, 01:15
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2021-06-30 01:15
Updated : 2024-08-04 01:15
NVD link : CVE-2021-35958
Mitre link : CVE-2021-35958
CVE.ORG link : CVE-2021-35958
JSON object : View
Products Affected
- tensorflow
CWE
CWE-22
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')