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
    • 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-28756

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

CVE-2023-28756 is a Regular Expression Denial of Service flaw in Ruby-lang Ruby's Time component that causes execution delays when parsing invalid URLs. This article covers technical details, affected versions, and mitigation.

Published: February 4, 2026

CVE-2023-28756 Overview

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

Critical Impact

Remote attackers can exploit this vulnerability to cause significant CPU resource exhaustion on Ruby applications that parse user-controlled time strings, potentially leading to service degradation or complete denial of service.

Affected Products

  • Ruby-lang Ruby through version 3.2.1
  • Ruby-lang Time versions 0.1.0 and 0.2.1
  • Debian Linux 10.0
  • Fedora 36, 37, and 38

Discovery Timeline

  • March 30, 2023 - Ruby-lang releases security advisory for CVE-2023-28756
  • March 31, 2023 - CVE-2023-28756 published to NVD
  • November 4, 2025 - Last updated in NVD database

Technical Details for CVE-2023-28756

Vulnerability Analysis

This vulnerability is classified as CWE-1333 (Inefficient Regular Expression Complexity), commonly known as ReDoS. The Ruby Time component uses regular expressions to parse time strings, but certain patterns in the regex allow for catastrophic backtracking when processing specially crafted input. When the Time parser encounters invalid URLs with specific character sequences, the regex engine enters a state where it must explore an exponentially growing number of possible matches before determining that no match exists.

The impact is limited to availability, as the vulnerability does not allow for code execution or data disclosure. However, in web applications or services that parse user-supplied time strings, an attacker can submit malicious input that causes worker processes to become unresponsive, effectively denying service to legitimate users.

Root Cause

The root cause lies in the regular expression patterns used within the Ruby Time component for parsing time strings. The regex contains nested quantifiers or overlapping alternations that create ambiguity in how the input string can be matched. When the parser receives a carefully crafted string that nearly matches the expected pattern but ultimately fails, the regex engine must exhaustively backtrack through all possible matching combinations before concluding that no match exists.

Attack Vector

The attack can be executed remotely over the network without requiring any authentication or privileges. An attacker simply needs to identify an application endpoint that processes time strings using the vulnerable Ruby Time component and submit a malicious string designed to trigger the exponential backtracking behavior.

The vulnerability is particularly dangerous in scenarios where:

  • Web applications accept date/time input from users
  • APIs parse time-related headers or parameters
  • Background workers process time strings from external sources

The attack requires minimal complexity to execute, as the malicious input strings are well-documented and the exploitation pattern is straightforward. No user interaction is required for the attack to succeed.

Detection Methods for CVE-2023-28756

Indicators of Compromise

  • Abnormally high CPU utilization on application servers processing time-related input
  • Ruby worker processes becoming unresponsive or timing out during time parsing operations
  • Increased request latency specifically on endpoints that handle date/time parameters
  • Application logs showing timeout errors related to Time parsing functions

Detection Strategies

  • Monitor Ruby application performance metrics for sudden spikes in CPU usage correlated with time parsing operations
  • Implement request timeout monitoring to detect unusually long-running time parsing operations
  • Deploy application performance monitoring (APM) to track method-level execution times in the Time component
  • Use static code analysis to identify locations where user input is passed to Time.parse or related methods

Monitoring Recommendations

  • Set up alerts for CPU utilization thresholds on Ruby application servers
  • Configure request timeout logging to capture slow requests involving time parsing
  • Implement rate limiting on endpoints that accept time-related input to mitigate exploitation attempts
  • Monitor application health endpoints to quickly detect service degradation

How to Mitigate CVE-2023-28756

Immediate Actions Required

  • Upgrade the Ruby Time gem to version 0.1.1 or 0.2.2 which contain the fix for this vulnerability
  • Update Ruby to version 3.2.2 or later which includes the patched Time component
  • Implement input validation to reject malformed time strings before they reach the Time parser
  • Add request timeouts around time parsing operations to prevent individual requests from consuming excessive resources

Patch Information

The vulnerability has been fixed in Time gem versions 0.1.1 and 0.2.2. Users should update their Ruby installations or the Time gem directly to receive the security fix. Ruby-lang has published a detailed security advisory with patching instructions. Additional security advisories have been issued by Debian, Fedora, Gentoo, and NetApp.

Workarounds

  • Implement input length limits on time string parameters to reduce the potential for exploitation
  • Add input validation using a simple regex pre-check before passing strings to Time.parse
  • Wrap time parsing operations in timeout blocks to prevent runaway CPU consumption
  • Consider using alternative time parsing libraries that are not affected by this vulnerability until patching is complete
bash
# Update the Time gem to the patched version
gem update time

# Or specify the patched version in your Gemfile
# gem 'time', '>= 0.2.2'

# Then run bundle update
bundle update time

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 Probability2.36%

  • 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 Releases for Time

  • Debian LTS Advisory April 2023

  • Fedora Package Announcement

  • Fedora Package Announcement

  • Fedora Package Announcement

  • Gentoo GLSA 2024-01-27

  • NetApp Security Advisory NTAP-20230526-0004

  • Ruby Releases Downloads

  • Ruby 3.2.0 Release News

  • Debian LTS Advisory September 2024
  • Vendor Resources
  • CVE-2023-28756 Ruby ReDoS Advisory
  • Related CVEs
  • CVE-2023-36617: Ruby-lang URI DoS Vulnerability

  • CVE-2023-28755: Ruby-lang Uri DoS 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