CVE-2020-5215Google Tensorflow
Alta 7.5 Sin autenticación
Seguir: esta CVE · Google · Google Tensorflow Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 60
- CVSS 3.1
- 7.5
- EPSS
- 0.6% probabilidad de explotación en 30 días · percentil 49
- Requiere autenticación
- No
- Publicada
- 28 ene 2020
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Qué pasa
In TensorFlow before 1.15.2 and 2.0.1, converting a string (from Python) to a tf.float16 value results in a segmentation fault in eager mode as the format checks for this use case are only in the graph mode. This issue can lead to denial of service in inference/training where a malicious attacker can send a data point which contains a string instead of a tf.float16 value. Similar effects can be obtained by manipulating saved models and checkpoints whereby replacing a scalar tf.float16 value with a scalar string will trigger this issue due to automatic conversions. This can be easily reproduced by tf.constant("hello", tf.float16), if eager execution is enabled. This issue is patched in TensorFlow 1.15.1 and 2.0.1 with this vulnerability patched. TensorFlow 2.1.0 was released after we fixed the issue, thus it is not affected. Users are encouraged to switch to TensorFlow 1.15.1, 2.0.1 or 2.1.0.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Tensorflow.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| PyPI | tensorflow |
< 1.15.2 |
1.15.2 |
pip install "tensorflow>=1.15.2" |
| PyPI | tensorflow |
≥ 2.0.0 < 2.0.1 |
2.0.1 |
pip install "tensorflow>=2.0.1" |
| PyPI | tensorflow |
< 1.15.2 |
1.15.2 |
pip install "tensorflow>=1.15.2" |
| PyPI | tensorflow |
≥ 2.0.0 < 2.0.1 |
2.0.1 |
pip install "tensorflow>=2.0.1" |
| PyPI | tensorflow-cpu |
< 1.15.2 |
1.15.2 |
pip install "tensorflow-cpu>=1.15.2" |
| PyPI | tensorflow-cpu |
≥ 2.0.0 < 2.0.1 |
2.0.1 |
pip install "tensorflow-cpu>=2.0.1" |
| PyPI | tensorflow-cpu |
< 1.15.2 |
1.15.2 |
pip install "tensorflow-cpu>=1.15.2" |
| PyPI | tensorflow-cpu |
≥ 2.0.0 < 2.0.1 |
2.0.1 |
pip install "tensorflow-cpu>=2.0.1" |
| PyPI | tensorflow-gpu |
< 1.15.2 |
1.15.2 |
pip install "tensorflow-gpu>=1.15.2" |
| PyPI | tensorflow-gpu |
≥ 2.0.0 < 2.0.1 |
2.0.1 |
pip install "tensorflow-gpu>=2.0.1" |
| PyPI | tensorflow-gpu |
< 1.15.2 |
1.15.2 |
pip install "tensorflow-gpu>=1.15.2" |
| PyPI | tensorflow-gpu |
≥ 2.0.0 < 2.0.1 |
2.0.1 |
pip install "tensorflow-gpu>=2.0.1" |
Según OSV / GitHub Advisories (GHSA-977j-xj7q-2jr9, PYSEC-2020-258, PYSEC-2020-303, PYSEC-2020-338). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| tensorflow | < 1.15.2 | |
| tensorflow | ≥ 2.0.0 < 2.0.1 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Patch
- github.com Release Notes
- github.com Release Notes
- github.com Exploit Patch Third Party Advisory