A ReDoS issue was discovered in the URI component before 0.12.2 for Ruby.
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · Low
- Fix status
- Partial Red Hat: 2 fixed, 5 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-1333.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | uri (RubyGems) | 0.10.1 to before 0.10.3 | 0.10.3 | Patch available | GHSA-hww2-5g85-429m |
| — | uri (RubyGems) | 0.12.0 to before 0.12.2 | 0.12.2 | Patch available | GHSA-hww2-5g85-429m |
| — | uri (RubyGems) | 0.11.0 to before 0.11.2 | 0.11.2 | Patch available | GHSA-hww2-5g85-429m |
| — | uri (RubyGems) | before 0.10.0.3 | 0.10.0.3 | Patch available | GHSA-hww2-5g85-429m |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- uri (RubyGems) Vendor— Affected 0.10.1 to before 0.10.3 Fixed in 0.10.3 Patch available GHSA-hww2-5g85-429m
- uri (RubyGems) Vendor— Affected 0.12.0 to before 0.12.2 Fixed in 0.12.2 Patch available GHSA-hww2-5g85-429m
- uri (RubyGems) Vendor— Affected 0.11.0 to before 0.11.2 Fixed in 0.11.2 Patch available GHSA-hww2-5g85-429m
- uri (RubyGems) Vendor— Affected before 0.10.0.3 Fixed in 0.10.0.3 Patch available GHSA-hww2-5g85-429m
Remediation
- Fix · GHSA-hww2-5g85-429m uri (RubyGems) Fixed in 0.10.3 Advisory →
- Fix · GHSA-hww2-5g85-429m uri (RubyGems) Fixed in 0.12.2 Advisory →
- Fix · GHSA-hww2-5g85-429m uri (RubyGems) Fixed in 0.11.2 Advisory →
- Fix · GHSA-hww2-5g85-429m uri (RubyGems) Fixed in 0.10.0.3 Advisory →
Red Hat 3 advisories
- RHSA-2024:4499 Released 2024-07-11 · Red Hat rating Moderateruby security update
- Red Hat Enterprise Linux AppStream (v. 8) ruby-2.5.9-112.module+el8.10.0+22021+135c76a8.aarch64::ruby:2.5, ruby-2.5.9-112.module+el8.10.0+22021+135c76a8.i686::ruby:2.5, ruby-2.5.9-112.module+el8.10.0+22021+135c76a8.ppc64le::ruby:2.5 +47
- RHSA-2024:1576 Released 2024-04-01 · Red Hat rating Moderateruby:3.1 security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream (v. 9) ruby-3.1.4-143.module+el9.3.0+21558+96b51efd.aarch64::ruby:3.1, ruby-3.1.4-143.module+el9.3.0+21558+96b51efd.i686::ruby:3.1, ruby-3.1.4-143.module+el9.3.0+21558+96b51efd.ppc64le::ruby:3.1 +47
- RHSA-2024:1431 Released 2024-03-19 · Red Hat rating Moderateruby:3.1 security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream (v. 8) ruby-3.1.4-142.module+el8.9.0+21471+7d1e4a35.aarch64::ruby:3.1, ruby-3.1.4-142.module+el8.9.0+21471+7d1e4a35.i686::ruby:3.1, ruby-3.1.4-142.module+el8.9.0+21471+7d1e4a35.ppc64le::ruby:3.1 +47
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat 3scale API Management Platform 2 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux 8 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux 9 | Affected | No fix planned: Will not fix |
| Red Hat Satellite 6 | Affected | No fix yet |
| Red Hat Software Collections | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2024:1431, RHSA-2024:4499 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2024:1576 |
Not affected: 1 product
- Red Hat Satellite 6
Timeline
- 2026-10-02 Threatist record created from CVE-2023-36617
- 2026-10-03 Alias added: GHSA-hww2-5g85-429m
References
Advisory 4
Other 17
- https://security.netapp.com/advisory/ntap-20230725-0002/
- https://github.com/ruby/uri/commit/05b1e7d026b886e65a60ee35625229da9ec220bb
- https://github.com/ruby/uri/commit/38bf797c488bcb4a37fb322bfa84977981863ec6
- https://github.com/ruby/uri/commit/3cd938df20db26c9439e9f681aadfb9bbeb6d1c0
- https://github.com/ruby/uri/commit/4d02315181d8a485496f1bb107a6ab51d6f3a35f
- https://github.com/ruby/uri/commit/70794abc162bb15bb934713b5669713d6700d35c
- https://github.com/ruby/uri/commit/7e33934c91b7f8f3ea7b7a4258b468e19f636bc3
- https://github.com/ruby/uri/commit/9a8e0cc03da964054c2a4ea26b59c53c3bae4921
- https://github.com/ruby/uri/commit/ba36c8a3ecad8c16dd3e60a6da9abd768206c8fa
- https://www.ruby-lang.org/en/news/2023/06/29/redos-in-uri-CVE-2023-36617
- https://security.netapp.com/advisory/ntap-20230725-0002
- https://lists.fedoraproject.org/archives/list/[email protected]/message/27LUWREIFTP3MQAW7QE4PJM4DPAQJWXF
- 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/27LUWREIFTP3MQAW7QE4PJM4DPAQJWXF
- https://lists.debian.org/debian-lts-announce/2024/09/msg00000.html
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/uri/CVE-2023-36617.yml
- https://github.com/ruby/uri
More ruby Uri vulnerabilities
- TI-2023-13266 A ReDoS issue was discovered in the URI component through 0.12.0 in Ruby through 3.2.1. CVSS 3.1MEDIUM 5.3
- TI-2025-20078 Information disclosure in ruby URI CVSS 3.1MEDIUM 5.3
- TI-2025-38040 URI Credential Leakage Bypass over CVE-2025-27221 CVSS 4.0LOW 2.1
Sources
- CVE-2023-36617 · CVE Program
- CVE-2023-36617 · NVD
- FIRST EPSS
- GHSA-hww2-5g85-429m · GitHub Advisory Database · CC BY 4.0
- CVE-2023-36617 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences