Skip to content
OpenAdvisories
Medium USN-6837-2 3 CVEs

ruby-rack vulnerabilities

Published Aug 19, 2024 · Updated Jun 29, 2026

Summary

It was discovered that Rack incorrectly parsed certain media types. A
remote attacker could possibly use this issue to cause Rack to consume
resources, leading to a denial of service. This issue only affected
Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2024-25126)

It was discovered that Rack incorrectly handled certain Range headers. A
remote attacker could possibly use this issue to cause Rack to create
large responses, leading to a denial of service. (CVE-2024-26141)

It was discovered that Rack incorrectly handled certain crafted headers. A
remote attacker could possibly use this issue to cause Rack to consume
resources, leading to a denial of service. (CVE-2024-26146)

Fixed packages 5

ReleasePackageFixed in
Ubuntu · Pro 14.04 LTS Pro:14.04:LTS ruby-rack 1.5.2-3+deb8u3ubuntu1~esm8
Ubuntu · Pro 16.04 LTS Pro:16.04:LTS ruby-rack 1.6.4-3ubuntu0.2+esm6
Ubuntu · Pro 18.04 LTS Pro:18.04:LTS ruby-rack 1.6.4-4ubuntu0.2+esm6
Ubuntu · Pro 20.04 LTS Pro:20.04:LTS ruby-rack 2.0.7-2ubuntu0.1+esm5
Ubuntu · Pro 22.04 LTS Pro:22.04:LTS ruby-rack 2.1.4-5ubuntu1+esm5

Vulnerabilities 3

  • Medium 5.8

    Possible DoS Vulnerability with Range Header in Rack

    Rack is a modular Ruby web server interface. Carefully crafted Range headers can cause a server to respond with an unexpectedly large response. Responding with such large responses could lead to a denial of service issue. Vulnerable applications will use the …

  • Medium 5.3
    CVE-2024-25126 EPSS 35%

    Rack ReDos in content type parsing (2nd degree polynomial)

    Rack is a modular Ruby web server interface. Carefully crafted content type headers can cause Rack’s media type parser to take much longer than expected, leading to a possible denial of service vulnerability (ReDos 2nd degree polynomial). This vulnerability i…

  • Medium 5.3

    Possible Denial of Service Vulnerability in Rack Header Parsing

    Rack is a modular Ruby web server interface. Carefully crafted headers can cause header parsing in Rack to take longer than expected resulting in a possible denial of service issue. Accept and Forwarded headers are impacted. Ruby 3.2 has mitigations for this …

References

  • report
    https://ubuntu.com/security/CVE-2024-25126
  • report
    https://ubuntu.com/security/CVE-2024-26141
  • report
    https://ubuntu.com/security/CVE-2024-26146