## Addressable: Regular Expression Denial of Service in Addressable templates on MRI Ruby 3.2 and TruffleRuby

- 種別: advisory
- 重大度: medium
- 関連技術: ruby
- CVE: CVE-2026-141525
- 公開日時: 2026-12-01T23:38:16.000Z
- 情報源: GitHub Advisory Database (https://github.com/advisories/GHSA-jrfq-gw62-2f3j)
- パーマリンク: https://vulnpulse.app/items/ghsa-ghsa-jrfq-gw62-2f3j

影響: 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…