A ReDoS issue was discovered in the URI component through 0.12.0 in Ruby through 3.2.1. The URI parser mishandles invalid URLs that have specific characters. It causes an increase in execution time for parsing strings to URI objects. The fixed versions are 0.12.1, 0.11.1, 0.10.2 and 0.10.0.1.
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.0 (including) |
| Uri | Ruby-lang | 0.10.1 (including) | 0.10.1 (including) |
| Uri | Ruby-lang | 0.11.0 (including) | 0.11.0 (including) |
| Uri | Ruby-lang | 0.12.0 (including) | 0.12.0 (including) |
| Red Hat Enterprise Linux 8 | RedHat | ruby:2.7-8080020230427102918.63b34585 | * |
| Red Hat Enterprise Linux 8 | RedHat | ruby:2.5-8090020230627084142.b46abd14 | * |
| Red Hat Enterprise Linux 8 | RedHat | ruby:3.1-8090020240311122605.a75119d5 | * |
| Red Hat Enterprise Linux 8 | RedHat | ruby:3.0-8100020240522072634.489197e6 | * |
| Red Hat Enterprise Linux 9 | RedHat | ruby:3.1-9030020240320163942.9 | * |
| Red Hat Enterprise Linux 9 | RedHat | ruby-0:3.0.7-162.el9_4 | * |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | RedHat | rh-ruby27-ruby-0:2.7.8-132.el7 | * |
| Jruby | Ubuntu | bionic | * |
| Jruby | Ubuntu | esm-apps-legacy/xenial | * |
| Jruby | Ubuntu | esm-apps/bionic | * |
| Jruby | Ubuntu | esm-apps/focal | * |
| 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 | 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.5 | Ubuntu | trusty | * |
| Ruby2.5 | Ubuntu | xenial | * |
| Ruby2.7 | Ubuntu | esm-infra/focal | * |
| Ruby2.7 | Ubuntu | focal | * |
| Ruby2.7 | Ubuntu | trusty | * |
| Ruby2.7 | Ubuntu | xenial | * |
| Ruby3.0 | Ubuntu | jammy | * |
| Ruby3.0 | Ubuntu | kinetic | * |
| Ruby3.1 | Ubuntu | kinetic | * |
| Ruby3.1 | Ubuntu | lunar | * |
| Ruby3.1 | Ubuntu | mantic | * |
| Ruby3.1 | Ubuntu | trusty | * |
| Ruby3.1 | Ubuntu | xenial | * |
| Rubygems | Ubuntu | jammy | * |
| Rubygems | Ubuntu | kinetic | * |
| Rubygems | Ubuntu | lunar | * |
| Rubygems | Ubuntu | mantic | * |
| Rubygems | Ubuntu | trusty | * |
| Rubygems | Ubuntu | upstream | * |
| Rubygems | Ubuntu | xenial | * |