CVE Vulnerabilities

CVE-2021-29599

Divide By Zero

Published: May 14, 2021 | Modified: May 19, 2021
CVSS 3.x
7.8
HIGH
Source:
NVD
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
4.6 MEDIUM
AV:L/AC:L/Au:N/C:P/I:P/A:P
RedHat/V2
RedHat/V3
Ubuntu

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(https://github.com/tensorflow/tensorflow/blob/e2752089ef7ce9bcf3db0ec618ebd23ea119d0c7/tensorflow/lite/kernels/split.cc#L63-L65). An attacker can craft a model such that num_splits would be 0. The fix will be included in TensorFlow 2.5.0. We will also cherrypick this commit on TensorFlow 2.4.2, TensorFlow 2.3.3, TensorFlow 2.2.3 and TensorFlow 2.1.4, as these are also affected and still in supported range.

Weakness

The product divides a value by zero.

Affected Software

Name Vendor Start Version End Version
Tensorflow Google * 2.1.4 (excluding)
Tensorflow Google 2.2.0 (including) 2.2.3 (excluding)
Tensorflow Google 2.3.0 (including) 2.3.3 (excluding)
Tensorflow Google 2.4.0 (including) 2.4.2 (excluding)

References