PT-2021-18290 · Unknown · Tensorflow

Mihaimaruseac

·

Published

2021-05-14

·

Updated

2024-03-06

·

CVE-2021-29539

CVSS v3.1

5.5

Medium

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions TensorFlow versions prior to 2.5.0
Description The issue arises when calling tf.raw ops.ImmutableConst with a dtype of tf.resource or tf.variant, resulting in a segfault. This occurs because the code assumes that the tensor contents are pure scalars.
Recommendations For versions prior to 2.5.0, consider inserting a filter for the dtype argument when using tf.raw ops.ImmutableConst to prevent the segfault. Update to TensorFlow 2.5.0 or use TensorFlow nightly packages after the commit 4f663d4b8f0bec1b48da6fa091a7d29609980fa4 to resolve the issue.

Exploit

Fix

Weakness Enumeration

Related Identifiers

BIT-TENSORFLOW-2021-29539
CVE-2021-29539
GHSA-G4H2-GQM3-C9WQ
PYSEC-2021-176
PYSEC-2021-467
PYSEC-2021-665

Affected Products

Tensorflow