CVE-2021-41209: FPE in convolutions with zero size filters
Impact The implementations for convolution operators trigger a division by 0 if passed empty filter tensor arguments.
Patches We have patched the issue in GitHub commit f2c3931113eaafe9ef558faaddd48e00a6606235. The fix will be included in TensorFlow 2.7.0. We will also cherrypick this commit on TensorFlow 2.6.1, TensorFlow 2.5.2, and TensorFlow 2.4.4, as these are also affected and still in supported range.
For more information Please consult our security guide for more information regarding the security model and how to contact us with issues and questions.
Attribution This vulnerability has been reported by members of the Aivul Team from Qihoo 360.
Other sources
TensorFlow is an open source platform for machine learning. In affected versions the implementations for convolution operators trigger a division by 0 if passed empty filter tensor arguments. The fix will be included in TensorFlow 2.7.0. We will also cherrypick this commit on TensorFlow 2.6.1, TensorFlow 2.5.2, and TensorFlow 2.4.4, as these are also affected and still in supported range.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2021-41209?
CVE-2021-41209 has a severity rating of medium due to its potential to trigger a division by zero vulnerability.
How do I fix CVE-2021-41209?
To fix CVE-2021-41209, upgrade TensorFlow to versions 2.4.4, 2.5.2, or 2.6.1 or later.
What products are affected by CVE-2021-41209?
CVE-2021-41209 affects Google TensorFlow versions between 2.4.0 and 2.4.4, and versions between 2.6.0 and 2.6.1.
What happens if I don't patch CVE-2021-41209?
Not patching CVE-2021-41209 could lead to runtime errors that crash applications relying on affected TensorFlow versions.
Is CVE-2021-41209 related to TensorFlow convolution operations?
Yes, CVE-2021-41209 specifically affects implementations of convolution operators in TensorFlow.