First published: Fri Nov 05 2021(Updated: )
### Impact The [implementations for convolution operators](https://github.com/tensorflow/tensorflow/blob/8d72537c6abf5a44103b57b9c2e22c14f5f49698/tensorflow/core/kernels/conv_ops.cc) trigger a division by 0 if passed empty filter tensor arguments. ### Patches We have patched the issue in GitHub commit [f2c3931113eaafe9ef558faaddd48e00a6606235](https://github.com/tensorflow/tensorflow/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](https://github.com/tensorflow/tensorflow/blob/master/SECURITY.md) 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.
Credit: security-advisories@github.com security-advisories@github.com
Affected Software | Affected Version | How to fix |
---|---|---|
pip/tensorflow-gpu | <2.4.4 | 2.4.4 |
pip/tensorflow-gpu | >=2.5.0<2.5.2 | 2.5.2 |
pip/tensorflow-gpu | >=2.6.0<2.6.1 | 2.6.1 |
pip/tensorflow-cpu | <2.4.4 | 2.4.4 |
pip/tensorflow-cpu | >=2.5.0<2.5.2 | 2.5.2 |
pip/tensorflow-cpu | >=2.6.0<2.6.1 | 2.6.1 |
pip/tensorflow | <2.4.4 | 2.4.4 |
pip/tensorflow | >=2.5.0<2.5.2 | 2.5.2 |
pip/tensorflow | >=2.6.0<2.6.1 | 2.6.1 |
TensorFlow Keras | >=2.4.0<2.4.4 | |
TensorFlow Keras | >=2.6.0<2.6.1 | |
TensorFlow Keras | =2.7.0-rc0 | |
TensorFlow Keras | =2.7.0-rc1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2021-41209 has a severity rating of medium due to its potential to trigger a division by zero vulnerability.
To fix CVE-2021-41209, upgrade TensorFlow to versions 2.4.4, 2.5.2, or 2.6.1 or later.
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.
Not patching CVE-2021-41209 could lead to runtime errors that crash applications relying on affected TensorFlow versions.
Yes, CVE-2021-41209 specifically affects implementations of convolution operators in TensorFlow.