CVE-2021-37643NULL Pointer Dereference in Tensorflow

Severity
7.1HIGHNVD
CNA7.7
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. If a user does not provide a valid padding value to `tf.raw_ops.MatrixDiagPartOp`, then the code triggers a null pointer dereference (if input is empty) or produces invalid behavior, ignoring all values after the first. The [implementation](https://github.com/tensorflow/tensorflow/blob/8d72537c6abf5a44103b57b9c2e22c14f5f49698/tensorflow/core/kernels/linalg/matrix_diag_op.cc#L89) reads the first value from a tensor buffer with

CVSS vector

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

Affected Packages3 packages

NVDgoogle/tensorflow2.3.02.3.4+3
CVEListV5tensorflow/tensorflow< 2.3.4+2
PyPIintel/optimization_for_tensorflow2.3.02.3.4+4

Patches

🔴Vulnerability Details

4
GHSA
Null pointer dereference in `MatrixDiagPartOp`2021-08-25
OSV
Null pointer dereference in `MatrixDiagPartOp`2021-08-25
OSV
CVE-2021-37643: TensorFlow is an end-to-end open source platform for machine learning2021-08-12
CVEList
Null pointer dereference in `MatrixDiagPartOp` in TensorFlow2021-08-12

📋Vendor Advisories

1
Debian
CVE-2021-37643: tensorflow - TensorFlow is an end-to-end open source platform for machine learning. If a user...2021
CVE-2021-37643 — NULL Pointer Dereference in Tensorflow | cvebase