SCA: security update for tensorflow, tensorflow-cpu, tensorflow-gpu (GHSA-2wmv-37vq-52g5)

medium Tenable Cloud Security Plugin ID 409137

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- TensorFlow is an end-to-end open source platform for machine learning. In affected versions an attacker
can cause denial of service in applications serving models using `tf.raw_ops.UnravelIndex` by triggering a
division by 0. The [implementation](https://github.com/tensorflow/tensorflow/blob/460e000de3a83278fb00b61a
16d161b1964f15f4/tensorflow/core/kernels/unravel_index_op.cc#L36) does not check that the tensor subsumed
by `dims` is not empty. Hence, if one element of `dims` is 0, the implementation does a division by 0. We
have patched the issue in GitHub commit a776040a5e7ebf76eeb7eb923bf1ae417dd4d233. The fix will be included
in TensorFlow 2.6.0. We will also cherrypick this commit on TensorFlow 2.5.1, TensorFlow 2.4.3, and
TensorFlow 2.3.4, as these are also affected and still in supported range. (CVE-2021-37668)

See Also

https://github.com/advisories/GHSA-2wmv-37vq-52g5

Plugin Details

Severity: Medium

ID: 409137

Version: Revision 1.4

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.18

CVSS v2

Risk Factor: Low

Base Score: 2.1

Temporal Score: 1.6

Vector: CVSS2#AV:L/AC:L/Au:N/C:N/I:N/A:P

CVSS Score Source: CVE-2021-37668

CVSS v3

Risk Factor: Medium

Base Score: 5.5

Temporal Score: 4.8

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 8/11/2021

Vulnerability Publication Date: 8/11/2021

Reference Information

CVE: CVE-2021-37668

cwe: CWE-369