SCA: security update for transformers (GHSA-6rvg-6v2m-4j46)

high Tenable Self-Hosted Container Security Plugin ID 421184

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 identified in the
huggingface/transformers library, specifically in the file tokenization_nougat_fast.py. The vulnerability
occurs in the post_process_single() function, where a regular expression processes specially crafted
input. The issue stems from the regex exhibiting exponential time complexity under certain conditions,
leading to excessive backtracking. This can result in significantly high CPU usage and potential
application downtime, effectively creating a Denial of Service (DoS) scenario. The affected version is
v4.46.3 (latest). (CVE-2024-12720)

See Also

https://github.com/advisories/GHSA-6rvg-6v2m-4j46

Plugin Details

Severity: High

ID: 421184

Version: Revision 1.10

Type: Local

Family: SCA Checks

Published: 3/21/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: 5.8

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

CVSS Score Source: CVE-2024-12720

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

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:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 3/20/2025

Vulnerability Publication Date: 3/20/2025

Reference Information

CVE: CVE-2024-12720