Learn about CVE-2021-29599, a vulnerability in TensorFlow's TFLite `Split` operator allowing division by zero. Understand its impact, affected versions, and mitigation steps.
TensorFlow is an end-to-end open source platform for machine learning. The implementation of the
Split
TFLite operator is vulnerable to a division by zero error. An attacker can craft a model such that num_splits
would be 0. The fix will be included in TensorFlow 2.5.0. Multiple versions of TensorFlow are affected, including versions < 2.1.4, >= 2.2.0, < 2.2.3, >= 2.3.0, < 2.3.3, and >= 2.4.0, < 2.4.2.
Understanding CVE-2021-29599
This section provides insights into the vulnerability and its impact.
What is CVE-2021-29599?
CVE-2021-29599 is a vulnerability in TensorFlow's TFLite operator
Split
that allows an attacker to trigger a division by zero error.
The Impact of CVE-2021-29599
The vulnerability's impact is rated as low severity, with high attack complexity and low availability impact.
Technical Details of CVE-2021-29599
Learn about the specifics of the vulnerability.
Vulnerability Description
The issue occurs in the implementation of the
Split
TFLite operator, enabling attackers to cause a division by zero error.
Affected Systems and Versions
TensorFlow versions < 2.1.4, >= 2.2.0, < 2.2.3, >= 2.3.0, < 2.3.3, and >= 2.4.0, < 2.4.2 are impacted by this vulnerability.
Exploitation Mechanism
Attackers can exploit this vulnerability by crafting a model with
num_splits
set to 0.
Mitigation and Prevention
Discover how to address and prevent the CVE-2021-29599 vulnerability.
Immediate Steps to Take
Users are advised to update to TensorFlow 2.5.0 or apply the fix available for TensorFlow 2.4.2, 2.3.3, 2.2.3, and 2.1.4.
Long-Term Security Practices
Implement secure coding practices and regularly update TensorFlow to prevent future vulnerabilities.
Patching and Updates
Stay informed about security patches and updates from TensorFlow to protect against CVE-2021-29599.