CVE-2022-35970: TensorFlow - Denial of Service
- Cve: CVE-2022-35970
- Name: TensorFlow - Denial of Service
- Description: TensorFlow is an open source platform for machine learning. If `QuantizedInstanceNorm` is given `x_min` or `x_max` tensors of a nonzero rank, it results in a segfault 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.
- Impact: Attackers can cause a denial of service by triggering segmentation faults in TensorFlow.
- Remediation: Update to TensorFlow 2.10.0 or apply the cherrypick commit 785d67a78a1d533759fcd2f5e8d6ef778de849e0 in versions 2.9.1, 2.8.1, and 2.7.2.
- Vulnerability type: null_pointer_dereference
- Vulnerability impact: denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Epss score: 0.00521
- Epss percentile: 0.45103
- Assignee: [email protected]
- Published at: 2022-09-16T21:15:09Z
- Age in days: 1530
- Modified at: 2026-06-17T04:52:37Z
- Patch available: yes
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-35970
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-20 | Improper Input Validation |
| NVD-CWE-noinfo | — |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/tensorflow/tensorflow/commit/785d67a78a1d533759fcd2f5e8d6ef778de849e0 | nvd | Patch, Third Party Advisory |
| https://github.com/tensorflow/tensorflow/security/advisories/GHSA-g35r-369w-3fqp | nvd | Patch, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| google:tensorflow | = 2.10 rc3; = 2.10 rc0; = 2.10 rc1; = 2.10 rc2; >= 2.9.0, < 2.9.1; >= 2.8.0, < 2.8.1; >= 2.7.0, < 2.7.2 | no | nvd | /v1/products/google/tensorflow |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| tensorflow/tensorflow | commit, fix, package, releases, security_advisory | yes | /v1/repositories/tensorflow/tensorflow |
Index
- Repositories: 363
- Repositories high signal: 138
- Packages: 3
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts