漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
Regular Expression Denial of Service (ReDoS) in huggingface/transformers
Vulnerability Description
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.
CVSS Information
N/A
Vulnerability Type
CWE-1333
Vulnerability Title
Hugging Face Transformers 安全漏洞
Vulnerability Description
Hugging Face Transformers是Hugging Face开源的为 Jax、PyTorch 和 TensorFlow 打造的先进的自然语言处理。 Hugging Face Transformers 4.49.0版本存在安全漏洞,该漏洞源于transformers/commands/chat.py中SETTING_RE变量的正则表达式复杂性不足,可能导致正则表达式拒绝服务攻击。
CVSS Information
N/A
Vulnerability Type
N/A