CVE-2023-36617
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.
Severity
MEDIUM
CVSS v3
5.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L · source nvd
Exploit chance (EPSS)
1.698%
chance of exploitation in the next 30 days
higher than 77.6% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0
Weakness
- CWE-1333: Inefficient Regular Expression Complexity
Timeline
- 2023-06-29Published by the CNA00:00 UTC
- 2023-06-29GitHub advisory published (GHSA-hww2-5g85-429m)same day
Exploit and advisory records
GitHub advisory GHSA-hww2-5g85-429m, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| RubyGems uri | before 0.10.0.3 | 0.10.0.3 |
| RubyGems uri | from 0.10.1 before 0.10.3 | 0.10.3 |
| RubyGems uri | from 0.11.0 before 0.11.2 | 0.11.2 |
| RubyGems uri | from 0.12.0 before 0.12.2 | 0.12.2 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| ruby-lang uri | before 0.10.3fixed in 0.10.3from 0.11.0 before 0.12.2fixed in 0.12.2 | 0.10.30.12.2 |
References
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/27LUWREIFTP3MQAW7QE4PJM4DPAQJWXF/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QA6XUKUY7B5OLNQBLHOT43UW7C5NIOQQ/
- https://www.ruby-lang.org/en/news/2023/06/29/redos-in-uri-CVE-2023-36617/
- https://lists.debian.org/debian-lts-announce/2024/09/msg00000.html
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/27LUWREIFTP3MQAW7QE4PJM4DPAQJWXF/
- https://security.netapp.com/advisory/ntap-20230725-0002/
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2023-36617'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2023-36617'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2023-36617'curl 'https://api.contrastcyber.com/cve_products/CVE-2023-36617'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).