جزئیات آسیبپذیری
CVE-2026-116795
RE2JS: Quadratic-time denial of service in re2js lookbehind matching
خلاصهی فارسی
خلاصهی فارسی برای این آسیبپذیری هنوز تهیه نشده است.
شرح رسمی (انگلیسی)
RE2JS is the JavaScript port of RE2, a regular expression engine that provides linear time matching. From 2.2.0 until 2.8.7, enabling LOOKBEHINDS and using repeated matching through matcher().find(), matchAll(), split(), or matcher().replaceAll() can cause quadratic total work. Machine.match restarts lookbehind scanning from offset zero for each requested start position, while Matcher-based APIs request capture slots that prevent the early exit used for captureless matching. Dense matches therefore repeatedly rescan the input, allowing attacker-influenced text to monopolize a single-threaded worker and deny service. This issue is fixed in version 2.8.7.
امتیازهای CVSS
| امتیاز | نسخه | منبع | بردار |
|---|---|---|---|
| 7.5بالا | 3.1 | CVEProject cvelistV5 (CNA) (GitHub_M) | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
محصولات آسیبپذیر
| فروشنده | محصول | نسخهها | منبع |
|---|---|---|---|
| le0pard | re2js | >= 2.2.0, < 2.8.7 | CVEProject cvelistV5 (CNA) |
منابع و راهنماها
۴- https://github.com/le0pard/re2js/pull/59 x_refsource_MISC
- https://github.com/le0pard/re2js/commit/dfdd947785dfa113bdc97416375c246a39458395 x_refsource_MISC
- https://github.com/le0pard/re2js/releases/tag/2.8.7 x_refsource_MISC
- https://github.com/le0pard/re2js/security/advisories/GHSA-gg6h-894w-4m9c x_refsource_CONFIRM
اطلاعات
- تاریخ انتشار
- ۱۴۰۵/۰۸/۰۶
- آخرین بهروزرسانی
- ۱۴۰۵/۰۸/۱۱
- وضعیت
- PUBLISHED
- صادرکننده (CNA)
- GitHub_M
- اولویت کلون
- بهزودی
پیشبینی بهرهبرداری (EPSS)
ارزیابی SSVC (CISA)
- Automatable
- yes
- Exploitation
- poc
- Technical Impact
- partial
ضعفها (CWE)
- CWE-407Inefficient Algorithmic Complexity
- CWE-1333Inefficient Regular Expression Complexity