Skip to content

CVE-2023-36617 URI gem has ReDoS vulnerability

MediumCVSS 5.3 EPSS 1.7% PoC
Published
Updated
Exploit status
Proof-of-concept only

Description

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.

Affected products

ProductAffected versionsFixed in
rubygems uri(RubyGems) >= 0.10.1, < 0.10.3 0.10.3
rubygems uri(RubyGems) = 0.10.1 No fix listed
rubygems uri(RubyGems) = 0.10.2 No fix listed
rubygems uri(RubyGems) >= 0.12.0, < 0.12.2 0.12.2
rubygems uri(RubyGems) = 0.12.0 No fix listed
rubygems uri(RubyGems) = 0.12.1 No fix listed
rubygems uri(RubyGems) >= 0.11.0, < 0.11.2 0.11.2
rubygems uri(RubyGems) = 0.11.0 No fix listed
rubygems uri(RubyGems) = 0.11.1 No fix listed
rubygems uri(RubyGems) < 0.10.0.3 0.10.0.3
rubygems uri(RubyGems) = 0.10.0 No fix listed
rubygems uri(RubyGems) = 0.10.0.1 No fix listed
rubygems uri(RubyGems) = 0.10.0.2 No fix listed
debian/ruby2.7(Debian:11) < 2.7.4-1+deb11u2 2.7.4-1+deb11u2
debian/ruby2.7(Debian:11) = 2.7.4-1 No fix listed
debian/ruby2.7(Debian:11) = 2.7.4-1+deb11u1 No fix listed
ubuntu/ruby3.0(Ubuntu:22.04) < 3.0.2-7ubuntu2.4 3.0.2-7ubuntu2.4
ubuntu/rubygems(Ubuntu:22.04) < 3.3.5-2ubuntu1.2 3.3.5-2ubuntu1.2
ruby-lang URI < 0.10.3 0.10.3
ruby-lang URI >= 0.11.0, < 0.12.2 0.12.2
ubuntu/jruby(Ubuntu:24.04) All versions No fix listed
ubuntu/jruby(Ubuntu:26.04) All versions No fix listed
ubuntu/jruby(Ubuntu:26.10) All versions No fix listed

References