SCA: security update for tensorflow, tensorflow-cpu, tensorflow-gpu (GHSA-6gmv-pjp9-p8w8)

high Tenable Cloud Security Plugin ID 411441

Description

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

- Tensorflow is an Open Source Machine Learning Framework. The implementation of shape inference for
`ReverseSequence` does not fully validate the value of `batch_dim` and can result in a heap OOB read.
There is a check to make sure the value of `batch_dim` does not go over the rank of the input, but there
is no check for negative values. Negative dimensions are allowed in some cases to mimic Python's negative
indexing (i.e., indexing from the end of the array), however if the value is too negative then the
implementation of `Dim` would access elements before the start of an array. The fix will be included in
TensorFlow 2.8.0. We will also cherrypick this commit on TensorFlow 2.7.1, TensorFlow 2.6.3, and
TensorFlow 2.5.3, as these are also affected and still in supported range. (CVE-2022-21728)

See Also

https://github.com/advisories/GHSA-6gmv-pjp9-p8w8

Plugin Details

Severity: High

ID: 411441

Version: Revision 1.6

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

Percentile: 53.04

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Medium

Base Score: 5.5

Temporal Score: 4.3

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

CVSS Score Source: CVE-2022-21728

CVSS v3

Risk Factor: High

Base Score: 8.1

Temporal Score: 7.3

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

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

CVSS v4

Risk Factor: High

Base Score: 7.2

Threat Score: 5.7

Threat Vector: CVSS:4.0/E:P

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

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2/9/2022

Vulnerability Publication Date: 2/3/2022

Reference Information

CVE: CVE-2022-21728

cwe: CWE-125