Amenazas en vivo

Todas las CVE / Google

CVE-2021-29554Google Tensorflow

Media 5.5

Prioridad
33
CVSS 3.1
5.5
EPSS
0.2%
probabilidad de explotación en 30 días · percentil 5
Requiere autenticación
Sí
Publicada
14 may 2021
Actualizada
17 jun 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-369
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Qué pasa

TensorFlow is an end-to-end open source platform for machine learning. An attacker can cause a denial of service via a FPE runtime error in `tf.raw_ops.DenseCountSparseOutput`. This is because the implementation(https://github.com/tensorflow/tensorflow/blob/efff014f3b2d8ef6141da30c806faf141297eca1/tensorflow/core/kernels/count_ops.cc#L123-L127) computes a divisor value from user data but does not check that the result is 0 before doing the division. Since `data` is given by the `values` argument, `num_batch_elements` is 0. The fix will be included in TensorFlow 2.5.0. We will also cherrypick this commit on TensorFlow 2.4.2, and TensorFlow 2.3.3, as these are also affected.

Texto original de NVD, en inglés. La traducción y el resumen en español llegan pronto.

Qué hacer

  1. Aplica la actualización de seguridad del fabricante para Tensorflow.

Paquetes afectados

EcosistemaPaqueteVersiones afectadasCorregida enCómo actualizar
PyPI tensorflow ≥ 2.3.0 < 2.3.3 2.3.3 pip install "tensorflow>=2.3.3"
PyPI tensorflow ≥ 2.4.0 < 2.4.2 2.4.2 pip install "tensorflow>=2.4.2"
PyPI tensorflow < 2.1.4 2.1.4 pip install "tensorflow>=2.1.4"
PyPI tensorflow ≥ 2.2.0 < 2.2.3 2.2.3 pip install "tensorflow>=2.2.3"
PyPI tensorflow ≥ 2.3.0 < 2.3.3 2.3.3 pip install "tensorflow>=2.3.3"
PyPI tensorflow ≥ 2.4.0 < 2.4.2 2.4.2 pip install "tensorflow>=2.4.2"
PyPI tensorflow-cpu ≥ 2.3.0 < 2.3.3 2.3.3 pip install "tensorflow-cpu>=2.3.3"
PyPI tensorflow-cpu ≥ 2.4.0 < 2.4.2 2.4.2 pip install "tensorflow-cpu>=2.4.2"
PyPI tensorflow-cpu < 2.1.4 2.1.4 pip install "tensorflow-cpu>=2.1.4"
PyPI tensorflow-cpu ≥ 2.2.0 < 2.2.3 2.2.3 pip install "tensorflow-cpu>=2.2.3"
PyPI tensorflow-cpu ≥ 2.3.0 < 2.3.3 2.3.3 pip install "tensorflow-cpu>=2.3.3"
PyPI tensorflow-cpu ≥ 2.4.0 < 2.4.2 2.4.2 pip install "tensorflow-cpu>=2.4.2"
PyPI tensorflow-gpu ≥ 2.3.0 < 2.3.3 2.3.3 pip install "tensorflow-gpu>=2.3.3"
PyPI tensorflow-gpu ≥ 2.4.0 < 2.4.2 2.4.2 pip install "tensorflow-gpu>=2.4.2"
PyPI tensorflow-gpu < 2.1.4 2.1.4 pip install "tensorflow-gpu>=2.1.4"
PyPI tensorflow-gpu ≥ 2.2.0 < 2.2.3 2.2.3 pip install "tensorflow-gpu>=2.2.3"
PyPI tensorflow-gpu ≥ 2.3.0 < 2.3.3 2.3.3 pip install "tensorflow-gpu>=2.3.3"
PyPI tensorflow-gpu ≥ 2.4.0 < 2.4.2 2.4.2 pip install "tensorflow-gpu>=2.4.2"

Según OSV / GitHub Advisories (GHSA-qg48-85hg-mqc5, PYSEC-2021-191, PYSEC-2021-482, PYSEC-2021-680). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados (CPE)

FabricanteProductoVersiones
googletensorflow< 2.1.4
googletensorflow≥ 2.2.0 < 2.2.3
googletensorflow≥ 2.3.0 < 2.3.3
googletensorflow≥ 2.4.0 < 2.4.2

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.