SCA: security update for transformers (GHSA-qq3j-4f4f-9583)

high Tenable Self-Hosted Container Security Plugin ID 427731

Description

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

- A vulnerability in the `preprocess_string()` function of the `transformers.testing_utils` module in
huggingface/transformers version v4.48.3 allows for a Regular Expression Denial of Service (ReDoS) attack.
The regular expression used to process code blocks in docstrings contains nested quantifiers, leading to
exponential backtracking when processing input with a large number of newline characters. An attacker can
exploit this by providing a specially crafted payload, causing high CPU usage and potential application
downtime, effectively resulting in a Denial of Service (DoS) scenario. (CVE-2025-2099)

See Also

https://github.com/advisories/GHSA-qq3j-4f4f-9583

Plugin Details

Severity: High

ID: 427731

Version: Revision 1.10

Type: Local

Family: SCA Checks

Published: 5/20/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.69

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

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: 5/19/2025

Vulnerability Publication Date: 5/19/2025

Reference Information

CVE: CVE-2025-2099