Path Traversal in Google Tensorflow
CVE-2021-35958
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
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H.
EPSS exploit prediction
EPSS: 0.019 (78.4th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 78th percentile — 78.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.019 · newest: 0.019 · change: 0.000
Affected products
Weakness classification (CWE)
Public proof-of-concept exploits
References
- vuln.ryotak.me/advisories/52 (Third Party Advisory)
- github.com/tensorflow/tensorflow/blob/b8cad4c631096a34461ff8a07840d5f4d123ce32/… (Third Party Advisory)
- docs.python.org/3/library/tarfile.html (Third Party Advisory)
- keras.io/api/ (Third Party Advisory)
- github.com/tensorflow/tensorflow/blob/b8cad4c631096a34461ff8a07840d5f4d123ce32/… (Third Party Advisory)
Frequently asked questions
- What is CVE-2021-35958?
- CVE-2021-35958 is a critical-severity vulnerability in Google Tensorflow, classified under Path Traversal. CVSS score: 9.1/10. Published 2021-06-30.
- How severe is CVE-2021-35958?
- Critical severity. CVSS v3 base score is 9.1 out of 10.
- Is CVE-2021-35958 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.