SecurityContext

CVE-2022-35981: TensorFlow - Denial of Service

  • Cve: CVE-2022-35981
  • Name: TensorFlow - Denial of Service
  • Description: TensorFlow is an open source platform for machine learning. `FractionalMaxPoolGrad` validates its inputs with `CHECK` failures instead of with returning errors. If it gets incorrectly sized inputs, the `CHECK` failure can be used to trigger a denial of service attack. We have patched the issue in GitHub commit 8741e57d163a079db05a7107a7609af70931def4. 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 `CHECK` failures with malformed inputs, disrupting service availability.
  • Remediation: Update to TensorFlow 2.10.0 or cherry-pick commit 8741e57d163a079db05a7107a7609af70931def4 on affected versions.
  • Vulnerability type: denial_of_service
  • 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.00488
  • Epss percentile: 0.42578
  • Assignee: [email protected]
  • Published at: 2022-09-16T22:15:11Z
  • Age in days: 1530
  • Modified at: 2026-06-17T04:52:38Z
  • Patch available: yes
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-35981
  • 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

IdName
CWE-617Reachable Assertion

References

UrlSourceTags
https://github.com/tensorflow/tensorflow/commit/8741e57d163a079db05a7107a7609af70931def4nvdPatch, Third Party Advisory
https://github.com/tensorflow/tensorflow/security/advisories/GHSA-vxv8-r8q2-63xwnvdThird 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