CVE-2022-35952Google 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.7% probabilidad de explotación en 30 días · percentil 47
- Requiere autenticación
- No
- Publicada
- 16 sep 2022
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-617
- SSVC (CISA)
- Explotación: ninguna · Automatizable: no · Impacto técnico: parcial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Qué pasa
TensorFlow is an open source platform for machine learning. The `UnbatchGradOp` function takes an argument `id` that is assumed to be a scalar. A nonscalar `id` can trigger a `CHECK` failure and crash the program. It also requires its argument `batch_index` to contain three times the number of elements as indicated in its `batch_index.dim_size(0)`. An incorrect `batch_index` can trigger a `CHECK` failure and crash the program. We have patched the issue in GitHub commit 5f945fc6409a3c1e90d6970c9292f805f6e6ddf2. The fix will be included in TensorFlow 2.10.0. We will also cherrypick this commit on TensorFlow 2.9.1, TensorFlow 2.8.1, and TensorFlow 2.7.2, as these are also affected and still in supported range. There are no known workarounds for this issue.
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 |
< 2.7.2 |
2.7.2 |
pip install "tensorflow>=2.7.2" |
| PyPI | tensorflow |
≥ 2.8.0 < 2.8.1 |
2.8.1 |
pip install "tensorflow>=2.8.1" |
| PyPI | tensorflow |
≥ 2.9.0 < 2.9.1 |
2.9.1 |
pip install "tensorflow>=2.9.1" |
| PyPI | tensorflow |
< 2.7.2 |
2.7.2 |
pip install "tensorflow>=2.7.2" |
| PyPI | tensorflow |
≥ 2.8.0 < 2.8.1 |
2.8.1 |
pip install "tensorflow>=2.8.1" |
| PyPI | tensorflow |
≥ 2.9.0 < 2.9.1 |
2.9.1 |
pip install "tensorflow>=2.9.1" |
| PyPI | tensorflow-cpu |
< 2.7.2 |
2.7.2 |
pip install "tensorflow-cpu>=2.7.2" |
| PyPI | tensorflow-cpu |
≥ 2.8.0 < 2.8.1 |
2.8.1 |
pip install "tensorflow-cpu>=2.8.1" |
| PyPI | tensorflow-cpu |
≥ 2.9.0 < 2.9.1 |
2.9.1 |
pip install "tensorflow-cpu>=2.9.1" |
| PyPI | tensorflow-cpu |
< 2.7.2 |
2.7.2 |
pip install "tensorflow-cpu>=2.7.2" |
| PyPI | tensorflow-cpu |
≥ 2.8.0 < 2.8.1 |
2.8.1 |
pip install "tensorflow-cpu>=2.8.1" |
| PyPI | tensorflow-cpu |
≥ 2.9.0 < 2.9.1 |
2.9.1 |
pip install "tensorflow-cpu>=2.9.1" |
| PyPI | tensorflow-gpu |
< 2.7.2 |
2.7.2 |
pip install "tensorflow-gpu>=2.7.2" |
| PyPI | tensorflow-gpu |
≥ 2.8.0 < 2.8.1 |
2.8.1 |
pip install "tensorflow-gpu>=2.8.1" |
| PyPI | tensorflow-gpu |
≥ 2.9.0 < 2.9.1 |
2.9.1 |
pip install "tensorflow-gpu>=2.9.1" |
| PyPI | tensorflow-gpu |
< 2.7.2 |
2.7.2 |
pip install "tensorflow-gpu>=2.7.2" |
| PyPI | tensorflow-gpu |
≥ 2.8.0 < 2.8.1 |
2.8.1 |
pip install "tensorflow-gpu>=2.8.1" |
| PyPI | tensorflow-gpu |
≥ 2.9.0 < 2.9.1 |
2.9.1 |
pip install "tensorflow-gpu>=2.9.1" |
Según OSV / GitHub Advisories (GHSA-h5vq-gw2c-pq47, PYSEC-2026-3198, PYSEC-2026-3337, PYSEC-2026-1005). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| tensorflow | ≥ 2.7.0 < 2.7.2 | |
| tensorflow | ≥ 2.8.0 < 2.8.1 | |
| tensorflow | ≥ 2.9.0 < 2.9.1 | |
| tensorflow | 2.10 | |
| tensorflow | 2.10 | |
| tensorflow | 2.10 | |
| tensorflow | 2.10 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory