SCA: security update for tensorflow, tensorflow-cpu, tensorflow-gpu (GHSA-cq76-mxrc-vchh)

medium Tenable Self-Hosted Container Security Plugin ID 414021

Description

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

- TensorFlow is an open source platform for machine learning. In affected versions the implementation of
`tf.math.segment_*` operations results in a `CHECK`-fail related abort (and denial of service) if a
segment id in `segment_ids` is large. This is similar to CVE-2021-29584 (and similar other reported
vulnerabilities in TensorFlow, localized to specific APIs): the implementation (both on CPU and GPU)
computes the output shape using `AddDim`. However, if the number of elements in the tensor overflows an
`int64_t` value, `AddDim` results in a `CHECK` failure which provokes a `std::abort`. Instead, code should
use `AddDimWithStatus`. The fix will be included in TensorFlow 2.7.0. We will also cherrypick this commit
on TensorFlow 2.6.1, TensorFlow 2.5.2, and TensorFlow 2.4.4, as these are also affected and still in
supported range. (CVE-2021-41195)

See Also

https://github.com/advisories/GHSA-cq76-mxrc-vchh

Plugin Details

Severity: Medium

ID: 414021

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

Percentile: 23.18

Vendor

Vendor Severity: Medium

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-41195

CVSS v3

Risk Factor: Medium

Base Score: 5.5

Temporal Score: 5

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:P/RL:O/RC:C

CVSS v4

Risk Factor: Medium

Base Score: 6.8

Threat Score: 5.4

Threat Vector: CVSS:4.0/E:P

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

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 11/10/2021

Vulnerability Publication Date: 11/5/2021

Reference Information

CVE: CVE-2021-41195

cwe: CWE-190