SCA: security update for tensorflow, tensorflow-cpu, tensorflow-gpu (GHSA-4f99-p9c2-3j8x)

high Tenable Cloud Security Plugin ID 410133

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 code for sparse
matrix multiplication is vulnerable to undefined behavior via binding a reference to `nullptr`. This
occurs whenever the dimensions of `a` or `b` are 0 or less. In the case on one of these is 0, an empty
output tensor should be allocated (to conserve the invariant that output tensors are always allocated when
the operation is successful) but nothing should be written to it (that is, we should return early from the
kernel implementation). Otherwise, attempts to write to this empty tensor would result in heap OOB access.
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-41219)

See Also

https://github.com/advisories/GHSA-4f99-p9c2-3j8x

Plugin Details

Severity: High

ID: 410133

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: Medium

Score: 4.9

Percentile: 57.15

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Medium

Base Score: 4.6

Temporal Score: 3.6

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

CVSS Score Source: CVE-2021-41219

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 7

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

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

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