SCA: security update for tensorflow, tensorflow-cpu, tensorflow-gpu (GHSA-gv26-jpj9-c8gq)

medium Tenable Cloud Security Plugin ID 434130

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. Incomplete validation in
`SparseAdd` results in allowing attackers to exploit undefined behavior (dereferencing null pointers) as
well as write outside of bounds of heap allocated data. The implementation(https://github.com/tensorflow/t
ensorflow/blob/656e7673b14acd7835dc778867f84916c6d1cac2/tensorflow/core/kernels/sparse_sparse_binary_op_sh
ared.cc) has a large set of validation for the two sparse tensor inputs (6 tensors in total), but does not
validate that the tensors are not empty or that the second dimension of `*_indices` matches the size of
corresponding `*_shape`. This allows attackers to send tensor triples that represent invalid sparse
tensors to abuse code assumptions that are not protected by validation. The fix will be included in
TensorFlow 2.5.0. We will also cherrypick this commit on TensorFlow 2.4.2, TensorFlow 2.3.3, TensorFlow
2.2.3 and TensorFlow 2.1.4, as these are also affected and still in supported range. (CVE-2021-29607)

See Also

https://github.com/advisories/GHSA-gv26-jpj9-c8gq

Plugin Details

Severity: Medium

ID: 434130

Version: Revision 1.3

Type: Local

Family: SCA Checks

Published: 8/19/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: Medium

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

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

CVSS v4

Risk Factor: Medium

Base Score: 5.8

Threat Score: 4.8

Threat Vector: CVSS:4.0/E:P

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

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 3/18/2022

Vulnerability Publication Date: 5/14/2021

Reference Information

CVE: CVE-2021-29607

cwe: CWE-754