CVE-2021-37645Incorrect Conversion between Numeric Types in Tensorflow

Severity
5.5MEDIUMNVD
EPSS
0.0%
top 98.55%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedAug 12
Latest updateAug 25

Description

TensorFlow is an end-to-end open source platform for machine learning. In affected versions the implementation of `tf.raw_ops.QuantizeAndDequantizeV4Grad` is vulnerable to an integer overflow issue caused by converting a signed integer value to an unsigned one and then allocating memory based on this value. The [implementation](https://github.com/tensorflow/tensorflow/blob/8d72537c6abf5a44103b57b9c2e22c14f5f49698/tensorflow/core/kernels/quantize_and_dequantize_op.cc#L126) uses the `axis` value a

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.3.02.3.4+3
CVEListV5tensorflow/tensorflow< 2.4.3+1
PyPIintel/optimization_for_tensorflow2.3.02.3.4+4

Patches

🔴Vulnerability Details

4
GHSA
Integer overflow due to conversion to unsigned2021-08-25
OSV
Integer overflow due to conversion to unsigned2021-08-25
CVEList
Integer overflow due to conversion to unsigned in TensorFlow2021-08-12
OSV
CVE-2021-37645: TensorFlow is an end-to-end open source platform for machine learning2021-08-12

📋Vendor Advisories

1
Debian
CVE-2021-37645: tensorflow - TensorFlow is an end-to-end open source platform for machine learning. In affect...2021
CVE-2021-37645 — Tensorflow vulnerability | cvebase