CVE-2023-28755: Input Validation
A flaw was found in the rubygem URI. The URI parser mishandles invalid URLs that have specific characters, which causes an increase in execution time parsing strings to URI objects. This may result in a regular expression denial of service (ReDoS).
Other sources
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.
A ReDoS issue was discovered in the URI component. The URI parser mishandles invalid URLs that have specific characters. It causes an increase in execution time for parsing strings to URI objects.
The uri gem version 0.12.0, 0.11.0, 0.10.1, 0.10.0 and all versions prior 0.10.0 are vulnerable for this vulnerability.
— Red Hat
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
redhat/rh-ruby27-rubyto a version that resolves this vulnerability.Fixed in 0:2.7.8-132.el7 - Upgrade
Upgrade
rubygems/urito a version that resolves this vulnerability.Fixed in 0.10.0.1 - Upgrade
Upgrade
rubygems/urito a version that resolves this vulnerability.Fixed in 0.10.2 - Upgrade
Upgrade
rubygems/urito a version that resolves this vulnerability.Fixed in 0.11.1 - Upgrade
Upgrade
rubygems/urito a version that resolves this vulnerability.Fixed in 0.12.1 - Upgrade
Upgrade
debian/jrubyto a version that resolves this vulnerability.Fixed in 9.4.8.0+ds-2 - Upgrade
Upgrade
debian/ruby2.7to a version that resolves this vulnerability.Fixed in 2.7.4-1+deb11u5 - Upgrade
Upgrade
debian/rubygemsto a version that resolves this vulnerability.Fixed in 3.6.7-2 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 0.12.1 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 0.11.1 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 0.10.2 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 0.10.0.1
Event History
Parent advisories
This vulnerability appears in the following advisories.