# CVE-2023-36617: URI gem has ReDoS vulnerability

- Severity: Medium 5.3 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.70%, higher than 77% of CVEs (2026-12-02)
- Published: 2023-06-29T00:00:00.000Z
- Modified: 2026-09-10T03:50:02.339Z
- Also known as: GHSA-hww2-5g85-429m
- Weaknesses: CWE-1333
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- uri (RubyGems): from 0.10.1 before 0.10.3; from 0.12.0 before 0.12.2; from 0.11.0 before 0.11.2; before 0.10.0.3
- ruby-lang uri: before 0.10.3; from 0.11.0 before 0.12.2

## Every score

- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`

## References

- <https://www.ruby-lang.org/en/news/2023/06/29/redos-in-uri-CVE-2023-36617/> (mitigation, vendor-advisory)
- <https://security.netapp.com/advisory/ntap-20230725-0002/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QA6XUKUY7B5OLNQBLHOT43UW7C5NIOQQ/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/27LUWREIFTP3MQAW7QE4PJM4DPAQJWXF/> (vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2024/09/msg00000.html> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/27LUWREIFTP3MQAW7QE4PJM4DPAQJWXF/>
- <https://nvd.nist.gov/vuln/detail/CVE-2023-36617> (advisory)
- <https://github.com/ruby/uri/commit/05b1e7d026b886e65a60ee35625229da9ec220bb> (web)
- <https://github.com/ruby/uri/commit/38bf797c488bcb4a37fb322bfa84977981863ec6> (web)
- <https://github.com/ruby/uri/commit/3cd938df20db26c9439e9f681aadfb9bbeb6d1c0> (web)
- <https://github.com/ruby/uri/commit/4d02315181d8a485496f1bb107a6ab51d6f3a35f> (web)
- <https://github.com/ruby/uri/commit/70794abc162bb15bb934713b5669713d6700d35c> (web)
- <https://github.com/ruby/uri/commit/7e33934c91b7f8f3ea7b7a4258b468e19f636bc3> (web)
- <https://github.com/ruby/uri/commit/9a8e0cc03da964054c2a4ea26b59c53c3bae4921> (web)
- <https://github.com/ruby/uri/commit/ba36c8a3ecad8c16dd3e60a6da9abd768206c8fa> (web)
- <https://www.ruby-lang.org/en/news/2023/06/29/redos-in-uri-CVE-2023-36617> (web)
- <https://security.netapp.com/advisory/ntap-20230725-0002> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/27LUWREIFTP3MQAW7QE4PJM4DPAQJWXF> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QA6XUKUY7B5OLNQBLHOT43UW7C5NIOQQ> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/27LUWREIFTP3MQAW7QE4PJM4DPAQJWXF> (web)
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/uri/CVE-2023-36617.yml> (web)
- <https://github.com/ruby/uri> (package)

## Sources

- CVE List: [CVE-2023-36617](https://www.cve.org/CVERecord?id=CVE-2023-36617), CVE Terms of Use, modified 2025-11-04
- GitHub Advisory Database: [GHSA-hww2-5g85-429m](https://github.com/advisories/GHSA-hww2-5g85-429m), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2023-36617](https://nvd.nist.gov/vuln/detail/CVE-2023-36617), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-36617 · Whole record: https://cve.day/CVE-2023-36617.json · Rebuilt by cve.day 2026-11-25T22:58:25.311Z
