CVE-2021-35958
CVSS V2 Medium 6.4
CVSS V3 Critical 9.1
Description
** 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.
Overview
- CVE ID
- CVE-2021-35958
- Assigner
- cve@mitre.org
- Vulnerability Status
- Analyzed
- Published Version
- 2021-06-30T01:15:07
- Last Modified Date
- 2022-07-12T17:42:04
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:* | 1 | OR | 2.5.0 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:L/Au:N/C:N/I:P/A:P
- Access Vector
- NETWORK
- Access Compatibility
- LOW
- Authentication
- NONE
- Confidentiality Impact
- NONE
- Integrity Impact
- PARTIAL
- Availability Impact
- PARTIAL
- Base Score
- 6.4
- Severity
- MEDIUM
- Exploitability Score
- 10
- Impact Score
- 4.9
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- NONE
- Availability Impact
- HIGH
- Base Score
- 9.1
- Base Severity
- CRITICAL
- Exploitability Score
- 3.9
- Impact Score
- 5.2
References
Reference URL | Reference Tags |
---|---|
https://keras.io/api/ | Third Party Advisory |
https://github.com/tensorflow/tensorflow/blob/b8cad4c631096a34461ff8a07840d5f4d123ce32/tensorflow/python/keras/utils/data_utils.py#L137 | Third Party Advisory |
https://github.com/tensorflow/tensorflow/blob/b8cad4c631096a34461ff8a07840d5f4d123ce32/tensorflow/python/keras/README.md | Third Party Advisory |
https://vuln.ryotak.me/advisories/52 | Third Party Advisory |
https://docs.python.org/3/library/tarfile.html#tarfile.TarFile.extractall | Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2021-35958 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-35958 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 06:56:59 | Added to TrackCVE | |||
2022-12-05 05:12:43 | 2021-06-30T01:15Z | 2021-06-30T01:15:07 | CVE Published Date | updated |
2022-12-05 05:12:43 | 2022-07-12T17:42:04 | CVE Modified Date | updated | |
2022-12-05 05:12:43 | Analyzed | Vulnerability Status | updated |