HighGHSA-hv5j-3h9f-99c2CVE-2023-28755
Ruby URI component ReDoS issue
Published 31 Mar 2023 · Updated 10 Sept 2026
Is your project on an affected uri?
Look after several Rails or Ruby apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected packages
uriRubyGems
- Affected
- >=0.12.0 <0.12.1
- Fixed in
- 0.12.1
Update to the fixed version for your release line, for example:
bundle update --conservative uri # Gemfile: '>= 0.12.1'uriRubyGems
- Affected
- >=0.11.0 <0.11.1
- Fixed in
- 0.11.1
Update to the fixed version for your release line, for example:
bundle update --conservative uri # Gemfile: '>= 0.11.1'uriRubyGems
- Affected
- >=0.10.1 <0.10.2
- Fixed in
- 0.10.2
Update to the fixed version for your release line, for example:
bundle update --conservative uri # Gemfile: '>= 0.10.2'uriRubyGems
- Affected
- <0.10.0.1
- Fixed in
- 0.10.0.1
Update to the fixed version for your release line, for example:
bundle update --conservative uri # Gemfile: '>= 0.10.0.1'Details
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.
Is GHSA-hv5j-3h9f-99c2 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected uri, and gives you the command that fixes it.
More advisories for uri
- LowCVE-2025-61594URI Credential Leakage Bypass over CVE-2025-27221 · 30 Dec 2025
- LowCVE-2025-27221URI allows for userinfo Leakage in URI#join, URI#merge, and URI#+ · 3 Mar 2025
- MediumCVE-2023-36617URI gem has ReDoS vulnerability · 29 Jun 2023
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2023-28755
- Linkwww.ruby-lang.org/en/news/2023/03/28/redos-in-uri-cve-2023-28755
- Linkwww.ruby-lang.org/en/news/2022/12/25/ruby-3-2-0-released
- Linkwww.ruby-lang.org/en/downloads/releases
- Linksecurity.netapp.com/advisory/ntap-20230526-0003
- Linksecurity.gentoo.org/glsa/202401-27
- Linklists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WMIOPLBAAM3FEQNAXA2L7BDKOGSVUT5Z
- Linklists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/G76GZG3RAGYF4P75YY7J7TGYAU7Z5E2T
- Linklists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FFZANOQA4RYX7XCB42OO3P24DQKWHEKA
- Linklists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/27LUWREIFTP3MQAW7QE4PJM4DPAQJWXF
- Linklists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WMIOPLBAAM3FEQNAXA2L7BDKOGSVUT5Z
- Linklists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QA6XUKUY7B5OLNQBLHOT43UW7C5NIOQQ
- Linklists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/G76GZG3RAGYF4P75YY7J7TGYAU7Z5E2T
- Linklists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FFZANOQA4RYX7XCB42OO3P24DQKWHEKA
- Linklists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/27LUWREIFTP3MQAW7QE4PJM4DPAQJWXF
- Linklists.debian.org/debian-lts-announce/2025/05/msg00015.html
- Linklists.debian.org/debian-lts-announce/2024/09/msg00000.html
- Linklists.debian.org/debian-lts-announce/2023/04/msg00033.html
- Linkgithub.com/rubysec/ruby-advisory-db/blob/master/gems/uri/CVE-2023-28755.yml
- Linkgithub.com/ruby/uri/releases
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.