SCA: security update for transformers (GHSA-489j-g2vx-39wf)

high Tenable Self-Hosted Container Security Plugin ID 428307

Description

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

- A Regular Expression Denial of Service (ReDoS) vulnerability was discovered in the
huggingface/transformers repository, specifically in version 4.49.0. The vulnerability is due to
inefficient regular expression complexity in the `SETTING_RE` variable within the
`transformers/commands/chat.py` file. The regex contains repetition groups and non-optimized quantifiers,
leading to exponential backtracking when processing 'almost matching' payloads. This can degrade
application performance and potentially result in a denial-of-service (DoS) when handling specially
crafted input strings. The issue is fixed in version 4.51.0. (CVE-2025-3262)

See Also

https://github.com/advisories/GHSA-489j-g2vx-39wf

Plugin Details

Severity: High

ID: 428307

Version: Revision 1.8

Type: Local

Family: SCA Checks

Published: 7/8/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.51

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.1

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

CVSS Score Source: CVE-2025-3262

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.7

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/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: 7/7/2025

Vulnerability Publication Date: 7/7/2025

Reference Information

CVE: CVE-2025-3262