漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
NLTK 3.10.2 Regular Expression Denial of Service via tgrep
Vulnerability Description
NLTK before 3.10.3 contains a regular expression denial of service (ReDoS) vulnerability in the tgrep module. The _tgrep_node_action function compiles user-supplied regular expressions embedded in /regex/ pattern nodes and executes them via re.search against tree node labels without any validation or timeout. An attacker who controls the tgrep pattern (e.g., via tgrep_positions() or tgrep_compile() exposed to external input) can supply a pattern that triggers catastrophic backtracking, causing indefinite CPU saturation that blocks the Python process.
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Vulnerability Type
CWE-1333
Vulnerability Title
Natural Language Toolkit 资源管理错误漏洞
Vulnerability Description
Natural Language Toolkit是Natural Language Toolkit组织开源的一个自然语言处理工具包。 Natural Language Toolkit 3.10.3之前版本存在资源管理错误漏洞,该漏洞源于tgrep模块中的_tgrep_node_action函数编译用户提供的正则表达式,未经验证或超时即执行,可能导致灾难性回溯,造成CPU饱和和拒绝服务。
CVSS Information
N/A
Vulnerability Type
N/A