Skip to content
OpenAdvisories
Medium · 5.9 CVE-2022-35995 BIT-tensorflow-2022-35995EUVD-2022-6819GHSA-g9h5-vr8m-x2h4PYSEC-2026-3186PYSEC-2026-3329PYSEC-2026-998

`CHECK` fail in `AudioSummaryV2` in TensorFlow

Published Sep 16, 2022 · Updated Apr 23, 2025 · Assigned by GitHub_M

Description

TensorFlow is an open source platform for machine learning. When `AudioSummaryV2` receives an input `sample_rate` with more than one element, it gives a `CHECK` fails that can be used to trigger a denial of service attack. We have patched the issue in GitHub commit bf6b45244992e2ee543c258e519489659c99fb7f. 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 products

VendorProductAffectedFixed
tensorflow tensorflow < 2.7.2, >= 2.8.0, < 2.8.1, >= 2.9.0, < 2.9.1 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI tensorflow < 2.7.2 2.7.2 GHSA-g9h5-vr8m-x2h4
PyPI tensorflow >= 2.8.0, < 2.8.1 2.8.1 GHSA-g9h5-vr8m-x2h4
PyPI tensorflow >= 2.9.0, < 2.9.1 2.9.1 GHSA-g9h5-vr8m-x2h4
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 PYSEC-2026-3186
PyPI tensorflow-cpu < 2.7.2 2.7.2 GHSA-g9h5-vr8m-x2h4
PyPI tensorflow-cpu >= 2.8.0, < 2.8.1 2.8.1 GHSA-g9h5-vr8m-x2h4
PyPI tensorflow-cpu >= 2.9.0, < 2.9.1 2.9.1 GHSA-g9h5-vr8m-x2h4
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 PYSEC-2026-3329
PyPI tensorflow-gpu < 2.7.2 2.7.2 GHSA-g9h5-vr8m-x2h4
PyPI tensorflow-gpu >= 2.8.0, < 2.8.1 2.8.1 GHSA-g9h5-vr8m-x2h4
PyPI tensorflow-gpu >= 2.9.0, < 2.9.1 2.9.1 GHSA-g9h5-vr8m-x2h4
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 PYSEC-2026-998

References