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.
https://github.com/sporkmonger/addressable/security/advisories/GHSA-h78h-gj97-g737
https://github.com/sporkmonger/addressable/releases/tag/addressable-2.10.0
https://github.com/sporkmonger/addressable/commit/ebe911f8623bcc664d2e6df079c96c325ad181c8