CVE-2021-29584Integer Overflow or Wraparound in Tensorflow

Severity
5.5MEDIUMNVD
CNA2.5
EPSS
0.0%
top 98.70%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedMay 14
Latest updateNov 10

Description

TensorFlow is an end-to-end open source platform for machine learning. An attacker can trigger a denial of service via a `CHECK`-fail in caused by an integer overflow in constructing a new tensor shape. This is because the implementation(https://github.com/tensorflow/tensorflow/blob/0908c2f2397c099338b901b067f6495a5b96760b/tensorflow/core/kernels/sparse_split_op.cc#L66-L70) builds a dense shape without checking that the dimensions would not result in overflow. The `TensorShape` constructor(https

CVSS vector

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

Affected Packages3 packages

NVDgoogle/tensorflow2.5.02.5.2+6
CVEListV5tensorflow/tensorflow< 2.4.4+6
PyPIintel/optimization_for_tensorflow2.5.02.5.2+12

Patches

🔴Vulnerability Details

12
GHSA
Crash in `tf.math.segment_*` operations2021-11-10
OSV
Crash in `tf.math.segment_*` operations2021-11-10
OSV
Crashes due to overflow and `CHECK`-fail in ops with large tensor shapes2021-11-10
GHSA
Crashes due to overflow and `CHECK`-fail in ops with large tensor shapes2021-11-10
OSV
CVE-2021-41197: TensorFlow is an open source platform for machine learning2021-11-05

📋Vendor Advisories

3
Debian
CVE-2021-41195: tensorflow - TensorFlow is an open source platform for machine learning. In affected versions...2021
Debian
CVE-2021-41197: tensorflow - TensorFlow is an open source platform for machine learning. In affected versions...2021
Debian
CVE-2021-29584: tensorflow - TensorFlow is an end-to-end open source platform for machine learning. An attack...2021
CVE-2021-29584 — Integer Overflow or Wraparound | cvebase