{"id":"CVE-2023-36617","aliases":["CVE-2023-36617","GHSA-hww2-5g85-429m"],"related":[],"kind":"vulnerability","state":"published","title":"URI gem has ReDoS vulnerability","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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`.\n\nNOTE: this issue exists becuse of an incomplete fix for CVE-2023-28755. Version 0.10.3 is also a fixed version.\n\n[The Ruby advisory recommends](https://www.ruby-lang.org/en/news/2023/06/29/redos-in-uri-CVE-2023-36617/) updating the uri gem to 0.12.2. In order to ensure compatibility with the bundled version in older Ruby series, you may update as follows instead:\n- For Ruby 3.0: Update to uri 0.10.3\n- For Ruby 3.1 and 3.2: Update to uri 0.12.2.\n\nYou can use gem update uri to update it. If you are using bundler, please add gem `uri`, `>= 0.12.2` (or other version mentioned above) to your Gemfile.","format":"markdown","source":"ghsa"}],"published":"2023-06-29T00:00:00.000Z","modified":"2026-09-10T03:50:02.339Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-1333"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0.10.1","status":"affected","fixed":"0.10.3"}],"ecosystem":"RubyGems","package":"uri","purl":"pkg:gem/uri","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0.12.0","status":"affected","fixed":"0.12.2"}],"ecosystem":"RubyGems","package":"uri","purl":"pkg:gem/uri","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0.11.0","status":"affected","fixed":"0.11.2"}],"ecosystem":"RubyGems","package":"uri","purl":"pkg:gem/uri","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.10.0.3"}],"ecosystem":"RubyGems","package":"uri","purl":"pkg:gem/uri","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"0.10.3"},{"status":"affected","introduced":"0.11.0","fixed":"0.12.2"}],"vendor":"ruby-lang","product":"uri","cpe":"cpe:2.3:a:ruby-lang:uri:*:*:*:*:*:ruby:*:*","source":"nvd"}],"references":[{"url":"https://www.ruby-lang.org/en/news/2023/06/29/redos-in-uri-CVE-2023-36617/","tags":["mitigation","vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://security.netapp.com/advisory/ntap-20230725-0002/","tags":["x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QA6XUKUY7B5OLNQBLHOT43UW7C5NIOQQ/","tags":["vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/27LUWREIFTP3MQAW7QE4PJM4DPAQJWXF/","tags":["vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/09/msg00000.html","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/27LUWREIFTP3MQAW7QE4PJM4DPAQJWXF/","tags":[],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-36617","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/ruby/uri/commit/05b1e7d026b886e65a60ee35625229da9ec220bb","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/ruby/uri/commit/38bf797c488bcb4a37fb322bfa84977981863ec6","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/ruby/uri/commit/3cd938df20db26c9439e9f681aadfb9bbeb6d1c0","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/ruby/uri/commit/4d02315181d8a485496f1bb107a6ab51d6f3a35f","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/ruby/uri/commit/70794abc162bb15bb934713b5669713d6700d35c","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/ruby/uri/commit/7e33934c91b7f8f3ea7b7a4258b468e19f636bc3","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/ruby/uri/commit/9a8e0cc03da964054c2a4ea26b59c53c3bae4921","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/ruby/uri/commit/ba36c8a3ecad8c16dd3e60a6da9abd768206c8fa","tags":["web"],"sources":["ghsa"]},{"url":"https://www.ruby-lang.org/en/news/2023/06/29/redos-in-uri-CVE-2023-36617","tags":["web"],"sources":["ghsa"]},{"url":"https://security.netapp.com/advisory/ntap-20230725-0002","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/27LUWREIFTP3MQAW7QE4PJM4DPAQJWXF","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QA6XUKUY7B5OLNQBLHOT43UW7C5NIOQQ","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/27LUWREIFTP3MQAW7QE4PJM4DPAQJWXF","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/uri/CVE-2023-36617.yml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/ruby/uri","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-36617","url":"https://www.cve.org/CVERecord?id=CVE-2023-36617","licence":"CVE Terms of Use","modified":"2025-11-04T17:12:36.483Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-hww2-5g85-429m","url":"https://github.com/advisories/GHSA-hww2-5g85-429m","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:02.339Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-36617","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-36617","licence":"Public domain","modified":"2026-06-17T06:06:40.520Z"}],"updatedAt":"2026-11-25T22:58:25.311Z","epss":{"score":0.01698,"percentile":0.77893,"date":"2026-12-02T12:00:21.000Z"}}