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

目标: 1000 元 · 已筹: 1359 元

100%

CWE-1333 类漏洞列表 380

CWE-1333 类弱点 380 条 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-2026-120645 Perl CGI 5.00 前版本拒绝服务漏洞 - - 2026-11-03
CVE-2026-120632 Perl CGI 5.00 之前版本拒绝服务漏洞 - - 2026-11-03
CVE-2026-120631 CGI::Cookie 4.67-5.00 拒绝服务漏洞 - - 2026-11-03
CVE-2026-121577 whatstk 未转义头部分隔符导致正则回溯漏洞 — whatstk 6.7 Medium 2026-11-03
CVE-2026-120217 Loguru 0.5.0 远程拒绝服务漏洞 — loguru 4.3 Medium 2026-11-01
CVE-2026-62864 Ring 嵌套参数中间件正则表达式复杂性漏洞 — ring 7.5 High 2026-10-30
CVE-2026-119300 Wekan 正则表达式拒绝服务漏洞 — wekan 6.5 Medium 2026-10-30
CVE-2026-118993 CallBackery 0.62.0 之前版本拒绝服务漏洞 - - 2026-10-30
CVE-2026-115866 Starlet 0.20 至 0.32 拒绝服务漏洞 - - 2026-10-30
CVE-2026-119202 @hapi/content Content-Disposition 参数解析拒绝服务漏洞 — content 7.5 High 2026-10-29
CVE-2026-118772 Joi 邮箱验证拒绝服务漏洞 — joi 7.5 High 2026-10-29
CVE-2026-118686 EspoCRM 9.3.11/10.0.8 未认证拒绝服务漏洞 — espocrm 7.5 High 2026-10-28
CVE-2026-118646 n8n 1.123.85 前版本文件节点正则拒绝服务漏洞 — n8n 6.5 Medium 2026-10-28
CVE-2026-118259 OpenTelemetry Java W3C tracestate 解析二次 CPU 消耗漏洞 — opentelemetry-java 5.3 Medium 2026-10-28
CVE-2026-116268 Perl MIME::Field::ParamVal 5.521 前资源耗尽漏洞 - - 2026-10-28
CVE-2026-117500 Perl HTTP::Body 1.24_01 前多部分上传拒绝服务漏洞 - - 2026-10-28
CVE-2026-116285 HTTP::Body 1.23_01 之前版本拒绝服务漏洞 - - 2026-10-28
CVE-2026-116693 dd-trace URL 查询字符串混淆 ReDoS 漏洞 — dd-trace-js 8.7 High 2026-10-27
CVE-2026-116588 Datadog dd-trace-py 正则拒绝服务漏洞 — dd-trace-py 8.7 High 2026-10-26
CVE-2026-115822 Starman 0.4019 前版本拒绝服务漏洞 - - 2026-10-25
CVE-2026-115887 graphql-scalars 远程拒绝服务漏洞 — graphql-scalars 7.5 High 2026-10-23
CVE-2026-115728 @hapi/content 6.0.1-6.0.3 参数解析 ReDoS 漏洞 — @hapi/content 7.5 High 2026-10-23
CVE-2026-115508 Crawl4AI 0.7.0 至 0.9.5 远程正则表达式拒绝服务漏洞 — crawl4ai 6.5 Medium 2026-10-22
CVE-2026-115349 Mistune 3.0.0-3.3.0 嵌套括号解析拒绝服务漏洞 — mistune 7.5 High 2026-10-22
CVE-2026-112901 Pillow XbmImagePlugin 正则拒绝服务漏洞 — Pillow 6.9 Medium 2026-10-19
CVE-2026-112300 DiffSK configobj 远程拒绝服务漏洞 — configobj 5.3 Medium 2026-10-19
CVE-2026-112366 Picomatch 4.0.7 正则表达式拒绝服务漏洞 — picomatch 7.5 High 2026-10-19
CVE-2026-111997 ip-address 10.7.4 前版本存在拒绝服务漏洞 — ip-address 6.3 Medium 2026-10-18
CVE-2026-59966 Tandoor Recipes 用户正则表达式 ReDoS 漏洞 — recipes 5.7 Medium 2026-10-16
CVE-2026-111714 tarteaucitron.js 1.37.0 前 cookie.purge 拒绝服务漏洞 — tarteaucitron.js 3.1 Low 2026-10-16

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