CVE-2021-29605Integer Overflow or Wraparound in Tensorflow

Severity
5.5MEDIUMNVD
CNA7.1
EPSS
0.0%
top 94.67%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedMay 14
Latest updateMay 21

Description

TensorFlow is an end-to-end open source platform for machine learning. The TFLite code for allocating `TFLiteIntArray`s is vulnerable to an integer overflow issue(https://github.com/tensorflow/tensorflow/blob/4ceffae632721e52bf3501b736e4fe9d1221cdfa/tensorflow/lite/c/common.c#L24-L27). An attacker can craft a model such that the `size` multiplier is so large that the return value overflows the `int` datatype and becomes negative. In turn, this results in invalid value being given to `malloc`(htt

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.2.02.2.3+3
CVEListV5tensorflow/tensorflow< 2.1.4+3
PyPIintel/optimization_for_tensorflow2.2.02.2.3+4

Patches

🔴Vulnerability Details

4
OSV
Integer overflow in TFLite memory allocation2021-05-21
GHSA
Integer overflow in TFLite memory allocation2021-05-21
CVEList
Integer overflow in TFLite memory allocation2021-05-14
OSV
CVE-2021-29605: TensorFlow is an end-to-end open source platform for machine learning2021-05-14

📋Vendor Advisories

1
Debian
CVE-2021-29605: tensorflow - TensorFlow is an end-to-end open source platform for machine learning. The TFLit...2021
CVE-2021-29605 — Integer Overflow or Wraparound | cvebase