CVE-2022-23558Integer Overflow or Wraparound in Tensorflow

Severity
8.8HIGHNVD
CNA7.6
EPSS
0.4%
top 39.91%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedFeb 4
Latest updateFeb 9

Description

Tensorflow is an Open Source Machine Learning Framework. An attacker can craft a TFLite model that would cause an integer overflow in `TfLiteIntArrayCreate`. The `TfLiteIntArrayGetSizeInBytes` returns an `int` instead of a `size_t. An attacker can control model inputs such that `computed_size` overflows the size of `int` datatype. The fix will be included in TensorFlow 2.8.0. We will also cherrypick this commit on TensorFlow 2.7.1, TensorFlow 2.6.3, and TensorFlow 2.5.3, as these are also affect

CVSS vector

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

Affected Packages3 packages

CVEListV5tensorflow/tensorflow< 2.5.3+2
PyPIintel/optimization_for_tensorflow2.6.02.6.3+2
NVDgoogle/tensorflow2.6.02.6.2+2

Patches

🔴Vulnerability Details

4
OSV
Integer overflow in TFLite array creation2022-02-09
GHSA
Integer overflow in TFLite array creation2022-02-09
CVEList
Integer overflow in TFLite array creation2022-02-04
OSV
CVE-2022-23558: Tensorflow is an Open Source Machine Learning Framework2022-02-04

📋Vendor Advisories

1
Debian
CVE-2022-23558: tensorflow - Tensorflow is an Open Source Machine Learning Framework. An attacker can craft a...2022
CVE-2022-23558 — Integer Overflow or Wraparound | cvebase