id: PYSEC-2021-604 details: TensorFlow is an end-to-end open source platform for machine learning. In affected versions an attacker can craft a TFLite model that would trigger a division by zero error in LSH [implementation](https://github.com/tensorflow/tensorflow/blob/149562d49faa709ea80df1d99fc41d005b81082a/tensorflow/lite/kernels/lsh_projection.cc#L118). We have patched the issue in GitHub commit 0575b640091680cfb70f4dd93e70658de43b94f9. The fix will be included in TensorFlow 2.6.0. We will also cherrypick thiscommit on TensorFlow 2.5.1, TensorFlow 2.4.3, and TensorFlow 2.3.4, as these are also affected and still in supported range. affected: - package: name: tensorflow-cpu ecosystem: PyPI purl: pkg:pypi/tensorflow-cpu ranges: - type: GIT repo: https://github.com/tensorflow/tensorflow events: - introduced: "0" - fixed: 0575b640091680cfb70f4dd93e70658de43b94f9 - type: ECOSYSTEM events: - introduced: 2.3.0 - fixed: 2.3.4 - introduced: 2.4.0 - fixed: 2.4.3 versions: - 2.3.0 - 2.3.1 - 2.3.2 - 2.3.3 - 2.4.0 - 2.4.1 - 2.4.2 references: - type: FIX url: https://github.com/tensorflow/tensorflow/commit/0575b640091680cfb70f4dd93e70658de43b94f9 - type: ADVISORY url: https://github.com/tensorflow/tensorflow/security/advisories/GHSA-27qf-jwm8-g7f3 aliases: - CVE-2021-37691 - GHSA-27qf-jwm8-g7f3 modified: "2021-12-09T06:35:06.759272Z" published: "2021-08-12T23:15:00Z"