Vulnerability record
Addressable::Template builds its regexp in quadratic time for patterns with non-ASCII characters
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::Template builds its cached regular expression in quadratic time when an untrusted template pattern contains non-ASCII text or a long run of adjacent expressions. Operations that compile or inspect such templates, including match, extract, to_regexp, variables, variable_defaults, and freeze, can consume excessive CPU and cause denial of service. This issue is fixed in version 2.10.0.
3.7/CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:LExploitability
AV:NAC:HPR:NUI:NScope
S:UImpact
C:NI:NA:LRemediation
No fixed version has been published for this vulnerability yet. Check the references below for vendor advisories, workarounds and mitigation guidance.
Sources