SecurityContext

CVE-2021-37683: TensorFlow - Denial of Service

  • Cve: CVE-2021-37683
  • Name: TensorFlow - Denial of Service
  • Description: TensorFlow is an end-to-end open source platform for machine learning. In affected versions the implementation of division in TFLite is [vulnerable to a division by 0 error](https://github.com/tensorflow/tensorflow/blob/460e000de3a83278fb00b61a16d161b1964f15f4/tensorflow/lite/kernels/div.cc). There is no check that the divisor tensor does not contain zero elements. We have patched the issue in GitHub commit 1e206baedf8bef0334cca3eb92bab134ef525a28. The fix will be included in TensorFlow 2.6.0. We will also cherrypick this commit on TensorFlow 2.5.1, TensorFlow 2.4.3, and TensorFlow 2.3.4, as these are also affected and still in supported range.
  • Impact: Potential denial of service or runtime crashes due to division by zero errors.
  • Remediation: Update to TensorFlow 2.6.0 or apply the patch from commit 1e206baedf8bef0334cca3eb92bab134ef525a28 to affected versions.
  • 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.00152
  • Epss percentile: 0.04331
  • Assignee: [email protected]
  • Published at: 2021-08-12T23:15:08Z
  • Age in days: 1930
  • Modified at: 2026-06-17T04:00:58Z
  • Patch available: yes
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-37683
  • 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-369Divide By Zero

References

UrlSourceTags
https://github.com/tensorflow/tensorflow/commit/1e206baedf8bef0334cca3eb92bab134ef525a28nvdPatch, Third Party Advisory
https://github.com/tensorflow/tensorflow/security/advisories/GHSA-rhrq-64mq-hf9hnvdThird Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
google:tensorflow= 2.6.0 rc0; = 2.6.0 rc1; = 2.6.0 rc2; = 2.5.0; >= 2.4.0, < 2.4.3; >= 2.3.0, < 2.3.4nonvd/v1/products/google/tensorflow

Projects

RepositoryLink kindsIndexedUrl
tensorflow/tensorflowcommit, fix, package, security_advisoryyes/v1/repositories/tensorflow/tensorflow

Index

  • Repositories: 340
  • Repositories high signal: 133
  • Packages: 3

Exploitation

  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts