CVE-2022-29204: TensorFlow - Denial of Service
- Cve: CVE-2022-29204
- Name: TensorFlow - Denial of Service
- Description: TensorFlow is an open source platform for machine learning. Prior to versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4, the implementation of `tf.raw_ops.UnsortedSegmentJoin` does not fully validate the input arguments. This results in a `CHECK`-failure which can be used to trigger a denial of service attack. The code assumes `num_segments` is a positive scalar but there is no validation. Since this value is used to allocate the output tensor, a negative value would result in a `CHECK`-failure (assertion failure), as per TFSA-2021-198. Versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4 contain a patch for this issue.
- Impact: Attackers can cause denial of service by triggering assertion failures, disrupting service availability.
- Remediation: Update to version 2.9.0 or later.
- Vulnerability impact: denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.5
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Epss score: 0.00354
- Epss percentile: 0.29726
- Assignee: [email protected]
- Published at: 2022-05-20T23:15:44Z
- Age in days: 1649
- Modified at: 2026-06-17T04:39:48Z
- Patch available: yes
- Public exploits total: 1
- References total: 9
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-29204
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: vulnerability type, requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-20 | Improper Input Validation |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/tensorflow/tensorflow/security/advisories/GHSA-hx9q-2mx4-m4pg | nvd | 2022-05-20 |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| google:tensorflow | = 2.9.0 rc0; = 2.9.0 rc1; = 2.8.0; = 2.8.0 rc0; = 2.8.0 rc1; >= 2.7.0, < 2.7.2; = 2.7.0 rc0; = 2.7.0 rc1; >= 1.15.0, < 2.6.4 | 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: 361
- Repositories high signal: 138
- Packages: 3
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2022-05-20
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts