Skip to content
MediumVulnerability

CVE-2021-37691: TensorFlow Lite division by zero in LSH projection via crafted model

Identifier
CVE-2021-37691
Published
Record updated
View JSON
Affected
  • tensorflow < 2.3.4, fixed in 2.3.4, released August 10, 2021, 3 days before disclosure
  • tensorflow >= 2.4.0, < 2.4.3, fixed in 2.4.3, released August 10, 2021, 3 days before disclosure
  • tensorflow = 2.5.0, fixed in 2.5.1, released August 10, 2021, 3 days before disclosure
  • and 6 more
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.2%

Summary

TensorFlow, an open source machine learning platform, has a flaw in which a crafted TFLite model triggers a division by zero in the LSH implementation (lsh_projection.cc). The issue is tracked as CVE-2021-37691 and affects multiple supported versions.

Mitigation

Patched in GitHub commit 0575b640091680cfb70f4dd93e70658de43b94f9. The fix will be included in TensorFlow 2.6.0 and cherry-picked to TensorFlow 2.5.1, 2.4.3, and 2.3.4.