CVE-2021-35958
Last modified
CVE-2021-35958 is a critical-severity vulnerability rated 9.1/10 on the CVSS scale. 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. EPSS estimates a 1.86% chance of exploitation in the next 30 days.
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
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Tensorflow | <= 2.5.0 |
References
- https://docs.python.org/3/library/tarfile.html#tarfile.TarFile.extractallThird Party Advisory
- https://keras.io/api/Third Party Advisory
- https://vuln.ryotak.me/advisories/52Third Party Advisory
- https://docs.python.org/3/library/tarfile.html#tarfile.TarFile.extractallThird Party Advisory
- https://keras.io/api/Third Party Advisory
- https://vuln.ryotak.me/advisories/52Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-35958?
How severe is CVE-2021-35958?
How do I fix CVE-2021-35958?
Are you affected by CVE-2021-35958?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
