SCA: security update for keras (GHSA-28jp-44vh-q42h)

high Tenable Self-Hosted Container Security Plugin ID 435905

Description

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

- The keras.utils.get_file API in Keras, when used with the extract=True option for tar archives, is
vulnerable to a path traversal attack. The utility uses Python's tarfile.extractall function without the
filter="data" feature. A remote attacker can craft a malicious tar archive containing special symlinks,
which, when extracted, allows them to write arbitrary files to any location on the filesystem outside of
the intended destination folder. This vulnerability is linked to the underlying Python tarfile weakness,
identified as CVE-2025-4517. Note that upgrading Python to one of the versions that fix CVE-2025-4517
(e.g. Python 3.13.4) is not enough. One additionally needs to upgrade Keras to a version with the fix
(Keras 3.12). (CVE-2025-12060)

See Also

https://github.com/advisories/GHSA-28jp-44vh-q42h

Plugin Details

Severity: High

ID: 435905

Version: Revision 1.7

Type: Local

Family: SCA Checks

Published: 10/31/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.88

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 4.7

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

CVSS Score Source: CVE-2025-12060

CVSS v3

Risk Factor: Critical

Base Score: 9.1

Temporal Score: 7.9

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

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

CVSS v4

Risk Factor: High

Base Score: 8.9

Threat Score: 5.9

Threat Vector: CVSS:4.0/E:U

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 10/30/2025

Vulnerability Publication Date: 10/30/2025

Reference Information

CVE: CVE-2025-12060

cwe: CWE-22