PT-2022-16112 · Google · Tensorflow

Mihaimaruseac

·

Published

2022-02-04

·

Updated

2024-03-06

·

CVE-2022-23595

CVSS v4.0

6.0

Medium

VectorAV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions TensorFlow versions prior to 2.8.0 TensorFlow versions 2.7.1 and earlier TensorFlow versions 2.6.3 and earlier TensorFlow versions 2.5.3 and earlier
Description The issue occurs when building an XLA compilation cache with default settings, triggering a null pointer dereference. In the default scenario, all devices are allowed, so flr->config proto is nullptr. This happens because the gpu options and visible device list are accessed without checking if flr->config proto is null.
Recommendations For versions prior to 2.8.0, update to TensorFlow 2.8.0 or later. For versions 2.7.1 and earlier, update to TensorFlow 2.7.1 or later. For versions 2.6.3 and earlier, update to TensorFlow 2.6.3 or later. For versions 2.5.3 and earlier, update to TensorFlow 2.5.3 or later. As a temporary workaround, consider modifying the default settings to avoid the null pointer dereference until a patch is available.

Exploit

Fix

NULL Pointer Dereference

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BIT-TENSORFLOW-2022-23595
CVE-2022-23595
GHSA-FPCP-9H7M-FFPX
OPENSUSE-SU-2024:12116-1
PYSEC-2022-103
PYSEC-2022-158

Affected Products

Tensorflow