CVE-2023-28755Ruby-lang Uri
Medium 5.3 No auth needed
Follow: this CVE · Ruby-lang · Ruby-lang Uri We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.3
- EPSS
- 2.6% probability of exploitation in 30 days · percentile 86
- Auth required
- No
- Published
- Mar 31, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-1333
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
What happens
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.
What to do
- Apply the vendor's security update for Uri.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| RubyGems | uri |
≥ 0.12.0 < 0.12.1 |
0.12.1 |
gem "uri", ">= 0.12.1" |
| RubyGems | uri |
≥ 0.11.0 < 0.11.1 |
0.11.1 |
gem "uri", ">= 0.11.1" |
| RubyGems | uri |
≥ 0.10.1 < 0.10.2 |
0.10.2 |
gem "uri", ">= 0.10.2" |
| RubyGems | uri |
< 0.10.0.1 |
0.10.0.1 |
gem "uri", ">= 0.10.0.1" |
Per OSV / GitHub Advisories (GHSA-hv5j-3h9f-99c2). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| ruby-lang | uri | ≤ 0.10.0 |
| ruby-lang | uri | 0.10.1 |
| ruby-lang | uri | 0.11.0 |
| ruby-lang | uri | 0.12.0 |
| debian | debian_linux | 10.0 |
| fedoraproject | fedora | 36 |
| fedoraproject | fedora | 37 |
| fedoraproject | fedora | 38 |
Official advisories
- libruby4_0-4_0-4.0.0~preview2-1.1 on GA media · SUSE · openSUSE-SU-2025:15819-1 · Dec 12, 2025 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Release Notes
- lists.debian.org Mailing List Third Party Advisory
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- security.gentoo.org
- security.netapp.com Third Party Advisory
- www.ruby-lang.org Release Notes
- www.ruby-lang.org Release Notes
- www.ruby-lang.org Vendor Advisory
- lists.debian.org
- lists.debian.org
- lists.fedoraproject.org