Addressable: Regular Expression Denial of Service in Addressable templates on MRI Ruby 3.2 and TruffleRuby
受影响
| 软件包 | 受影响版本 | 修复版本 |
|---|---|---|
| rubygems:addressable | >= 2.9.1, <= 2.9.2 | 2.10.0 |
Addressable 2.9.1 changed the regular expressions generated for URI templates to fix GHSA-9f42-57jx-vpp3 and GHSA-4w5q-wg7v-w6gp. The new regular expressions contain lookaround assertions for some expressions, such as {a}{b}, {a,b}, {/a,b}, {?a,b} and expressions with an exploded variable followed by unexploded ones. MRI Ruby 3.2 doesn't memoize a regular expression that contains a lookaround, and memoization is decided for the whole template's regular expression, so one such expression makes t…
在 X 上接收快讯漏洞利用、重大泄露和故障,附应对措施。
关注 @vulnpulse_app2026/12/02 08:38,GitHub Advisory Database 发布了“Addressable: Regular Expression Denial of Service in Addressable templates on MRI Ruby 3.2 and TruffleRuby”(类型:漏洞公告)。严重程度为“中危”(medium)。相关技术:Ruby。CVE:CVE-2026-141525。