TensorFlow vulnerable to `CHECK` fail in `DrawBoundingBoxes`
Impact
When DrawBoundingBoxes receives an input boxes that is not of dtype float, it gives a CHECK fail that can trigger a denial of service attack.
import tensorflow as tf
import numpy as np
arg_0=tf.constant(value=np.random.random(size=(1, 3, 2, 3)), shape=(1, 3, 2, 3), dtype=tf.half)
arg_1=tf.constant(value=np.random.random(size=(1, 2, 4)), shape=(1, 2, 4), dtype=tf.float32)
arg_2=''
tf.raw_ops.DrawBoundingBoxes(images=arg_0, boxes=arg_1, name=arg_2)
Patches
We have patched the issue in GitHub commit da0d65cdc1270038e72157ba35bf74b85d9bda11.
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.
For more information
Please consult our security guide for more information regarding the security model and how to contact us with issues and questions.
Attribution
This vulnerability has been reported by 刘力源, Information System & Security and Countermeasures Experiments Center, Beijing Institute of Technology.
Software afectado
Haz clic en una tecnología para ver todas sus vulnerabilidades.
| Plataforma | Paquete | Versiones vulnerables | Corregida en |
|---|---|---|---|
| Python (PyPI) | tensorflow | < 2.7.2, >= 2.8.0, < 2.8.1, >= 2.9.0, < 2.9.1 | 2.7.2, 2.8.1, 2.9.1 |
| Python (PyPI) | tensorflow-cpu | < 2.7.2, >= 2.8.0, < 2.8.1, >= 2.9.0, < 2.9.1 | 2.7.2, 2.8.1, 2.9.1 |
| Python (PyPI) | tensorflow-gpu | < 2.7.2, >= 2.8.0, < 2.8.1, >= 2.9.0, < 2.9.1 | 2.7.2, 2.8.1, 2.9.1 |
Referencias
- https://github.com/tensorflow/tensorflow/security/advisories/GHSA-jqm7-m5q7-3hm5
- https://nvd.nist.gov/vuln/detail/CVE-2022-36001
- https://github.com/tensorflow/tensorflow/commit/da0d65cdc1270038e72157ba35bf74b85d9bda11
- https://github.com/tensorflow/tensorflow
- https://github.com/tensorflow/tensorflow/releases/tag/v2.10.0
- https://pypi.org/project/tensorflow-gpu
- https://github.com/advisories/GHSA-jqm7-m5q7-3hm5
- https://pypi.org/project/tensorflow
- https://pypi.org/project/tensorflow-cpu
- Vector CVSS
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H- Debilidad (CWE)
CWE-617- Plataforma
- Python (PyPI)
- Paquete
tensorflow, tensorflow-cpu, tensorflow-gpu- Publicada
- 16.09.2022
- Actualizado
- 11.10.2026 14:18
Fuentes y licencias
OSV / GitHub Advisory Database - PYSEC-2026-1014 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - PYSEC-2026-3209 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-jqm7-m5q7-3hm5 - CC BY 4.0
OSV / GitHub Advisory Database - PYSEC-2026-3346 - PyPA Advisory Database; CC BY 4.0
Historial de vulnerabilidades: tensorflow
Todas las vulnerabilidades publicadas de este paquete (Python (PyPI)), de la más reciente a la más antigua. Muestra si es un fallo aislado o un paquete que hay que vigilar.
- Entradas en total
- 433
- Primera → última
- 04.2019 07.2024
- Sin corrección
- 0
- Explotada en ataques
- 0
Distribución por gravedad
- Crítica 6
- Alta 112
- Media 210
- Baja 105
Divulgaciones por año
- 2019: 7
- 2020: 35
- 2021: 200
- 2022: 169
- 2023: 21
- 2024: 1
- 2025: 0
- 2026: 0
-
TensorFlow vulnerable to `CHECK` fail in `DrawBoundingBoxes` esta entrada
Identifica las vulnerabilidades de tu aplicación
Con la integración de DockRay y el inventario de software activado, DockRay compara las versiones notificadas de los componentes con las vulnerabilidades conocidas y avisa de las coincidencias confirmadas. La cobertura depende de la tecnología compatible y de los avisos disponibles.