Severity |
|
Remote |
|
Type |
- |
Unknown |
+ |
Denial of service |
|
Description |
+ |
An uncontrolled resource consumption vulnerability exists in ruby-addressable after version 2.3.0 and before version 2.8.0. Within the URI template implementation in Addressable, a maliciously crafted template may result in uncontrolled resource consumption, leading to denial of service when matched against a URI. In typical usage, templates would not normally be read from untrusted user input, but nonetheless, no previous security advisory for Addressable has cautioned against doing this. Users of the parsing capabilities in Addressable but not the URI template capabilities are unaffected. |
|
References |
+ |
https://github.com/sporkmonger/addressable/security/advisories/GHSA-jxhc-q857-3j6g |
+ |
https://github.com/sporkmonger/addressable/commit/b48ff03347a6d46e8dc674e242ce74c6381962a5 |
|
Notes |
+ |
Workaround |
+ |
========== |
+ |
|
+ |
As a workaround, only create Template objects from trusted sources that have been validated not to produce catastrophic backtracking. |
|