CVE-2022-21728Google Tensorflow
Alta 8.1
Seguir: esta CVE · Google · Google Tensorflow Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 49
- CVSS 3.1
- 8.1
- EPSS
- 1.1% probabilidad de explotación en 30 días · percentil 64
- Requiere autenticación
- Sí
- Publicada
- 3 feb 2022
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-125
- SSVC (CISA)
- Explotación: prueba de concepto · Automatizable: no · Impacto técnico: parcial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Qué pasa
Tensorflow is an Open Source Machine Learning Framework. The implementation of shape inference for `ReverseSequence` does not fully validate the value of `batch_dim` and can result in a heap OOB read. There is a check to make sure the value of `batch_dim` does not go over the rank of the input, but there is no check for negative values. Negative dimensions are allowed in some cases to mimic Python's negative indexing (i.e., indexing from the end of the array), however if the value is too negative then the implementation of `Dim` would access elements before the start of an array. The fix will be included in TensorFlow 2.8.0. We will also cherrypick this commit on TensorFlow 2.7.1, TensorFlow 2.6.3, and TensorFlow 2.5.3, as these are also affected and still in supported range.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Tensorflow.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| PyPI | tensorflow |
< 2.5.3 |
2.5.3 |
pip install "tensorflow>=2.5.3" |
| PyPI | tensorflow |
≥ 2.6.0 < 2.6.3 |
2.6.3 |
pip install "tensorflow>=2.6.3" |
| PyPI | tensorflow |
≥ 2.7.0 < 2.7.1 |
2.7.1 |
pip install "tensorflow>=2.7.1" |
| PyPI | tensorflow |
< 2.5.3 |
2.5.3 |
pip install "tensorflow>=2.5.3" |
| PyPI | tensorflow |
≥ 2.6.0 < 2.6.3 |
2.6.3 |
pip install "tensorflow>=2.6.3" |
| PyPI | tensorflow |
≥ 2.7.0 < 2.7.1 |
2.7.1 |
pip install "tensorflow>=2.7.1" |
| PyPI | tensorflow-cpu |
< 2.5.3 |
2.5.3 |
pip install "tensorflow-cpu>=2.5.3" |
| PyPI | tensorflow-cpu |
≥ 2.6.0 < 2.6.3 |
2.6.3 |
pip install "tensorflow-cpu>=2.6.3" |
| PyPI | tensorflow-cpu |
≥ 2.7.0 < 2.7.1 |
2.7.1 |
pip install "tensorflow-cpu>=2.7.1" |
| PyPI | tensorflow-cpu |
< 2.5.3 |
2.5.3 |
pip install "tensorflow-cpu>=2.5.3" |
| PyPI | tensorflow-cpu |
≥ 2.6.0 < 2.6.3 |
2.6.3 |
pip install "tensorflow-cpu>=2.6.3" |
| PyPI | tensorflow-gpu |
< 2.5.3 |
2.5.3 |
pip install "tensorflow-gpu>=2.5.3" |
| PyPI | tensorflow-gpu |
≥ 2.6.0 < 2.6.3 |
2.6.3 |
pip install "tensorflow-gpu>=2.6.3" |
| PyPI | tensorflow-gpu |
≥ 2.7.0 < 2.7.1 |
2.7.1 |
pip install "tensorflow-gpu>=2.7.1" |
| PyPI | tensorflow-gpu |
< 2.5.3 |
2.5.3 |
pip install "tensorflow-gpu>=2.5.3" |
| PyPI | tensorflow-gpu |
≥ 2.6.0 < 2.6.3 |
2.6.3 |
pip install "tensorflow-gpu>=2.6.3" |
Según OSV / GitHub Advisories (GHSA-6gmv-pjp9-p8w8, PYSEC-2026-3121, PYSEC-2022-52, PYSEC-2022-107). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| tensorflow | ≤ 2.5.2 | |
| tensorflow | ≥ 2.6.0 ≤ 2.6.2 | |
| tensorflow | 2.7.0 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Exploit Third Party Advisory
- github.com Exploit Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory