SecurityContext

CVE-2022-35997: TensorFlow - Denial of Service

  • Cve: CVE-2022-35997
  • Name: TensorFlow - Denial of Service
  • Description: TensorFlow is an open source platform for machine learning. If `tf.sparse.cross` receives an input `separator` that is not a scalar, it gives a `CHECK` fail that can be used to trigger a denial of service attack. We have patched the issue in GitHub commit 83dcb4dbfa094e33db084e97c4d0531a559e0ebf. 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 a CHECK failure in TensorFlow, disrupting service availability.
  • Remediation: Update to TensorFlow 2.10.0 or apply the patch from commit 83dcb4dbfa094e33db084e97c4d0531a559e0ebf in affected versions.
  • 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.00498
  • Epss percentile: 0.43567
  • Assignee: [email protected]
  • Published at: 2022-09-16T23:15:10Z
  • Age in days: 1530
  • Modified at: 2026-06-17T04:52:42Z
  • Patch available: yes
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-35997
  • 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: vulnerability type, requirements, hackerone

Cwe

IdName
CWE-617Reachable Assertion

References

UrlSourceTags
https://github.com/tensorflow/tensorflow/commit/83dcb4dbfa094e33db084e97c4d0531a559e0ebfnvdPatch, Third Party Advisory
https://github.com/tensorflow/tensorflow/security/advisories/GHSA-p7hr-f446-x6qfnvdThird Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
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.2nonvd/v1/products/google/tensorflow

Projects

RepositoryLink kindsIndexedUrl
tensorflow/tensorflowcommit, fix, package, releases, security_advisoryyes/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