CVE-2023-28755
Description
A ReDoS issue was discovered in the URI component through 0.12.0 in Ruby through 3.2.1. The URI parser mishandles invalid URLs that have specific characters. It causes an increase in execution time for parsing strings to URI objects. The fixed versions are 0.12.1, 0.11.1, 0.10.2 and 0.10.0.1.
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)
2.637%
chance of exploitation in the next 30 days
higher than 85.8% 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
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | yes |
| Technical impact | partial |
| Scored | 2025-02-14 |
Timeline
- 2023-03-31Published by the CNA00:00 UTC
- 2023-03-31GitHub advisory published (GHSA-hv5j-3h9f-99c2)same day
- 2025-02-14CISA SSVC decision recorded686 days after publication
Exploit and advisory records
GitHub advisory GHSA-hv5j-3h9f-99c2, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| RubyGems uri | before 0.10.0.1 | 0.10.0.1 |
| RubyGems uri | from 0.10.1 before 0.10.2 | 0.10.2 |
| RubyGems uri | from 0.11.0 before 0.11.1 | 0.11.1 |
| RubyGems uri | from 0.12.0 before 0.12.1 | 0.12.1 |
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 | through 0.10.0no fix listed0.10.1no fix listed0.11.0no fix listed0.12.0no fix listed | not listednot listednot listednot listed |
| debian debian_linux | 10.0no fix listed | not listed |
| fedoraproject fedora | 36no fix listed37no fix listed38no fix listed | not listednot listednot listed |
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/FFZANOQA4RYX7XCB42OO3P24DQKWHEKA/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/G76GZG3RAGYF4P75YY7J7TGYAU7Z5E2T/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QA6XUKUY7B5OLNQBLHOT43UW7C5NIOQQ/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WMIOPLBAAM3FEQNAXA2L7BDKOGSVUT5Z/
- https://security.gentoo.org/glsa/202401-27
- https://www.ruby-lang.org/en/news/2023/03/28/redos-in-uri-cve-2023-28755/
- https://github.com/ruby/uri/releases/
- https://lists.debian.org/debian-lts-announce/2023/04/msg00033.html
- https://lists.debian.org/debian-lts-announce/2024/09/msg00000.html
- https://lists.debian.org/debian-lts-announce/2025/05/msg00015.html
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/27LUWREIFTP3MQAW7QE4PJM4DPAQJWXF/
- https://security.netapp.com/advisory/ntap-20230526-0003/
- https://www.ruby-lang.org/en/downloads/releases/
- https://www.ruby-lang.org/en/news/2022/12/25/ruby-3-2-0-released/
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2023-28755'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2023-28755'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2023-28755'curl 'https://api.contrastcyber.com/cve_products/CVE-2023-28755'
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).