SCA: security update for tensorflow, tensorflow-cpu, tensorflow-gpu (GHSA-hc2f-7r5r-r2hg)

medium Tenable Cloud Security Plugin ID 415629

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 version 2.8.0, the `TensorKey` hash
function used total estimated `AllocatedBytes()`, which (a) is an estimate per tensor, and (b) is a very
poor hash function for constants (e.g. `int32_t`). It also tried to access individual tensor bytes through
`tensor.data()` of size `AllocatedBytes()`. This led to ASAN failures because the `AllocatedBytes()` is an
estimate of total bytes allocated by a tensor, including any pointed-to constructs (e.g. strings), and
does not refer to contiguous bytes in the `.data()` buffer. The discoverers could not use this byte vector
anyway because types such as `tstring` include pointers, whereas they needed to hash the string values
themselves. This issue is patched in Tensorflow versions 2.9.0 and 2.8.1. (CVE-2022-29210)

See Also

https://github.com/advisories/GHSA-hc2f-7r5r-r2hg

Plugin Details

Severity: Medium

ID: 415629

Version: Revision 1.8

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-2022-29210

CVSS v3

Risk Factor: Medium

Base Score: 5.5

Temporal Score: 4.8

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 5/24/2022

Vulnerability Publication Date: 5/20/2022

Reference Information

CVE: CVE-2022-29210