brace-expansion 库会生成包含公共前缀和后缀的任意字符串。在版本 1.1.19、2.1.5、3.0.7 和 5.0.10 之前,精心构造的花括号表达式(brace patterns)可能导致 native 栈溢出。原因是 函数会对每个花括号组递归处理剩余部分,并使用 将一个非常大的逗号分隔数组(comma-part array)的所有元素作为函数参数传递。当表达式中包含大量用逗号分隔的花括号组时,会触发递归路径;而该数组过大时,会触发参数数组路径,且无需深层递归即可发生。这些路径会在 或 限制输出之前
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
| Vendor | Product | Affected Versions | CPE | Subscribe |
|---|---|---|---|---|
| juliangruber | brace-expansion | >= 4.0.0, < 5.0.10 | - |
|
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POC| CVE-2026-102278 | 7.5 HIGH | brace-expansion: DoS via uncontrolled recursion on nested brace groups causing stack exhau |
| CVE-2026-102277 | 5.3 MEDIUM | brace-expansion: Quadratic-time expansion of the `{a},b}` rewrite causes CPU denial of ser |
No comments yet