There is a denial of service vulnerability in the header parsing component of Rack. This vulnerability has been assigned the CVE identifier CVE-2023-27539.
Versions Affected: >= 2.0.0 Not affected: None. Fixed Versions: 2.2.6.4, 3.0.6.1
Carefully crafted input can cause header parsing in Rack to take an unexpected amount of time, possibly resulting in a denial of service attack vector. Any applications that parse headers using Rack (virtually all Rails applications) are impacted.
Setting Regexp.timeout in Ruby 3.2 is a possible workaround.
{
"nvd_published_at": "2025-01-09T01:15:07Z",
"cwe_ids": [],
"severity": "LOW",
"github_reviewed_at": "2023-03-15T21:36:02Z",
"github_reviewed": true
}