SCA: security update for tensorflow, tensorflow-cpu, tensorflow-gpu (GHSA-wf5p-c75w-w3wh)

high Tenable Cloud Security Plugin ID 419884

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. In affected versions an attacker
can craft a TFLite model that would trigger a null pointer dereference, which would result in a crash and
denial of service. This is caused by the MLIR optimization of `L2NormalizeReduceAxis` operator. The [imple
mentation](https://github.com/tensorflow/tensorflow/blob/149562d49faa709ea80df1d99fc41d005b81082a/tensorfl
ow/compiler/mlir/lite/transforms/optimize.cc#L67-L70) unconditionally dereferences a pointer to an
iterator to a vector without checking that the vector has elements. We have patched the issue in GitHub
commit d6b57f461b39fd1aa8c1b870f1b974aac3554955. The fix will be included in TensorFlow 2.6.0. We will
also cherrypick this commit on TensorFlow 2.5.1, TensorFlow 2.4.3, and TensorFlow 2.3.4, as these are also
affected and still in supported range. (CVE-2021-37689)

See Also

https://github.com/advisories/GHSA-wf5p-c75w-w3wh

Plugin Details

Severity: High

ID: 419884

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

Score: 3

Percentile: 23.18

Vendor

Vendor Severity: High

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-2021-37689

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

CVSS v4

Risk Factor: High

Base Score: 8.5

Threat Score: 5.9

Threat Vector: CVSS:4.0/E:U

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 8/25/2021

Vulnerability Publication Date: 8/12/2021

Reference Information

CVE: CVE-2021-37689

cwe: CWE-476