CVE-2023-28755
Ruby vulnerability analysis and mitigation

Overview

A ReDoS (Regular Expression Denial of Service) vulnerability was discovered in the URI component through 0.12.0 in Ruby through 3.2.1. The vulnerability, identified as CVE-2023-28755, was discovered when the URI parser mishandles invalid URLs containing specific characters, causing increased execution time for parsing strings to URI objects (Ruby Advisory).

Technical details

The vulnerability has been assigned a CVSS v3.1 base score of 5.3 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L. The issue affects the URI parser's handling of invalid URLs with specific characters, which can lead to excessive execution time when parsing strings to URI objects. The vulnerability is classified under CWE-1333 (Inefficient Regular Expression Complexity) (NVD).

Impact

Successful exploitation of this vulnerability could lead to a Denial of Service (DoS) condition. When the affected URI parser processes maliciously crafted input, it can cause significant increases in execution time, potentially impacting system availability (NetApp Advisory).

Mitigation and workarounds

The fixed versions are uri gem 0.12.1, 0.11.1, 0.10.2 and 0.10.0.1. Users are recommended to update based on their Ruby version: For Ruby 2.7, update to uri 0.10.0.1; For Ruby 3.0, update to uri 0.10.2; For Ruby 3.1, update to uri 0.11.1; For Ruby 3.2, update to uri 0.12.1. Users can update using 'gem update uri' or by adding the appropriate version requirement to their Gemfile (Ruby Advisory).

Additional resources


SourceThis report was generated using AI

Related Ruby vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-66568CRITICAL9.3
  • RubyRuby
  • ruby-saml
NoYesDec 09, 2025
CVE-2025-66567CRITICAL9.3
  • RubyRuby
  • ruby-saml
NoYesDec 09, 2025
GHSA-4249-gjr8-jpq3HIGH8.7
  • RubyRuby
  • prosemirror_to_html
NoYesNov 13, 2025
CVE-2025-64501HIGH7.6
  • RubyRuby
  • prosemirror_to_html
NoYesNov 10, 2025
CVE-2025-61594MEDIUMN/A
  • RubyRuby
  • ruby-default-gems
NoYesDec 11, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management