CVE-2021-35958
9.1
CRITICAL
CVSS 3.1
EPSS 1.1%
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
How to fix CVE-2021-35958
To remediate CVE-2021-35958, upgrade the affected package to a fixed version below.
- Bitnami/tensorflow—upgrade to 2.5.1 or later
Is CVE-2021-35958 being exploited?
Low — EPSS is 1.1%, meaning exploitation activity has not been observed at scale.
Affected packages (1)
- from 0, < 2.5.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
References (6)
- WEBdocs.python.org/3/library/tarfile.html#tarfile.TarFile.extractall
- WEBgithub.com/tensorflow/tensorflow/blob/b8cad4c631096a34461ff8a07840d5f4d123ce32/tensorflow/python/keras/README.md
- WEBgithub.com/tensorflow/tensorflow/blob/b8cad4c631096a34461ff8a07840d5f4d123ce32/tensorflow/python/keras/utils/data_utils.py#L137
- WEB