Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. rack
  4. ›
  5. GMS-2023-769

GMS-2023-769: Possible Denial of Service Vulnerability in Rack’s header parsing

March 15, 2023

There is a denial of service vulnerability in the header parsing component of Rack. 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. Workarounds Setting Regexp.timeout in Ruby 3.2 is a possible workaround.

References

  • discuss.rubyonrails.org/t/cve-2023-27539-possible-denial-of-service-vulnerability-in-racks-header-parsing/82466
  • github.com/advisories/GHSA-c6qg-cjj8-47qp
  • github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2023-27539.yml
  • nvd.nist.gov/vuln/detail/CVE-2023-27539

Code Behaviors & Features

Detect and mitigate GMS-2023-769 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 2.0.0 before 2.2.6.4, all versions starting from 3.0.0 before 3.0.6.1

Fixed versions

  • 2.2.6.4
  • 3.0.6.1

Solution

Upgrade to versions 2.2.6.4, 3.0.6.1 or above.

Source file

gem/rack/GMS-2023-769.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:53 +0000.