TensorFlow is an open source platform for machine learning. When `tf.random.gamma` receives large input shape and rates, it gives a `CHECK` fail that can trigger a denial of service attack. We have patched the issue in GitHub commit 552bfced6ce4809db5f3ca305f60ff80dd40c5a3. 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.
Advisories
Source ID Title
EUVD EUVD EUVD-2022-6881 TensorFlow is an open source platform for machine learning. When `tf.random.gamma` receives large input shape and rates, it gives a `CHECK` fail that can trigger a denial of service attack. We have patched the issue in GitHub commit 552bfced6ce4809db5f3ca305f60ff80dd40c5a3. 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 GHSA Github GHSA GHSA-mv8m-8x97-937q TensorFlow vulnerable to `CHECK` fail in `tf.random.gamma`
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Sun, 13 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.00244}

epss

{'score': 0.0026}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2025-04-23T17:00:45.804Z

Reserved: 2022-07-15T00:00:00.000Z

Link: CVE-2022-36004

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2022-09-16T23:15:10.880

Modified: 2024-11-21T07:12:09.727

Link: CVE-2022-36004

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.