CVE-2022-35971Google Tensorflow
High 7.5 No auth needed
Follow: this CVE · Google · Google Tensorflow We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 0.4% probability of exploitation in 30 days · percentile 29
- Auth required
- No
- Published
- Sep 16, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-617
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
TensorFlow is an open source platform for machine learning. If `FakeQuantWithMinMaxVars` is given `min` or `max` tensors of a nonzero rank, it results in a `CHECK` fail that can be used to trigger a denial of service attack. We have patched the issue in GitHub commit 785d67a78a1d533759fcd2f5e8d6ef778de849e0. 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.
What to do
- Apply the vendor's security update for Tensorflow.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| 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.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.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" |
Per OSV / GitHub Advisories (GHSA-9fpg-838v-wpv7, PYSEC-2026-3150, PYSEC-2026-3305, PYSEC-2026-977). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| 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 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory