← 漏洞与更新

中危漏洞公告Ruby

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

受影响

软件包受影响版本修复版本
rubygems:addressable>= 2.9.1, <= 2.9.22.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…

在 GitHub Advisory Database 阅读

2026/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。