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
    • AI 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-36617

CVE-2023-36617: Ruby-lang URI DoS Vulnerability

CVE-2023-36617 is a Regular Expression Denial of Service flaw in Ruby-lang URI component that causes excessive execution time when parsing invalid URLs. This article covers technical details, affected versions, and fixes.

Published: February 4, 2026

CVE-2023-36617 Overview

A Regular Expression Denial of Service (ReDoS) vulnerability was discovered in the URI component for Ruby, affecting versions prior to 0.12.2. The URI parser mishandles invalid URLs containing specific characters, leading to a significant increase in execution time when parsing malformed strings to URI objects. This vulnerability exists in both rfc2396_parser.rb and rfc3986_parser.rb files and represents an incomplete fix for the previously disclosed CVE-2023-28755.

Critical Impact

Attackers can craft malicious URLs that cause excessive CPU consumption during URI parsing, potentially leading to denial of service conditions in Ruby applications that process untrusted URL input.

Affected Products

  • Ruby-lang URI component versions before 0.12.2
  • Ruby-lang URI component versions before 0.10.3 (also patched)
  • Applications using vulnerable versions of the URI gem for Ruby

Discovery Timeline

  • June 29, 2023 - CVE-2023-36617 published to NVD
  • November 4, 2025 - Last updated in NVD database

Technical Details for CVE-2023-36617

Vulnerability Analysis

This ReDoS vulnerability stems from inefficient regular expression patterns within Ruby's URI parsing components. When the URI parser processes specially crafted invalid URLs containing specific character sequences, the regular expression engine enters a pathological backtracking state. This causes the parsing operation to consume exponentially more CPU cycles as the input string length increases.

The vulnerability affects both RFC 2396 and RFC 3986 parser implementations (rfc2396_parser.rb and rfc3986_parser.rb), indicating that the regex patterns used for URL validation and parsing contain nested quantifiers or overlapping alternations that are susceptible to catastrophic backtracking.

This issue is particularly noteworthy as it represents an incomplete remediation of CVE-2023-28755, suggesting that the initial fix did not fully address all vulnerable code paths in the URI parsing logic.

Root Cause

The root cause lies in the regular expression patterns used within the URI component's parser implementations. The regex patterns contain constructs that allow for exponential time complexity when matching against certain malformed input strings. Specifically, the combination of nested quantifiers and overlapping character classes creates conditions where the regex engine must explore an exponentially growing number of possible matches before determining that no valid match exists.

Attack Vector

The attack vector is network-based and requires no authentication or user interaction. An attacker can exploit this vulnerability by sending malformed URLs to any Ruby application that parses untrusted URI input. The attack is executed as follows:

  1. The attacker identifies a Ruby application that processes user-supplied URLs using the vulnerable URI component
  2. The attacker crafts a malicious URL string containing specific character patterns that trigger pathological regex backtracking
  3. When the application attempts to parse this URL, the regex engine enters an exponential backtracking state
  4. CPU resources are consumed excessively, potentially causing the application to become unresponsive or crash

The vulnerability can be triggered remotely without any special privileges, making it accessible to any network-connected attacker who can supply URL input to the target application.

Detection Methods for CVE-2023-36617

Indicators of Compromise

  • Abnormal CPU spikes occurring during URL parsing operations in Ruby applications
  • Application response time degradation when processing URL inputs
  • Ruby process hangs or timeouts during URI parsing routines
  • Unusual memory consumption patterns in applications using the URI gem

Detection Strategies

  • Monitor Ruby application logs for slow URL parsing operations or timeout errors
  • Implement runtime monitoring to detect regex execution times exceeding normal thresholds
  • Conduct dependency audits to identify applications using vulnerable URI gem versions (below 0.12.2 or below 0.10.3 in the 0.10.x branch)
  • Deploy application performance monitoring (APM) to track URI parsing latency anomalies

Monitoring Recommendations

  • Configure alerting for sustained high CPU utilization in Ruby application processes
  • Implement request timeout mechanisms for URL parsing operations
  • Set up automated vulnerability scanning for Ruby gem dependencies
  • Monitor network traffic for patterns of repeated malformed URL submissions

How to Mitigate CVE-2023-36617

Immediate Actions Required

  • Update the Ruby URI gem to version 0.12.2 or later immediately
  • For applications on the 0.10.x branch, update to version 0.10.3 or later
  • Implement input validation to filter obviously malformed URLs before URI parsing
  • Apply request timeouts on operations involving URL parsing from untrusted sources

Patch Information

Ruby-lang has released security patches addressing this vulnerability. Fixed versions include URI gem 0.12.2 and 0.10.3. The official security advisory is available from Ruby-lang Security News. Additional distribution-specific patches have been released by Fedora, Debian, and NetApp as documented in their respective security advisories.

Workarounds

  • Implement strict input length limits on URL strings before passing to the URI parser
  • Use a preliminary regex validation to reject obviously malformed URLs before full parsing
  • Deploy web application firewalls (WAF) with rules to detect and block malicious URL patterns
  • Consider using alternative URL parsing libraries with known-safe regex implementations as a temporary measure
bash
# Update URI gem to patched version
gem update uri --version '>= 0.12.2'

# Verify installed version
gem list uri

# For Bundler-managed applications, update Gemfile
# gem 'uri', '>= 0.12.2'
bundle update 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.82%

  • 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
  • Fedora Package Announcement

  • Fedora Package Announcement

  • NetApp Security Advisory

  • Debian LTS Announcement

  • Fedora Package Announcement
  • Vendor Resources
  • Ruby News on CVE-2023-36617
  • Related CVEs
  • CVE-2023-28755: 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