Vulnerabilities · 2023 · Ruby-lang
CVE-2023-36617
Ruby-lang Uri vulnerability
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
Uri. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Ruby-lang Uri runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- www.ruby-lang.org/en/news/2023/06/29/redos-in-uri-CVE-2023-36617/ · Mitigation
- nvd.nist.gov/vuln/detail/CVE-2023-36617
- github.com/ruby/uri/commit/3cd938df20db26c9439e9f681aadfb9bbeb6d1c0
- github.com/ruby/uri/commit/4d02315181d8a485496f1bb107a6ab51d6f3a35f
- github.com/ruby/uri/commit/7e33934c91b7f8f3ea7b7a4258b468e19f636bc3
- github.com/ruby/uri/commit/ba36c8a3ecad8c16dd3e60a6da9abd768206c8fa
- github.com/rubysec/ruby-advisory-db/blob/master/gems/uri/CVE-2023-36617.yml
- github.com/ruby/uri/commit/05b1e7d026b886e65a60ee35625229da9ec220bb
- nvd.nist.gov/vuln/detail/CVE-2023-36617
- cve.org/CVERecord?id=CVE-2023-36617
More vulnerabilities in Ruby-lang products
CVE-2026-46727CVE-2025-58767CVE-2025-43857CVE-2025-27788CVE-2025-27221CVE-2025-27220CVE-2025-27219CVE-2025-6442All 115
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.