Amenazas en vivo

Todas las CVE / Google

CVE-2020-26268Google Tensorflow

Media 4.4

Prioridad
26
CVSS 3.1
4.4
EPSS
0.2%
probabilidad de explotación en 30 días · percentil 12
Requiere autenticación
Sí
Publicada
10 dic 2020
Actualizada
17 jun 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-471
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L

Qué pasa

In affected versions of TensorFlow the tf.raw_ops.ImmutableConst operation returns a constant tensor created from a memory mapped file which is assumed immutable. However, if the type of the tensor is not an integral type, the operation crashes the Python interpreter as it tries to write to the memory area. If the file is too small, TensorFlow properly returns an error as the memory area has fewer bytes than what is needed for the tensor it creates. However, as soon as there are enough bytes, the above snippet causes a segmentation fault. This is because the allocator used to return the buffer data is not marked as returning an opaque handle since the needed virtual method is not overridden. This is fixed in versions 1.15.5, 2.0.4, 2.1.3, 2.2.2, 2.3.2, and 2.4.0.

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 < 1.15.5 1.15.5 pip install "tensorflow>=1.15.5"
PyPI tensorflow ≥ 2.0.0 < 2.0.4 2.0.4 pip install "tensorflow>=2.0.4"
PyPI tensorflow ≥ 2.1.0 < 2.1.3 2.1.3 pip install "tensorflow>=2.1.3"
PyPI tensorflow ≥ 2.2.0 < 2.2.2 2.2.2 pip install "tensorflow>=2.2.2"
PyPI tensorflow ≥ 2.3.0 < 2.3.2 2.3.2 pip install "tensorflow>=2.3.2"
PyPI tensorflow < 1.15.5 1.15.5 pip install "tensorflow>=1.15.5"
PyPI tensorflow ≥ 2.0.0 < 2.0.4 2.0.4 pip install "tensorflow>=2.0.4"
PyPI tensorflow ≥ 2.1.0 < 2.1.3 2.1.3 pip install "tensorflow>=2.1.3"
PyPI tensorflow ≥ 2.2.0 < 2.2.2 2.2.2 pip install "tensorflow>=2.2.2"
PyPI tensorflow-cpu < 1.15.5 1.15.5 pip install "tensorflow-cpu>=1.15.5"
PyPI tensorflow-cpu ≥ 2.0.0 < 2.0.4 2.0.4 pip install "tensorflow-cpu>=2.0.4"
PyPI tensorflow-cpu ≥ 2.1.0 < 2.1.3 2.1.3 pip install "tensorflow-cpu>=2.1.3"
PyPI tensorflow-cpu ≥ 2.2.0 < 2.2.2 2.2.2 pip install "tensorflow-cpu>=2.2.2"
PyPI tensorflow-cpu ≥ 2.3.0 < 2.3.2 2.3.2 pip install "tensorflow-cpu>=2.3.2"
PyPI tensorflow-cpu < 1.15.5 1.15.5 pip install "tensorflow-cpu>=1.15.5"
PyPI tensorflow-cpu ≥ 2.0.0 < 2.0.4 2.0.4 pip install "tensorflow-cpu>=2.0.4"
PyPI tensorflow-cpu ≥ 2.1.0 < 2.1.3 2.1.3 pip install "tensorflow-cpu>=2.1.3"
PyPI tensorflow-cpu ≥ 2.2.0 < 2.2.2 2.2.2 pip install "tensorflow-cpu>=2.2.2"
PyPI tensorflow-gpu < 1.15.5 1.15.5 pip install "tensorflow-gpu>=1.15.5"
PyPI tensorflow-gpu ≥ 2.0.0 < 2.0.4 2.0.4 pip install "tensorflow-gpu>=2.0.4"
PyPI tensorflow-gpu ≥ 2.1.0 < 2.1.3 2.1.3 pip install "tensorflow-gpu>=2.1.3"
PyPI tensorflow-gpu ≥ 2.2.0 < 2.2.2 2.2.2 pip install "tensorflow-gpu>=2.2.2"
PyPI tensorflow-gpu ≥ 2.3.0 < 2.3.2 2.3.2 pip install "tensorflow-gpu>=2.3.2"
PyPI tensorflow-gpu < 1.15.5 1.15.5 pip install "tensorflow-gpu>=1.15.5"
PyPI tensorflow-gpu ≥ 2.0.0 < 2.0.4 2.0.4 pip install "tensorflow-gpu>=2.0.4"
PyPI tensorflow-gpu ≥ 2.1.0 < 2.1.3 2.1.3 pip install "tensorflow-gpu>=2.1.3"
PyPI tensorflow-gpu ≥ 2.2.0 < 2.2.2 2.2.2 pip install "tensorflow-gpu>=2.2.2"

Según OSV / GitHub Advisories (GHSA-hhvc-g5hv-48c6, PYSEC-2020-255, PYSEC-2020-299, PYSEC-2020-334). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados (CPE)

FabricanteProductoVersiones
googletensorflow< 1.15.5
googletensorflow≥ 2.0.0 < 2.0.4
googletensorflow≥ 2.1.0 < 2.1.3
googletensorflow≥ 2.2.0 < 2.2.2
googletensorflow≥ 2.3.0 < 2.3.2

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.