目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CWE-1333 类漏洞列表 360

CWE-1333 类弱点 360 条 CVE 漏洞汇总,含 AI 中文分析。

CWE-1333 属于正则表达式复杂度漏洞,指产品使用了最坏情况下计算效率低下甚至呈指数级增长的表达式。攻击者通常通过构造特定的“灾难性回溯”输入,触发正则引擎的无限循环或极高资源消耗,从而实施拒绝服务攻击。开发者应避免使用嵌套量词或重叠子模式,采用非贪婪匹配、原子组或预编译优化,并限制输入长度,以确保正则表达式的执行效率与安全性。

MITRE CWE 官方描述
CWE:CWE-1333 低效的正则表达式复杂度 (Inefficient Regular Expression Complexity) 英文:产品使用的正则表达式在最坏情况下的计算复杂度低效,且可能呈指数级增长。
常见影响 (1)
Availability DoS: Resource Consumption (CPU)
Attackers can create crafted inputs that intentionally cause the regular expression to use excessive backtracking in a way that causes the CPU consumption to spike.
缓解措施 (4)
Architecture and Design Use regular expressions that do not support backtracking, e.g. by removing nested quantifiers.
Effectiveness: High
System Configuration Set backtracking limits in the configuration of the regular expression implementation, such as PHP's pcre.backtrack_limit. Also consider limits on execution time for the process.
Effectiveness: Moderate
Implementation Do not use regular expressions with untrusted input. If regular expressions must be used, avoid using backtracking in the expression.
Effectiveness: High
Implementation Limit the length of the input that the regular expression will process.
Effectiveness: Moderate
代码示例 (2)
This example attempts to check if an input string is a "sentence" [REF-1164].
var test_string = "Bad characters: $@#"; var bad_pattern  = /^(\w+\s?)*$/i; var result = test_string.search(bad_pattern);
Bad · JavaScript
var test_string = "Bad characters: $@#"; var good_pattern  = /^((?=(\w+))\2\s?)*$/i; var result = test_string.search(good_pattern);
Good · JavaScript
This example attempts to check if an input string is a "sentence" and is modified for Perl [REF-1164].
my $test_string = "Bad characters: \$\@\#"; my $bdrslt = $test_string; $bdrslt =~ /^(\w+\s?)*$/i;
Bad · Perl
my $test_string = "Bad characters: \$\@\#"; my $gdrslt = $test_string; $gdrslt =~ /^((?=(\w+))\2\s?)*$/i;
Good · Perl
CVE ID 标题 CVSS 风险等级 Published
CVE-2025-2099 transformers 安全漏洞 — huggingface/transformers 7.5 - 2025-05-19
CVE-2025-4727 Meteor 安全漏洞 — Meteor 3.7 Low 2025-05-15
CVE-2025-24026 iTop 安全漏洞 — iTop 5.3 Medium 2025-05-14
CVE-2025-4215 uBlock Origin 安全漏洞 — uBlock Origin 3.1 Low 2025-05-02
CVE-2025-46560 vLLM 安全漏洞 — vllm 6.5 Medium 2025-04-30
CVE-2025-1194 transformers 安全漏洞 — huggingface/transformers 7.5AI High AI 2025-04-29
CVE-2025-3986 Apereo CAS 安全漏洞 — CAS 4.3 Medium 2025-04-27
CVE-2025-3985 Apereo CAS 安全漏洞 — CAS 2.7 Low 2025-04-27
CVE-2025-2811 GL.iNet多款产品 安全漏洞 — GL-A1300 Slate Plus 5.7 Medium 2025-04-26
CVE-2025-2833 OneBlog 安全漏洞 — OneBlog 5.3 Medium 2025-03-27
CVE-2024-10549 H2O 资源管理错误漏洞 — h2oai/h2o-3 7.5 - 2025-03-20
CVE-2024-12720 Hugging Face Transformers 安全漏洞 — huggingface/transformers 7.5 - 2025-03-20
CVE-2024-8998 Lunary 安全漏洞 — lunary-ai/lunary 7.5 - 2025-03-20
CVE-2024-10955 ChuanhuChatGPT 资源管理错误漏洞 — gaizhenbiao/chuanhuchatgpt 7.5 - 2025-03-20
CVE-2024-10624 Gradio 资源管理错误漏洞 — gradio-app/gradio 7.5 - 2025-03-20
CVE-2024-12391 GPT Academic 安全漏洞 — binary-husky/gpt_academic 7.5 - 2025-03-20
CVE-2024-8789 Lunary 资源管理错误漏洞 — lunary-ai/lunary 7.5 - 2025-03-20
CVE-2024-10550 H2O 安全漏洞 — h2oai/h2o-3 7.5 - 2025-03-20
CVE-2024-12388 GPT Academic 安全漏洞 — binary-husky/gpt_academic 7.5 - 2025-03-20
CVE-2024-8764 Lunary 授权问题漏洞 — lunary-ai/lunary 7.5 - 2025-03-20
CVE-2024-8763 Lunary 资源管理错误漏洞 — lunary-ai/lunary 7.5 - 2025-03-20
CVE-2024-7779 Danswer 资源管理错误漏洞 — danswer-ai/danswer 7.5 - 2025-03-20
CVE-2025-27789 Babel 安全漏洞 — babel 6.2 Medium 2025-03-11
CVE-2025-27220 Ruby 安全漏洞 — CGI 4.0 Medium 2025-03-03
CVE-2024-54170 IBM EntireX 安全漏洞 — EntireX 5.5 Medium 2025-02-27
CVE-2025-25290 Octokit 安全漏洞 — request.js 5.3 Medium 2025-02-14
CVE-2025-25289 Octokit 安全漏洞 — request-error.js 5.3 Medium 2025-02-14
CVE-2025-25288 Octokit 安全漏洞 — plugin-paginate-rest.js 5.3 Medium 2025-02-14
CVE-2025-25285 Octokit 安全漏洞 — endpoint.js 5.3 Medium 2025-02-14
CVE-2025-25283 parse-duration 安全漏洞 — parse-duration 7.5 High 2025-02-12

CWE-1333 是常见的弱点类别,本平台收录该类弱点关联的 360 条 CVE 漏洞。