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?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-35952fastrack Reflex 2.0 W307S_REFLEX_v90.89 Activity Tracker all…5.3
- CVE-2021-35953fastrack Reflex 2.0 W307S_REFLEX_v90.89 Activity Tracker all…7.5
- CVE-2021-35954fastrack Reflex 2.0 W307S_REFLEX_v90.89 Activity Tracker all…8.1
- CVE-2021-35955Contao >=4.0.0 allows backend XSS via HTML attributes to an …4.8
- CVE-2021-35956Stored cross-site scripting (XSS) in the embedded webserver …5.4
- CVE-2021-35957Stormshield Endpoint Security Evolution 2.0.0 through 2.0.2 …6.7
- CVE-2021-35959In Plone 5.0 through 5.2.4, Editors are vulnerable to XSS in…5.4
- CVE-2021-3596A NULL pointer dereference flaw was found in ImageMagick in …6.5
- CVE-2021-35961Dr. ID Door Access Control and Personnel Attendance Manageme…9.8
- CVE-2021-35962Specific page parameters in Dr. ID Door Access Control and P…7.5
- CVE-2021-35963The specific parameter of upload function of the Orca HCM di…9.8
- CVE-2021-35964The management page of the Orca HCM digital learning platfor…9.8
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
