{"id":"CVE-2021-37684","published":"2021-08-12T22:30:17Z","modified":"2024-08-04T01:23:01Z","title":"Division by zero in TensorFlow Lite pooling operations","vendor":"tensorflow","product":"tensorflow","tier":"tail","description":{"text":"TensorFlow is an end-to-end open source platform for machine learning. In affected versions the implementations of pooling in TFLite are vulnerable to division by 0 errors as there are no checks for divisors not being 0. We have patched the issue in GitHub commit [dfa22b348b70bb89d6d6ec0ff53973bacb4f4695](https://github.com/tensorflow/tensorflow/commit/dfa22b348b70bb89d6d6ec0ff53973bacb4f4695). 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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00138,"percentile":0.03277,"provenance":"source"},"cwes":[{"id":"CWE-369","name":"Divide By Zero"}],"references":[{"url":"https://github.com/tensorflow/tensorflow/security/advisories/GHSA-q7f7-544h-67h9","tags":["x_refsource_CONFIRM"]}],"priority":{"score":4.5,"factors":[{"name":"EPSS percentile","points":0.66},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"tensorflow","affectedVersions":[{"vendor":"tensorflow","product":"tensorflow","versions":[">= 2.5.0, < 2.5.1",">= 2.4.0, < 2.4.3","< 2.3.4"]}],"affected":[{"ecosystem":"PyPI","package":"tensorflow","vulnerableRanges":["<2.3.4",">=2.4.0, <2.4.3",">=2.5.0, <2.5.1",">=2.3.0, <2.3.4"],"patched":["2.3.4","2.4.3","2.5.1"],"from":["GHSA-q7f7-544h-67h9","PYSEC-2021-306"],"provenance":"source"},{"ecosystem":"PyPI","package":"tensorflow-cpu","vulnerableRanges":["<2.3.4",">=2.4.0, <2.4.3",">=2.5.0, <2.5.1",">=2.3.0, <2.3.4"],"patched":["2.3.4","2.4.3","2.5.1"],"from":["GHSA-q7f7-544h-67h9","PYSEC-2021-597"],"provenance":"source"},{"ecosystem":"PyPI","package":"tensorflow-gpu","vulnerableRanges":["<2.3.4",">=2.4.0, <2.4.3",">=2.5.0, <2.5.1",">=2.3.0, <2.3.4"],"patched":["2.3.4","2.4.3","2.5.1"],"from":["GHSA-q7f7-544h-67h9","PYSEC-2021-795"],"provenance":"source"}],"summary":{"text":"The division-by-zero flaw lives in the pooling operations of TensorFlow Lite, the on-device runtime of the TensorFlow machine learning platform, because the pooling implementations do not check that divisors are non-zero. An attacker with local access and low privileges, acting without any user interaction, can trigger the division by zero to crash the affected process, which impacts availability.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:21:07Z"},"euvd":{"id":"EUVD-2021-0410","exploited":false,"provenance":"source"}}