Home / Ruby-lang / Uri / CVE-2023-36617
CVE-2023-36617: is it exploited, and which versions of Ruby-lang Uri are affected and fixed?
CVE-2023-36617 is a regular expression denial of service (ReDoS) vulnerability in Ruby-lang Uri. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 10:38 UTC). Affected: uri from 0.10.1 before 0.10.3, uri from 0.12.0 before 0.12.2, uri from 0.11.0 before 0.11.2 and 1 more (GitHub advisory GHSA-hww2-5g85-429m). Fixed in 0.10.3, 0.12.2, 0.11.2 and 0.10.0.3 (GitHub advisory GHSA-hww2-5g85-429m). Severity: Medium (5.3, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:38 UTC, CVE record November 19, 2026, 07:12 UTC and NVD November 19, 2026, 07:38 UTC.
What is CVE-2023-36617?
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.
From the CVE record by mitre, last updated November 4, 2025, 17:12 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| RubyGems | uri | >= 0.10.1, < 0.10.3 | 0.10.3 | GHSA-hww2-5g85-429m |
| RubyGems | uri | >= 0.12.0, < 0.12.2 | 0.12.2 | GHSA-hww2-5g85-429m |
| RubyGems | uri | >= 0.11.0, < 0.11.2 | 0.11.2 | GHSA-hww2-5g85-429m |
| RubyGems | uri | < 0.10.0.3 | 0.10.0.3 | GHSA-hww2-5g85-429m |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated November 4, 2025. Summary: URI gem has ReDoS vulnerability.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| ruby-lang | uri | before 0.10.3 | application |
| ruby-lang | uri | from 0.11.0 before 0.12.2 | application |
NVD analysis (status Modified), last modified June 17, 2026, 06:06 UTC.
How severe is CVE-2023-36617?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2023-36617 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 1.70% probability of exploitation activity in the next 30 days, percentile 77.9 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-1333 Inefficient Regular Expression Complexity
Where are the vendor advisories and references?
- https://www.ruby-lang.org/en/news/2023/06/29/redos-in-uri-CVE-2023-36617/
- https://security.netapp.com/advisory/ntap-20230725-0002/
- FEDORA-2024-31cac8b8ec vendor-advisory
- FEDORA-2024-48bdd3abbf vendor-advisory
- https://lists.debian.org/debian-lts-announce/2024/09/msg00000.html
- https://lists.fedoraproject.org/archives/list/[email protected]/message/27LUWREIFTP3MQAW7QE4PJM4DPAQJWXF/
When was it published, and where is the official record?
- Reserved
- June 25, 2023
- Published
- June 29, 2023, 00:00 UTC
- CVE record updated
- November 4, 2025, 17:12 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 06:06 UTC
- Last checked
- CVE list November 19, 2026, 07:12 UTC; NVD November 19, 2026, 07:38 UTC; KEV December 3, 2026, 10:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Uri?
- Mar 3, 2025CVE-2025-27221 ruby-lang URI: improper Removal of Sensitive Information Before Storage or Transfer
- Mar 31, 2023CVE-2023-28755 Ruby-lang Uri: regular expression denial of service (ReDoS)
Questions about CVE-2023-36617
Is CVE-2023-36617 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:38 UTC. FIRST's EPSS gives it a 1.70% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Ruby-lang Uri are affected by CVE-2023-36617?
uri from 0.10.1 before 0.10.3, uri from 0.12.0 before 0.12.2, uri from 0.11.0 before 0.11.2 and uri before 0.10.0.3, per the GitHub advisory GHSA-hww2-5g85-429m. The tables above give every range the sources list.
Which version fixes CVE-2023-36617?
0.10.3, 0.12.2, 0.11.2 and 0.10.0.3, per the GitHub advisory GHSA-hww2-5g85-429m. Check the vendor's advisory before you rely on it.
How severe is CVE-2023-36617?
Medium (5.3, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2023-36617?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.