CVE-2023-27539: Medium severity Rack Rack Ruby vulnerability

Published Mar 15, 2023
·
Updated

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.

Other sources

There is a denial of service vulnerability in the header parsing component of Rack.

— MITRE

Affected Software

9 affected componentsFixes available
redhat/rubygem-rack<2.2.6.4
2.2.6.4
redhat/rubygem-rack<3.0.6.1
3.0.6.1
rubygems/rack>=3.0.0<3.0.6.1
3.0.6.1
rubygems/rack>=2.0.0<2.2.6.4
2.2.6.4
Rack Rack Ruby>=2.0.0<2.2.6.4
Rack Rack Ruby>=3.0.0<3.0.6.1
Debian Debian Linux=10.0
Debian Debian Linux=11.0
debian/ruby-rack
2.2.22-0+deb12u12.2.22-0+deb12u23.1.20-0+deb13u13.1.20-0+deb13u23.2.7-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/rubygem-rack to a version that resolves this vulnerability.

    Fixed in 2.2.6.4
  2. Upgrade

    Upgrade redhat/rubygem-rack to a version that resolves this vulnerability.

    Fixed in 3.0.6.1
  3. Upgrade

    Upgrade rubygems/rack to a version that resolves this vulnerability.

    Fixed in 3.0.6.1
  4. Upgrade

    Upgrade rubygems/rack to a version that resolves this vulnerability.

    Fixed in 2.2.6.4
  5. Upgrade

    Upgrade debian/ruby-rack to a version that resolves this vulnerability.

    Fixed in 2.2.22-0+deb12u1Fixed in 2.2.22-0+deb12u2Fixed in 3.1.20-0+deb13u1Fixed in 3.1.20-0+deb13u2Fixed in 3.2.7-1
  6. Upgrade

    Upgrade Rack to a version that resolves this vulnerability.

    Fixed in 2.2.6.4
  7. Upgrade

    Upgrade Rack to a version that resolves this vulnerability.

    Fixed in 3.0.6.1
  8. Configuration

    Set Regexp.timeout as a workaround for the Rack header-parsing denial-of-service vulnerability.

    Ruby 3.2 Regexp.timeout

Event History

Mar 15, 2023
Advisory Published
via GitHub·09:36 PM
Mar 20, 2023
Data Sourced
08:18 PM
SeverityAffected Software
Jan 9, 2025
CVE Published
via MITRE·12:33 AM
Data Sourced
via MITRE·12:33 AM
Description
Data Sourced
via NVD·01:15 AM
RemedyDescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is CVE-2023-27539?

CVE-2023-27539 is a denial of service vulnerability in the header parsing component of Rack.

2

Which versions of Rack are affected by CVE-2023-27539?

Versions >= 2.0.0 of Rack are affected by CVE-2023-27539.

3

How can I fix CVE-2023-27539?

You can fix CVE-2023-27539 by upgrading to fixed versions 2.2.6.4 or 3.0.6.1 of Rack.

4

What is the severity of CVE-2023-27539?

CVE-2023-27539 has a severity level of high.

5

Where can I find more information about CVE-2023-27539?

You can find more information about CVE-2023-27539 at the following references: [NVD](https://nvd.nist.gov/vuln/detail/CVE-2023-27539), [Ruby Advisory Database](https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2023-27539.yml).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203