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

目标: 1000 元 · 已筹: 1336

100%

CWE-1333 类漏洞列表 294

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

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

MITRE CWE 官方描述
CWE:CWE-1333 低效的正则表达式复杂度 (Inefficient Regular Expression Complexity) 英文:产品使用的正则表达式在最坏情况下的计算复杂度低效,且可能呈指数级增长。
常见影响 (1)
AvailabilityDoS: 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 DesignUse regular expressions that do not support backtracking, e.g. by removing nested quantifiers.
Effectiveness: High
System ConfigurationSet 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
ImplementationDo not use regular expressions with untrusted input. If regular expressions must be used, avoid using backtracking in the expression.
Effectiveness: High
ImplementationLimit 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-67422 pymdown-extensions 正则拒绝服务漏洞 — pymdown-extensions 7.5 High2026-08-06
CVE-2026-68749 html_sanitize_ex CSS 清理器二次正则回溯导致 CPU 耗尽 — html_sanitize_ex 8.2 High2026-08-06
CVE-2026-71190 OpenStack Swift 资源管理错误漏洞 — Swift 8.7 High2026-08-05
CVE-2026-70493 Open WebUI 资源管理错误漏洞 — open-webui 6.5 Medium2026-08-04
CVE-2026-23985 Apache Superset 资源管理错误漏洞 — Apache Superset 5.3 Medium2026-07-30
CVE-2026-60075 SBECK Date::Manip 资源管理错误漏洞 — Date::Manip--2026-07-30
CVE-2026-16270 Open Mercato 资源管理错误漏洞 — Open Mercato--2026-07-22
CVE-2026-49485 hapifhir org.hl7.fhir.core 资源管理错误漏洞 — org.hl7.fhir.core 7.5 High2026-07-17
CVE-2026-52746 jsonata-js jsonata 资源管理错误漏洞 — jsonata 7.5 High2026-07-17
CVE-2026-14741 OALDERS HTTP::Date 资源管理错误漏洞 — HTTP::Date--2026-07-17
CVE-2026-62237 getgrav Grav 资源管理错误漏洞 — grav 6.5 Medium2026-07-17
CVE-2026-45367 hapifhir org.hl7.fhir.core 资源管理错误漏洞 — org.hl7.fhir.core 7.5 High2026-07-16
CVE-2026-48801 Markdown it linkify-it 资源管理错误漏洞 — linkify-it--2026-07-14
CVE-2026-45305 Symfony 资源管理错误漏洞 — symfony--2026-07-14
CVE-2026-6850 Mattermost 资源管理错误漏洞 — Mattermost 6.5 Medium2026-07-13
CVE-2026-57584 Phalcon 资源管理错误漏洞 — cphalcon--2026-07-10
CVE-2026-59220 Open WebUI 资源管理错误漏洞 — open-webui 6.5 Medium2026-07-09
CVE-2026-55470 HAPI FHIR 资源管理错误漏洞 — org.hl7.fhir.core 7.5 High2026-07-08
CVE-2026-15154 Guardrails AI 资源管理错误漏洞 — Red Hat OpenShift AI (RHOAI) 6.5 Medium2026-07-08
CVE-2026-14895 BAKERSCOT String-Util 资源管理错误漏洞 — String::Util--2026-07-07
CVE-2026-55574 vLLM 资源管理错误漏洞 — vllm--2026-07-06
CVE-2026-58578 LobeHub 资源管理错误漏洞 — lobehub 6.5 Medium2026-07-02
CVE-2026-52794 Sentry 资源管理错误漏洞 — sentry 7.5 High2026-06-24
CVE-2025-71379 vLLM 资源管理错误漏洞 — vllm 4.3 Medium2026-06-20
CVE-2026-45617 Yang Jun liquidjs 资源管理错误漏洞 — liquidjs 7.5 High2026-06-17
CVE-2026-47138 Parse Platform Parse Server 资源管理错误漏洞 — parse-server--2026-06-12
CVE-2026-42567 Svelte 安全漏洞 — svelte--2026-06-09
CVE-2026-41848 VMware Spring Framework 安全漏洞 — Spring Framework 3.7 Low2026-06-09
CVE-2026-11478 tiny-regex-c 资源管理错误漏洞 — tiny-regex-c 3.3 Low2026-06-08
CVE-2026-45409 Internationalized Domain Names in Applications 安全漏洞 — idna--2026-06-05

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