Upstream information

CVE-2025-27610 at MITRE

Description

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:` unexpectedly. The vulnerability occurs because `Rack::Static` does not properly sanitize user-supplied paths before serving files. Specifically, encoded path traversal sequences are not correctly validated, allowing attackers to access files outside the designated static file directory. By exploiting this vulnerability, an attacker 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. Other mitigations include removing usage of `Rack::Static`, or ensuring that `root:` points at a directory path which only contains files which should be accessed publicly. It is likely that a CDN or similar static file server would also mitigate the issue.

SUSE information

Overall state of this security issue: Pending

This issue is currently rated as having important severity.

CVSS v3 Scores
  CNA (GitHub) SUSE
Base Score 7.5 7.5
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Attack Vector Network Network
Attack Complexity Low Low
Privileges Required None None
User Interaction None None
Scope Unchanged Unchanged
Confidentiality Impact High High
Integrity Impact None None
Availability Impact None None
CVSSv3 Version 3.1 3.1
CVSS v4 Scores
  SUSE
Base Score 8.7
Vector CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Attack Vector Network
Attack Complexity Low
Attack Requirements None
Privileges Required None
User Interaction None
Vulnerable System Confidentiality Impact High
Vulnerable System Integrity Impact None
Vulnerable System Availability Impact None
Subsequent System Confidentiality Impact None
Subsequent System Integrity Impact None
Subsequent System Availability Impact None
CVSSv4 Version 4.0
SUSE Bugzilla entry: 1239298 [NEW]

No SUSE Security Announcements cross referenced.

List of released packages

Product(s) Fixed package version(s) References
openSUSE Tumbleweed
  • ruby3.4-rubygem-rack-2.2 >= 2.2.13-1.1
Patchnames:
openSUSE-Tumbleweed-2025-14876


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification. The updates are grouped by state of their lifecycle. SUSE product lifecycles are documented on the lifecycle page.

Product(s) Source package State
Products under general support and receiving all security fixes.
SUSE Linux Enterprise High Availability Extension 15 SP6 rubygem-rack Affected
openSUSE Leap 15.6 rubygem-rack Affected
openSUSE Leap 15.6 rubygem-rack-1_6 Affected
Products under Long Term Service Pack support and receiving important and critical security fixes.
SUSE Linux Enterprise High Availability Extension 15 SP3 rubygem-rack Affected
SUSE Linux Enterprise High Availability Extension 15 SP4 rubygem-rack Affected
SUSE Linux Enterprise High Availability Extension 15 SP5 rubygem-rack Affected
Products past their end of life and not receiving proactive updates anymore.
SUSE Linux Enterprise High Availability Extension 15 rubygem-rack Affected
SUSE Linux Enterprise High Availability Extension 15 SP1 rubygem-rack Affected
SUSE Linux Enterprise High Availability Extension 15 SP2 rubygem-rack Affected
openSUSE Leap 15.3 rubygem-rack Affected
openSUSE Leap 15.3 rubygem-rack-1_6 Affected
openSUSE Leap 15.4 rubygem-rack Affected
openSUSE Leap 15.4 rubygem-rack-1_6 Affected
openSUSE Leap 15.5 rubygem-rack Affected
openSUSE Leap 15.5 rubygem-rack-1_6 Affected


SUSE Timeline for this CVE

CVE page created: Tue Mar 11 02:00:02 2025
CVE page last modified: Wed Mar 12 20:07:11 2025