Vulnerability record
Addressable: Regular Expression Denial of Service in Addressable templates on MRI Ruby 3.2 and TruffleRuby
Addressable is an alternative implementation to the URI implementation that is part of Ruby's standard library. From 2.9.1 until 2.10.0, Addressable URI template regular expressions containing lookaround assertions can lose regular-expression memoization on MRI Ruby 3.2 and can backtrack on TruffleRuby 40.0. Calling Template#match or Template#extract with a crafted URI against an affected template can consume polynomial CPU time and cause denial of service. The remediation does not cover processor-supplied variable patterns or certain templates that combine exploded or multi-variable…
5.9/CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:HExploitability
AV:NAC:HPR:NUI:NScope
S:UImpact
C:NI:NA:HRemediation
No fixed version has been published for this vulnerability yet. Check the references below for vendor advisories, workarounds and mitigation guidance.
Sources