A ReDoS issue was discovered in the URI component before 0.12.2 for Ruby. The URI parser mishandles invalid URLs that have specific characters. There is an increase in execution time for parsing strings to URI objects with rfc2396_parser.rb and rfc3986_parser.rb. NOTE: this issue exists becuse of an incomplete fix for CVE-2023-28755. Version 0.10.3 is also a fixed version.
The product uses a regular expression with a worst-case computational complexity that is inefficient and possibly exponential.
| Name | Vendor | Start Version | End Version |
|---|---|---|---|
| Uri | Ruby-lang | * | 0.10.3 (excluding) |
| Uri | Ruby-lang | 0.11.0 (including) | 0.12.2 (excluding) |
| Red Hat Enterprise Linux 8 | RedHat | ruby:3.1-8090020240311122605.a75119d5 | * |
| Red Hat Enterprise Linux 8 | RedHat | ruby:2.5-8100020240627152904.489197e6 | * |
| Red Hat Enterprise Linux 9 | RedHat | ruby:3.1-9030020240320163942.9 | * |
| Jruby | Ubuntu | bionic | * |
| Jruby | Ubuntu | esm-apps/xenial | * |
| Jruby | Ubuntu | focal | * |
| Jruby | Ubuntu | lunar | * |
| Jruby | Ubuntu | mantic | * |
| Jruby | Ubuntu | oracular | * |
| Jruby | Ubuntu | plucky | * |
| Jruby | Ubuntu | trusty | * |
| Jruby | Ubuntu | trusty/esm | * |
| Jruby | Ubuntu | xenial | * |
| Ruby1.9.1 | Ubuntu | trusty | * |
| Ruby2.0 | Ubuntu | trusty | * |
| Ruby2.3 | Ubuntu | esm-infra-legacy/xenial | * |
| Ruby2.3 | Ubuntu | esm-infra/xenial | * |
| Ruby2.3 | Ubuntu | xenial | * |
| Ruby2.5 | Ubuntu | bionic | * |
| Ruby2.5 | Ubuntu | esm-infra/bionic | * |
| Ruby2.7 | Ubuntu | esm-infra/focal | * |
| Ruby2.7 | Ubuntu | focal | * |
| Ruby3.0 | Ubuntu | jammy | * |
| Ruby3.0 | Ubuntu | kinetic | * |
| Ruby3.1 | Ubuntu | kinetic | * |
| Ruby3.1 | Ubuntu | lunar | * |
| Ruby3.1 | Ubuntu | mantic | * |
| Rubygems | Ubuntu | bionic | * |
| Rubygems | Ubuntu | jammy | * |
| Rubygems | Ubuntu | kinetic | * |
| Rubygems | Ubuntu | lunar | * |
| Rubygems | Ubuntu | mantic | * |
| Rubygems | Ubuntu | trusty | * |
| Rubygems | Ubuntu | xenial | * |