SecurityContext

CVE-2022-35984: TensorFlow - Denial of Service

  • Cve: CVE-2022-35984
  • Name: TensorFlow - Denial of Service
  • Description: TensorFlow is an open source platform for machine learning. `ParameterizedTruncatedNormal` assumes `shape` is of type `int32`. A valid `shape` of type `int64` results in a mismatched type `CHECK` fail that can be used to trigger a denial of service attack. We have patched the issue in GitHub commit 72180be03447a10810edca700cbc9af690dfeb51. 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 trigger a denial of service by causing a type mismatch error in TensorFlow.
  • Remediation: Update to TensorFlow 2.10.0 or apply the patch from commit 72180be03447a10810edca700cbc9af690dfeb51 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.00488
  • Epss percentile: 0.42579
  • Assignee: [email protected]
  • Published at: 2022-09-16T22:15:11Z
  • Age in days: 1530
  • Modified at: 2026-06-17T04:52:40Z
  • Patch available: yes
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-35984
  • 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/72180be03447a10810edca700cbc9af690dfeb51nvdPatch, Third Party Advisory
https://github.com/tensorflow/tensorflow/security/advisories/GHSA-p2xf-8hgm-hpw5nvdThird 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