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
| Product | Affected versions | Fixed 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
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com patch
- github.com patch
- github.com patch
- github.com patch
- github.com patch
- github.com patch
- github.com patch
- www.ruby-lang.org mitigation vendor-advisory
- security.netapp.com
- lists.fedoraproject.org
- FEDORA-2024-31cac8b8ec vendor-advisory
- FEDORA-2024-48bdd3abbf vendor-advisory
- lists.debian.org
- github.com exploit
- github.com product
- Debian Security Tracker CVE-2023-36617 vendor-advisory
- github.com
- Ubuntu CVE tracker vendor-advisory
- USN-6219-1 vendor-advisory
- USN-7747-1 vendor-advisory
- www.cve.org