CVE-2021-29583NULL Pointer Dereference in Tensorflow

Severity
7.8HIGHNVD
CNA2.5
EPSS
0.0%
top 95.45%
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 implementation of `tf.raw_ops.FusedBatchNorm` is vulnerable to a heap buffer overflow. If the tensors are empty, the same implementation can trigger undefined behavior by dereferencing null pointers. The implementation(https://github.com/tensorflow/tensorflow/blob/57d86e0db5d1365f19adcce848dfc1bf89fdd4c7/tensorflow/core/kernels/fused_batch_norm_op.cc) fails to validate that `scale`, `offset`, `mean` and `variance` (the la

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 Packages3 packages

NVDgoogle/tensorflow2.2.02.2.3+3
CVEListV5tensorflow/tensorflow< 2.1.4+3
PyPIintel/optimization_for_tensorflow2.2.02.2.3+8

Patches

🔴Vulnerability Details

4
OSV
Heap buffer overflow and undefined behavior in `FusedBatchNorm`2021-05-21
GHSA
Heap buffer overflow and undefined behavior in `FusedBatchNorm`2021-05-21
CVEList
Heap buffer overflow and undefined behavior in `FusedBatchNorm`2021-05-14
OSV
CVE-2021-29583: TensorFlow is an end-to-end open source platform for machine learning2021-05-14

📋Vendor Advisories

1
Debian
CVE-2021-29583: tensorflow - TensorFlow is an end-to-end open source platform for machine learning. The imple...2021
CVE-2021-29583 — NULL Pointer Dereference in Tensorflow | cvebase