CVE-2021-29599Divide By Zero in Tensorflow

CWE-369Divide By Zero7 documents5 sources
Severity
7.8HIGHNVD
CNA2.5
EPSS
0.1%
top 79.84%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedMay 14
Latest updateJul 4

Description

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

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitability: 1.8 | Impact: 5.9

Affected Packages4 packages

NVDgoogle/tensorflow2.2.02.2.3+3
CVEListV5tensorflow/tensorflow< 2.1.4+3
PyPIintel/optimization_for_tensorflow2.2.02.2.3+4
Ubuntuimagemagick/imagemagick< 8:6.9.10.23+dfsg-2.1ubuntu11.9+3

Patches

🔴Vulnerability Details

5
OSV
imagemagick vulnerabilities2023-07-04
GHSA
Division by zero in TFLite's implementation of Split2021-05-21
OSV
Division by zero in TFLite's implementation of Split2021-05-21
OSV
CVE-2021-29599: TensorFlow is an end-to-end open source platform for machine learning2021-05-14
CVEList
Division by zero in TFLite's implementation of `Split`2021-05-14

📋Vendor Advisories

1
Debian
CVE-2021-29599: tensorflow - TensorFlow is an end-to-end open source platform for machine learning. The imple...2021
CVE-2021-29599 — Divide By Zero in Tensorflow | cvebase