CVE-2025-6051 (CNNVD-202509-1851)

MEDIUM
中文标题:
Hugging Face Transformers 安全漏洞
英文标题:
Regular Expression Denial of Service (ReDoS) in huggingface/transformers
CVSS分数: 5.3
发布时间: 2025-09-14 17:03:02
漏洞类型: 其他
状态: PUBLISHED
数据质量分数: 0.30
数据版本: v3
漏洞描述
中文描述:

Hugging Face Transformers是Hugging Face开源的为 Jax、PyTorch 和 TensorFlow 打造的先进的自然语言处理。 Hugging Face Transformers 4.52.4及之前版本存在安全漏洞,该漏洞源于EnglishNormalizer类的normalize_numbers方法对数字字符串处理不当,可能导致正则表达式拒绝服务攻击。

英文描述:

A Regular Expression Denial of Service (ReDoS) vulnerability was discovered in the Hugging Face Transformers library, specifically within the `normalize_numbers()` method of the `EnglishNormalizer` class. This vulnerability affects versions up to 4.52.4 and is fixed in version 4.53.0. The issue arises from the method's handling of numeric strings, which can be exploited using crafted input strings containing long sequences of digits, leading to excessive CPU consumption. This vulnerability impacts text-to-speech and number normalization tasks, potentially causing service disruption, resource exhaustion, and API vulnerabilities.

CWE类型:
CWE-1333
标签:
(暂无数据)
受影响产品
厂商 产品 版本 版本范围 平台 CPE
huggingface huggingface/transformers - < 4.53.0 - cpe:2.3:a:huggingface:huggingface_transformers:*:*:*:*:*:*:*:*
huggingface transformers 4.52.4 - - cpe:2.3:a:huggingface:transformers:4.52.4:*:*:*:*:*:*:*
解决方案
中文解决方案:
(暂无数据)
英文解决方案:
(暂无数据)
临时解决方案:
(暂无数据)
参考链接
无标题 OTHER
cve.org
访问
无标题 OTHER
cve.org
访问
CVSS评分详情
3.0 (cna)
MEDIUM
5.3
CVSS向量: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
机密性
NONE
完整性
NONE
可用性
LOW
时间信息
发布时间:
2025-09-14 17:03:02
修改时间:
2025-09-15 15:59:54
创建时间:
2025-11-11 15:40:47
更新时间:
2025-11-11 16:00:10
利用信息
暂无可利用代码信息
数据源详情
数据源 记录ID 版本 提取时间
CVE cve_CVE-2025-6051 2025-11-11 15:23:34 2025-11-11 07:40:47
NVD nvd_CVE-2025-6051 2025-11-11 15:01:02 2025-11-11 07:48:34
CNNVD cnnvd_CNNVD-202509-1851 2025-11-11 15:12:57 2025-11-11 08:00:10
版本与语言
当前版本: v3
主要语言: EN
支持语言:
EN ZH
安全公告
暂无安全公告信息
变更历史
v3 CNNVD
2025-11-11 16:00:10
vulnerability_type: 未提取 → 其他; cnnvd_id: 未提取 → CNNVD-202509-1851; data_sources: ['cve', 'nvd'] → ['cnnvd', 'cve', 'nvd']
查看详细变更
  • vulnerability_type: 未提取 -> 其他
  • cnnvd_id: 未提取 -> CNNVD-202509-1851
  • data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
v2 NVD
2025-11-11 15:48:34
affected_products_count: 1 → 2; data_sources: ['cve'] → ['cve', 'nvd']
查看详细变更
  • affected_products_count: 1 -> 2
  • data_sources: ['cve'] -> ['cve', 'nvd']