CVE-2023-36617Ruby-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
- 1.7% probability of exploitation in 30 days · percentile 78
- Auth required
- No
- Published
- Jun 29, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-1333
- 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 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.
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.10.1 < 0.10.3 |
0.10.3 |
gem "uri", ">= 0.10.3" |
| RubyGems | uri |
≥ 0.12.0 < 0.12.2 |
0.12.2 |
gem "uri", ">= 0.12.2" |
| RubyGems | uri |
≥ 0.11.0 < 0.11.2 |
0.11.2 |
gem "uri", ">= 0.11.2" |
| RubyGems | uri |
< 0.10.0.3 |
0.10.0.3 |
gem "uri", ">= 0.10.0.3" |
Per OSV / GitHub Advisories (GHSA-hww2-5g85-429m). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| ruby-lang | uri | < 0.10.3 |
| ruby-lang | uri | ≥ 0.11.0 < 0.12.2 |
Official sources
References
Links published by the sources. Open them with care.
- lists.fedoraproject.org
- lists.fedoraproject.org
- security.netapp.com
- www.ruby-lang.org Mitigation Vendor Advisory
- lists.debian.org
- lists.fedoraproject.org