RE2JS 是 RE2(一款提供线性时间匹配的正则表达式引擎)的 JavaScript 移植版本。在 2.2.0 至 2.8.7 版本中,若启用向后查找(LOOKBEHINDS)功能,并通过 、 、 或 等接口执行重复匹配,可能导致总体计算量呈二次方增长。具体而言, 方法会在每次请求新的起始位置时,从偏移量零开始重新执行向后查找扫描;而基于 的 API 则会请求捕获槽(capture slots),从而阻止了原本在无捕获匹配中可用的提前退出机制。因此,在存在密集匹配的情况下,输入内容会被反复重新扫描,使得攻击者可操
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.
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POC