The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2023-28755

CVE-2023-28755: Ruby-lang Uri DoS Vulnerability

CVE-2023-28755 is a Regular Expression Denial of Service (ReDoS) vulnerability in Ruby-lang Uri that causes execution delays when parsing malicious URLs. This article covers technical details, affected versions, and mitigation.

Published: February 11, 2026

CVE-2023-28755 Overview

A Regular Expression Denial of Service (ReDoS) vulnerability was discovered in the URI component through version 0.12.0 in Ruby through 3.2.1. The URI parser mishandles invalid URLs that contain specific characters, causing an exponential increase in execution time when parsing malformed strings to URI objects. This vulnerability allows remote attackers to cause denial of service conditions by supplying specially crafted URI strings that trigger catastrophic backtracking in the regex engine.

Critical Impact

Applications that parse user-supplied URLs without timeout protections are vulnerable to denial of service attacks that can consume significant CPU resources and degrade application performance.

Affected Products

  • Ruby-lang URI versions up to and including 0.12.0
  • Debian Linux 10.0
  • Fedora 36, 37, and 38

Discovery Timeline

  • 2023-03-28 - Ruby security team releases advisory for CVE-2023-28755
  • 2023-03-31 - CVE-2023-28755 published to NVD
  • 2025-11-04 - Last updated in NVD database

Technical Details for CVE-2023-28755

Vulnerability Analysis

The vulnerability exists within the URI parsing component of Ruby, specifically in how regular expressions are used to validate and parse URI strings. When the parser encounters malformed URLs containing specific character sequences, the regex engine enters a state of catastrophic backtracking. This occurs because the regular expression patterns used for URI parsing contain nested quantifiers or overlapping alternatives that cause exponential time complexity when processing certain input patterns.

The attack is network-exploitable and requires no authentication or user interaction. While the impact is limited to availability (denial of service), it can be particularly damaging in web applications that process user-supplied URLs, API endpoints that accept URI parameters, or any Ruby application that parses untrusted URI data.

Root Cause

The root cause is inefficient regular expression patterns within the URI component that exhibit polynomial or exponential time complexity when processing malformed input. Specifically, the regex patterns used for URI validation contain constructs that lead to excessive backtracking when the input does not match the expected format but contains characters that partially match multiple parts of the pattern.

ReDoS vulnerabilities typically occur when regular expressions contain:

  • Nested quantifiers (e.g., (a+)+)
  • Overlapping alternation patterns
  • Repetition of groups that can match the same character sequences

The URI component's parsing logic triggers this behavior when processing invalid URLs with specific character combinations, causing the parsing operation to consume disproportionate CPU time.

Attack Vector

The attack can be executed remotely over the network by supplying a maliciously crafted URI string to any Ruby application that parses user-controlled URL input. The attacker does not require any privileges or authentication to exploit this vulnerability. Common attack scenarios include:

  • Submitting malformed URLs through web form inputs
  • Sending crafted URI parameters in API requests
  • Including malicious URIs in data feeds or imports
  • Exploiting any endpoint that performs URL validation or parsing

The vulnerability exploitation involves crafting URI strings with specific character patterns that maximize backtracking in the regex engine, causing parsing operations that normally complete in milliseconds to take seconds or minutes.

Detection Methods for CVE-2023-28755

Indicators of Compromise

  • Unusual CPU spikes in Ruby application processes during URI parsing operations
  • Increased response times or timeouts in endpoints that process URL parameters
  • Application thread pool exhaustion with threads stuck in URI parsing methods
  • Log entries showing timeouts or slow operations related to URL handling

Detection Strategies

  • Monitor Ruby process CPU utilization for sustained high usage during URI parsing operations
  • Implement request timeout monitoring to detect abnormally long-running URL processing
  • Review application logs for timeout exceptions in URI-related code paths
  • Use application performance monitoring (APM) to identify slow transactions involving URI parsing

Monitoring Recommendations

  • Set up alerts for Ruby processes exceeding normal CPU thresholds
  • Implement request-level timeouts with logging for URI parsing operations
  • Monitor thread pool metrics for signs of exhaustion or blocking
  • Track response time percentiles for endpoints that handle URL input

How to Mitigate CVE-2023-28755

Immediate Actions Required

  • Update the URI gem to fixed versions: 0.12.1, 0.11.1, 0.10.2, or 0.10.0.1
  • Apply Ruby version updates that include the patched URI component
  • Implement input validation and length limits on user-supplied URLs before parsing
  • Add timeout wrappers around URI parsing operations as a defense-in-depth measure

Patch Information

Ruby-lang has released patched versions of the URI component that address this ReDoS vulnerability. The fixed versions are 0.12.1, 0.11.1, 0.10.2, and 0.10.0.1. Organizations should update to the appropriate fixed version based on their current URI gem version.

For detailed patch information, refer to the Ruby CVE-2023-28755 Advisory and the GitHub URI Release Notes.

Linux distributions have also released updates:

  • Debian LTS Announcement
  • Gentoo GLSA 202401-27

Workarounds

  • Implement strict URL length limits before passing input to URI parsing methods
  • Add timeout wrappers around URI.parse() calls to prevent extended CPU consumption
  • Validate URL format using simpler, non-backtracking patterns before full parsing
  • Consider using alternative URL parsing libraries that are not affected by this vulnerability
bash
# Update URI gem to patched version
gem update uri

# Or specify the fixed version in Gemfile
# gem 'uri', '~> 0.12.1'

# Verify installed version
gem list uri

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechRuby

  • SeverityMEDIUM

  • CVSS Score5.3

  • EPSS Probability0.34%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-1333
  • Technical References
  • GitHub URI Release Notes

  • Debian LTS Announcement

  • Fedora Package Announcement

  • Fedora Package Announcement

  • Fedora Package Announcement

  • Fedora Package Announcement

  • Fedora Package Announcement

  • Gentoo GLSA 202401-27

  • NetApp Security Advisory NTAP-20230526-0003

  • Ruby Release Downloads

  • Ruby 3.2.0 Release Announcement

  • Debian LTS Announcement

  • Debian LTS Announcement

  • Fedora Package Announcement
  • Vendor Resources
  • Ruby CVE-2023-28755 Advisory
  • Related CVEs
  • CVE-2023-36617: Ruby-lang URI DoS Vulnerability

  • CVE-2023-28756: Ruby-lang Ruby ReDoS Vulnerability

  • CVE-2025-27220: Ruby-lang CGI ReDoS Vulnerability

  • CVE-2025-27219: Ruby-lang CGI Gem DoS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English