Skip to content
OpenAdvisories
High USN-7366-2 3 CVEs

ruby-rack vulnerabilities

Published Jul 23, 2025 · Updated Feb 4, 2026

Summary

USN-7366-1 fixed vulnerabilities in Rack. This update provides the
corresponding updates for Ubuntu 25.04.

Original advisory details:

Nhật Thái Đỗ discovered that Rack incorrectly handled certain usernames. A
remote attacker could possibly use this issue to perform CRLF injection.
(CVE-2025-25184)

Phạm Quang Minh discovered that Rack incorrectly handled certain headers. A
remote attacker could possibly use this issue to perform log injection.
(CVE-2025-27111)

Phạm Quang Minh discovered that Rack did not properly handle relative file
paths. A remote attacker could potentially exploit this to include local
files that should have been inaccessible. (CVE-2025-27610)

Fixed packages 1

ReleasePackageFixed in
Ubuntu · 25.04 ruby-rack 2.2.7-1.1ubuntu0.25.04.2

Vulnerabilities 3

  • High 7.5

    Local File Inclusion in Rack::Static

    Rack provides an interface for developing web applications in Ruby. Prior to versions 2.2.13, 3.0.14, and 3.1.12, `Rack::Static` can serve files under the specified `root:` even if `urls:` are provided, which may expose other files under the specified `root:`…

  • Medium 6.9

    Escape Sequence Injection vulnerability in Rack lead to Possible Log Injection

    Rack is a modular Ruby web server interface. The Rack::Sendfile middleware logs unsanitised header values from the X-Sendfile-Type header. An attacker can exploit this by injecting escape sequences (such as newline characters) into the header, resulting in lo…

  • Medium 5.7

    Possible Log Injection in Rack::CommonLogger

    Rack provides an interface for developing web applications in Ruby. Prior to versions 2.2.11, 3.0.12, and 3.1.10, Rack::CommonLogger can be exploited by crafting input that includes newline characters to manipulate log entries. The supplied proof-of-concept d…

References

  • report
    https://ubuntu.com/security/CVE-2025-25184
  • report
    https://ubuntu.com/security/CVE-2025-27111
  • report
    https://ubuntu.com/security/CVE-2025-27610