SCA: security update for transformers (GHSA-37q5-v5qm-c9v8)

critical Tenable Self-Hosted Container Security Plugin ID 409378

Description

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

- The huggingface/transformers library is vulnerable to arbitrary code execution through deserialization of
untrusted data within the `load_repo_checkpoint()` function of the `TFPreTrainedModel()` class. Attackers
can execute arbitrary code and commands by crafting a malicious serialized payload, exploiting the use of
`pickle.load()` on data from potentially untrusted sources. This vulnerability allows for remote code
execution (RCE) by deceiving victims into loading a seemingly harmless checkpoint during a normal training
process, thereby enabling attackers to execute arbitrary code on the targeted machine. (CVE-2024-3568)

See Also

https://github.com/advisories/GHSA-37q5-v5qm-c9v8

Plugin Details

Severity: Critical

ID: 409378

Version: Revision 1.6

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 6/1/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: High

Score: 7.3

Vendor

Vendor Severity: Low

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.8

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

CVSS Score Source: CVE-2024-3568

CVSS v3

Risk Factor: Critical

Base Score: 9.6

Temporal Score: 8.6

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

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

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 4/10/2024

Vulnerability Publication Date: 4/10/2024

Reference Information

CVE: CVE-2024-3568

cwe: CWE-502