SCA: security update for tensorflow, tensorflow-cpu, tensorflow-gpu (GHSA-3hxh-8cp2-g4hg)

medium Tenable Self-Hosted Container Security Plugin ID 409560

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 when running
shape functions, some functions (such as `MutableHashTableShape`) produce extra output information in the
form of a `ShapeAndType` struct. The shapes embedded in this struct are owned by an inference context that
is cleaned up almost immediately; if the upstream code attempts to access this shape information, it can
trigger a segfault. `ShapeRefiner` is mitigating this for normal output shapes by cloning them (and thus
putting the newly created shape under ownership of an inference context that will not die), but we were
not doing the same for shapes and types. This commit fixes that by doing similar logic on output shapes
and types. We have patched the issue in GitHub commit ee119d4a498979525046fba1c3dd3f13a039fbb1. 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-37690)

See Also

https://github.com/advisories/GHSA-3hxh-8cp2-g4hg

Plugin Details

Severity: Medium

ID: 409560

Version: Revision 1.7

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.9

Percentile: 52.21

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 4.6

Temporal Score: 3.4

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

CVSS Score Source: CVE-2021-37690

CVSS v3

Risk Factor: Medium

Base Score: 6.6

Temporal Score: 5.8

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

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

CVSS v4

Risk Factor: Medium

Base Score: 6.9

Threat Score: 4.5

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 8/25/2021

Vulnerability Publication Date: 8/12/2021

Reference Information

CVE: CVE-2021-37690

cwe: CWE-416