ruby-rack: Rack provides an interface for developing web applications in Ruby
CVE-2025-27610 is fixed in 3 products on 1 platform, first by ruby-rack 1.6.4-4ubuntu0.2+esm7, released March 10, 2025. It is not reported as exploited. Patch Radar priority: High.
Rack provides an interface for developing web applications in Ruby. Priorto versions 2.2.13, 3.0.14, and 3.1.12, `Rack::Static` can serve filesunder the specified `root:` even if `urls:` are provided, which may exposeother files under the specified `root:` unexpectedly. The vulnerabilityoccurs because `Rack::Static` does not properly sanitize user-suppliedpaths before serving files. Specifically, encoded path traversal sequencesare not correctly validated, allowing attackers to access files outside thedesignated static file directory. By exploiting this vulnerability, anattacker can gain access to all files under the specified `root:`directory, provided they are able to determine then path of the file.Versions 2.2.13, 3.0.14, and 3.1.12 contain a patch for the issue. Othermitigations include removing usage of `Rack::Static`, or ensuring that`root:` points at a directory path which only contains files which shouldbe accessed publicly. It is likely that a CDN or similar static file serverwould also mitigate the issue.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| ruby-rack · Debian 12.15 (bookworm) | 2.2.13-1~deb12u1 | DEBIAN-CVE-2025-27610 | Mar 10, 2025 |
| ruby-rack · Debian 13.5 (trixie) | 3.1.12-1 | DEBIAN-CVE-2025-27610 | Mar 10, 2025 |
| ruby-rack · Debian 14 | 3.1.12-1 | DEBIAN-CVE-2025-27610 | Mar 10, 2025 |
| ruby-rack · Ubuntu 18.04.6 LTS (bionic) | 1.6.4-4ubuntu0.2+esm7 | ruby-rack 1.6.4-4ubuntu0.2+esm7 | Mar 10, 2025 |
| ruby-rack · Ubuntu 20.04 LTS (focal) | 2.0.7-2ubuntu0.1+esm6 | ruby-rack 2.0.7-2ubuntu0.1+esm6 | Mar 10, 2025 |
| ruby-rack · Ubuntu 22.04.1 LTS (jammy) | 2.1.4-5ubuntu1.1+esm1 | ruby-rack 2.1.4-5ubuntu1.1+esm1 | Mar 10, 2025 |
| ruby-rack · Ubuntu 24.04.5 LTS (noble) | 2.2.7-1ubuntu0.2 | ruby-rack 2.2.7-1ubuntu0.2 | Mar 10, 2025 |
| ruby-rack · Ubuntu 24.10 (oracular) | 2.2.7-1.1ubuntu0.1 | ruby-rack 2.2.7-1.1ubuntu0.1 | Jan 16, 2026 |
| ruby-rack · Ubuntu 25.04 (plucky) | 2.2.7-1.1ubuntu0.25.04.2 | ruby-rack 2.2.7-1.1ubuntu0.25.04.2 | Jan 16, 2026 |
| ruby-rack · Ubuntu 25.10 (questing) | 3.1.16-0.1 | ruby-rack 3.1.16-0.1 | May 7, 2025 |
| ruby-rack · Ubuntu 26.04.1 LTS (resolute) | 3.1.16-0.1 | ruby-rack 3.1.16-0.1 | May 7, 2025 |
| rubygem-rack · opensuse-leap 15.6 | 2.0.8-150000.3.26.1 | SUSE-SU-2025:0874-1 | Mar 14, 2025 |
| rubygem-rack · sles 15.6 | 2.0.8-150000.3.26.1 | SUSE-SU-2025:0874-1 | Mar 14, 2025 |
| rubygem-rack-1_6 · opensuse-leap 15.6 | 1.6.8-150000.3.3.1 | SUSE-SU-2025:0858-1 | Mar 13, 2025 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.