CVE-2022-36001
JSON

5.9medium

`CHECK` fail in `DrawBoundingBoxes` in TensorFlow

Severity
5.9medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.49% (higher than 43% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-jqm7-m5q7-3hm5BIT-TENSORFLOW-2022-36001PYSEC-2026-1014PYSEC-2026-3209PYSEC-2026-3346

Description

TensorFlow is an open source platform for machine learning. 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. 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. There are no known workarounds for this issue.

Affected

Product or packageVersionsReported by
tensorflow tensorflow< 2.7.2, >= 2.8.0, < 2.8.1, >= 2.9.0, < 2.9.1CVE List
tensorflow (PyPI)before 2.7.2, from 2.8.0 before 2.8.1, from 2.9.0 before 2.9.1GitHub Advisory Database, PyPA Advisory Database
tensorflow-cpu (PyPI)before 2.7.2, from 2.8.0 before 2.8.1, from 2.9.0 before 2.9.1GitHub Advisory Database, PyPA Advisory Database
tensorflow-gpu (PyPI)before 2.7.2, from 2.8.0 before 2.8.1, from 2.9.0 before 2.9.1GitHub Advisory Database, PyPA Advisory Database
google tensorflowbefore 2.7.2, from 2.8.0 before 2.8.1, from 2.9.0 before 2.9.1, 2.10NVD
tensorflow (Bitnami)before 2.7.2, from 2.8.0 before 2.8.1, from 2.9.0 before 2.9.1Bitnami Vulnerability Database

All scores

GitHub_M5.9medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHub5.9medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
PyPA Advisory Database5.9medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Bitnami Vulnerability Databasehigh rating

Classification

CWE-617

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

TensorFlow is an open source platform for machine learning. 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. 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. There are no known workarounds for this issue.

GitHub Advisory Database
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.

NVD (es)

TensorFlow es una plataforma de código abierto para el aprendizaje automático. Cuando "DrawBoundingBoxes" recibe una entrada "boxes" que no es de tipo "float", da un fallo "CHECK" que puede desencadenar un ataque de denegación de servicio. Hemos parcheado el problema en el commit da0d65cdc1270038e72157ba35bf74b85d9bda11 de GitHub. La corrección será incluida en TensorFlow versión 2.10.0. También seleccionaremos este compromiso en TensorFlow versión 2.9.1, TensorFlow versión 2.8.1, y TensorFlow versión 2.7.2, ya que estos también están afectados y todavía están en el rango admitido. No se presentan mitigaciones conocidas para este problema

References

Sources

SourceRecordLicence
CVE ListCVE-2022-36001 changed 2025-04-23CVE Terms of Use
GitHub Advisory DatabaseGHSA-jqm7-m5q7-3hm5 changed 2026-07-13CC-BY-4.0
NVDCVE-2022-36001 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2026-1014 changed 2026-07-13CC-BY-4.0
PyPA Advisory DatabasePYSEC-2026-3209 changed 2026-07-13CC-BY-4.0
PyPA Advisory DatabasePYSEC-2026-3346 changed 2026-07-13CC-BY-4.0
Bitnami Vulnerability DatabaseBIT-TENSORFLOW-2022-36001 changed 2026-09-08Apache-2.0