A ReDoS issue was discovered in the URI component through 0.12.0 in Ruby through 3.2.1.
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: 5 fixed, 4 without a fix
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-1333.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | uri (RubyGems) | 0.12.0 to before 0.12.1 | 0.12.1 | Patch available | GHSA-hv5j-3h9f-99c2 |
| — | uri (RubyGems) | 0.11.0 to before 0.11.1 | 0.11.1 | Patch available | GHSA-hv5j-3h9f-99c2 |
| — | uri (RubyGems) | 0.10.1 to before 0.10.2 | 0.10.2 | Patch available | GHSA-hv5j-3h9f-99c2 |
| — | uri (RubyGems) | before 0.10.0.1 | 0.10.0.1 | Patch available | GHSA-hv5j-3h9f-99c2 |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- uri (RubyGems) Vendor— Affected 0.12.0 to before 0.12.1 Fixed in 0.12.1 Patch available GHSA-hv5j-3h9f-99c2
- uri (RubyGems) Vendor— Affected 0.11.0 to before 0.11.1 Fixed in 0.11.1 Patch available GHSA-hv5j-3h9f-99c2
- uri (RubyGems) Vendor— Affected 0.10.1 to before 0.10.2 Fixed in 0.10.2 Patch available GHSA-hv5j-3h9f-99c2
- uri (RubyGems) Vendor— Affected before 0.10.0.1 Fixed in 0.10.0.1 Patch available GHSA-hv5j-3h9f-99c2
CPE configurations NVD · 8
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:ruby-lang:uri:*:*:*:*:*:ruby:*:* | up to 0.10.0 | Vulnerable | ruby |
| cpe:2.3:a:ruby-lang:uri:0.10.1:*:*:*:*:ruby:*:* | 0.10.1 | Vulnerable | ruby |
| cpe:2.3:a:ruby-lang:uri:0.11.0:*:*:*:*:ruby:*:* | 0.11.0 | Vulnerable | ruby |
| cpe:2.3:a:ruby-lang:uri:0.12.0:*:*:*:*:ruby:*:* | 0.12.0 | Vulnerable | ruby |
| cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* | 10.0 | Vulnerable | Debian |
| cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* | 36 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:* | 37 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:* | 38 | Vulnerable | Fedoraproject |
- cpe:2.3:a:ruby-lang:uri:*:*:*:*:*:ruby:*:* Versions up to 0.10.0 Vulnerable ·ruby
- cpe:2.3:a:ruby-lang:uri:0.10.1:*:*:*:*:ruby:*:* Versions 0.10.1 Vulnerable ·ruby
- cpe:2.3:a:ruby-lang:uri:0.11.0:*:*:*:*:ruby:*:* Versions 0.11.0 Vulnerable ·ruby
- cpe:2.3:a:ruby-lang:uri:0.12.0:*:*:*:*:ruby:*:* Versions 0.12.0 Vulnerable ·ruby
- cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* Versions 10.0 Vulnerable ·Debian
- cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* Versions 36 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:* Versions 37 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:* Versions 38 Vulnerable ·Fedoraproject
Remediation
- Fix · GHSA-hv5j-3h9f-99c2 uri (RubyGems) Fixed in 0.12.1 Advisory →
- Fix · GHSA-hv5j-3h9f-99c2 uri (RubyGems) Fixed in 0.11.1 Advisory →
- Fix · GHSA-hv5j-3h9f-99c2 uri (RubyGems) Fixed in 0.10.2 Advisory →
- Fix · GHSA-hv5j-3h9f-99c2 uri (RubyGems) Fixed in 0.10.0.1 Advisory →
Red Hat 7 advisories
- RHSA-2024:3838 Released 2024-06-11 · Red Hat rating Moderateruby security update
- Red Hat Enterprise Linux AppStream (v. 9) ruby-3.0.7-162.el9_4, ruby-default-gems-3.0.7-162.el9_4, ruby-devel-3.0.7-162.el9_4 +18
- Red Hat Enterprise Linux CRB (v. 9) ruby-doc-3.0.7-162.el9_4
- RHSA-2024:3500 Released 2024-05-30 · Red Hat rating Moderateruby:3.0 security update
- Red Hat Enterprise Linux AppStream (v. 8) ruby-3.0.7-143.module+el8.10.0+21858+d19f3934.aarch64::ruby:3.0, ruby-3.0.7-143.module+el8.10.0+21858+d19f3934.i686::ruby:3.0, ruby-3.0.7-143.module+el8.10.0+21858+d19f3934.ppc64le::ruby:3.0 +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
Show 4 more Red Hat advisories
- 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
- RHSA-2023:7025 Released 2023-11-14 · Red Hat rating Moderateruby:2.5 security update
- Red Hat Enterprise Linux AppStream (v. 8) ruby-2.5.9-111.module+el8.9.0+19193+435404ae.aarch64::ruby:2.5, ruby-2.5.9-111.module+el8.9.0+19193+435404ae.i686::ruby:2.5, ruby-2.5.9-111.module+el8.9.0+19193+435404ae.ppc64le::ruby:2.5 +47
- RHSA-2023:3821 Released 2023-06-27 · Red Hat rating Moderateruby:2.7 security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream (v. 8) ruby-2.7.8-139.module+el8.8.0+18745+f1bef313.aarch64::ruby:2.7, ruby-2.7.8-139.module+el8.8.0+18745+f1bef313.i686::ruby:2.7, ruby-2.7.8-139.module+el8.8.0+18745+f1bef313.ppc64le::ruby:2.7 +47
- RHSA-2023:3291 Released 2023-05-24 · Red Hat rating Moderaterh-ruby27-ruby security, bug fix, and enhancement update
- Red Hat Software Collections for RHEL Workstation(v. 7) rh-ruby27-ruby-2.7.8-132.el7, rh-ruby27-ruby-devel-2.7.8-132.el7, rh-ruby27-ruby-doc-2.7.8-132.el7 +19
- Red Hat Software Collections for RHEL(v. 7) rh-ruby27-ruby-2.7.8-132.el7, rh-ruby27-ruby-devel-2.7.8-132.el7, rh-ruby27-ruby-doc-2.7.8-132.el7 +19
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 8 | Affected | No fix planned: Will not fix |
| Red Hat Software Collections | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2023:3821, RHSA-2023:7025, RHSA-2024:1431, RHSA-2024:3500 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2024:1576, RHSA-2024:3838 |
| Red Hat Enterprise Linux CRB (v. 9) | Fixed | RHSA-2024:3838 |
| Red Hat Software Collections for RHEL Workstation(v. 7) | Fixed | RHSA-2023:3291 |
| Red Hat Software Collections for RHEL(v. 7) | Fixed | RHSA-2023:3291 |
Timeline
- 2026-10-02 Threatist record created from CVE-2023-28755
- 2026-10-03 Alias added: GHSA-hv5j-3h9f-99c2
References
Advisory 10
- https://www.ruby-lang.org/en/news/2023/03/28/redos-in-uri-cve-2023-28755/
- FEDORA-2023-6b924d3b75
- FEDORA-2023-a7be7ea1aa
- FEDORA-2023-f58d72c700
- [debian-lts-announce] 20230430 [SECURITY] [DLA 3408-1] jruby security update
- https://security.netapp.com/advisory/ntap-20230526-0003/
- GLSA-202401-27
- FEDORA-2024-31cac8b8ec
- FEDORA-2024-48bdd3abbf
- https://nvd.nist.gov/vuln/detail/CVE-2023-28755
Other 21
- https://www.ruby-lang.org/en/news/2022/12/25/ruby-3-2-0-released/
- https://www.ruby-lang.org/en/downloads/releases/
- https://github.com/ruby/uri/releases/
- https://www.ruby-lang.org/en/news/2023/03/28/redos-in-uri-cve-2023-28755
- https://www.ruby-lang.org/en/news/2022/12/25/ruby-3-2-0-released
- https://www.ruby-lang.org/en/downloads/releases
- https://security.netapp.com/advisory/ntap-20230526-0003
- https://lists.fedoraproject.org/archives/list/[email protected]/message/WMIOPLBAAM3FEQNAXA2L7BDKOGSVUT5Z
- https://lists.fedoraproject.org/archives/list/[email protected]/message/G76GZG3RAGYF4P75YY7J7TGYAU7Z5E2T
- https://lists.fedoraproject.org/archives/list/[email protected]/message/FFZANOQA4RYX7XCB42OO3P24DQKWHEKA
- https://lists.fedoraproject.org/archives/list/[email protected]/message/27LUWREIFTP3MQAW7QE4PJM4DPAQJWXF
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WMIOPLBAAM3FEQNAXA2L7BDKOGSVUT5Z
- 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/G76GZG3RAGYF4P75YY7J7TGYAU7Z5E2T
- 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/27LUWREIFTP3MQAW7QE4PJM4DPAQJWXF
- https://lists.debian.org/debian-lts-announce/2025/05/msg00015.html
- https://lists.debian.org/debian-lts-announce/2024/09/msg00000.html
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/uri/CVE-2023-28755.yml
- https://github.com/ruby/uri/releases
- https://github.com/ruby/uri
Sources
- CVE-2023-28755 · CVE Program
- CVE-2023-28755 · NVD
- FIRST EPSS
- GHSA-hv5j-3h9f-99c2 · GitHub Advisory Database · CC BY 4.0
- CVE-2023-28755 · 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