
Cloud Vulnerability DB
A community-led vulnerabilities database
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).
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).
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).
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).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."