SCA: security update for tensorflow, tensorflow-cpu, tensorflow-gpu (GHSA-9xh4-23q4-v6wr)

low Tenable Cloud Security Plugin ID 413559

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. The implementation of
`tf.raw_ops.FusedBatchNorm` is vulnerable to a heap buffer overflow. If the tensors are empty, the same
implementation can trigger undefined behavior by dereferencing null pointers. The implementation(https://g
ithub.com/tensorflow/tensorflow/blob/57d86e0db5d1365f19adcce848dfc1bf89fdd4c7/tensorflow/core/kernels/fuse
d_batch_norm_op.cc) fails to validate that `scale`, `offset`, `mean` and `variance` (the last two only
when required) all have the same number of elements as the number of channels of `x`. This results in heap
out of bounds reads when the buffers backing these tensors are indexed past their boundary. If the tensors
are empty, the validation mentioned in the above paragraph would also trigger and prevent the undefined
behavior. 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-29583)

See Also

https://github.com/advisories/GHSA-9xh4-23q4-v6wr

Plugin Details

Severity: Low

ID: 413559

Version: Revision 1.5

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

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

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

Base Score: 2

Threat Score: 1.1

Threat Vector: CVSS:4.0/E:P

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

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 5/21/2021

Vulnerability Publication Date: 5/14/2021

Reference Information

CVE: CVE-2021-29583