CVE-2023-27539
Ruby vulnerability analysis and mitigation

Overview

A denial of service vulnerability was discovered in rubygem-rack's header parsing component, identified as CVE-2023-27539. The vulnerability affects versions >= 2.0.0 and was fixed in versions 2.2.6.4 and 3.0.6.1. The issue was found in how Rack parses headers, where carefully crafted input can cause header parsing to take an unexpected amount of time (Ruby Rails Discussion, GitHub Advisory).

Technical details

The vulnerability stems from a Regular Expression Denial of Service (ReDoS) issue in the header parsing component. The CVSS v3.1 base score is 5.3 (Moderate), 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 parsing of HTTP headers in Rack, which is a fundamental component used by virtually all Rails applications (Red Hat CVE).

Impact

The vulnerability can be exploited to cause a denial of service condition. When exploited, carefully crafted input can cause header parsing to take an unexpected amount of time, potentially disrupting service availability. This affects any applications that parse headers using Rack, which includes most Rails applications (GitHub Advisory).

Exploitability

The vulnerability is exploitable remotely without requiring authentication or user interaction. It has a low attack complexity, making it relatively straightforward to exploit. The attack vector is network-based, allowing attackers to potentially trigger the denial of service condition through carefully crafted HTTP headers (Red Hat CVE).

Mitigation and workarounds

The primary mitigation is to upgrade to the fixed versions: 2.2.6.4 or 3.0.6.1. For systems unable to upgrade immediately, a possible workaround is setting Regexp.timeout in Ruby 3.2. The fix involves modifying how headers are split on commas and stripped to avoid the ReDoS issues (Ruby Rails Discussion).

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-2026-55107CRITICAL10
  • Ruby logoRuby
  • kobako
NoYesAug 18, 2026
CVE-2026-61666HIGH8.9
  • Ruby logoRuby
  • websocket-driver
NoYesAug 17, 2026
CVE-2026-73648MEDIUM5.1
  • Ruby logoRuby
  • ruby3.4-rails-8.1
NoYesAug 13, 2026
CVE-2026-73426MEDIUM4.6
  • JavaScript logoJavaScript
  • action_text-trix
NoYesAug 18, 2026
CVE-2026-73428MEDIUM4.6
  • JavaScript logoJavaScript
  • action_text-trix
NoYesAug 13, 2026

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