Addressable::Template builds its regexp in quadratic time for patterns with non-ASCII characters
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| sporkmonger | addressable | affected |
|
No data.
No data.
No data available yet.
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
No EPSS score available.
Key SSVC decision points have not yet been added.
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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. | |
| Title | Addressable::Template builds its regexp in quadratic time for patterns with non-ASCII characters | |
| Weaknesses | CWE-407 | |
| References |
| |
| Metrics |
cvssV3_1
|