Patchwire CVEs, their patch status, and feeds to follow them

CVE-2025-27610

Fixed in a distro release EPSS 1%CVSS 7.5

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.

Published 2025-03-10 · CVE record · OSV

Products: Rack

Fixed upstream

EcosystemPackageFixed in
RubyGemsrack2.2.13
RubyGemsrack3.0.14
RubyGemsrack3.1.12

Distro releases

ReleasePackageFixed in
Chainguardgitaly-config-17.817.8.4-r31
Chainguardgitaly-config-17.917.9.2-r2
Chainguardgitlab-base-17.817.8.4-r31
Chainguardgitlab-base-17.917.9.2-r2
Chainguardgitlab-certificates-17.817.8.4-r31
Chainguardgitlab-certificates-17.917.9.2-r2
Chainguardgitlab-cfssl-self-sign-scripts-17.817.8.4-r31
Chainguardgitlab-cfssl-self-sign-scripts-17.917.9.2-r2
Chainguardgitlab-cng-17.817.8.4-r31
Chainguardgitlab-cng-17.917.9.2-r2
Chainguardgitlab-container-registry-17.817.8.4-r31
Chainguardgitlab-container-registry-17.917.9.2-r2
Chainguardgitlab-container-registry-scripts-17.817.8.4-r31
Chainguardgitlab-container-registry-scripts-17.917.9.2-r2
Chainguardgitlab-elasticsearch-indexer-17.817.8.4-r31
Chainguardgitlab-elasticsearch-indexer-17.917.9.2-r2
Chainguardgitlab-elasticsearch-indexer-compat-17.817.8.4-r31
Chainguardgitlab-elasticsearch-indexer-compat-17.917.9.2-r2
Chainguardgitlab-exporter-17.817.8.4-r31
Chainguardgitlab-exporter-17.917.9.2-r2
Chainguardgitlab-exporter-scripts-17.817.8.4-r31
Chainguardgitlab-exporter-scripts-17.917.9.2-r2
Chainguardgitlab-geo-logcursor-scripts-17.817.8.4-r31
Chainguardgitlab-geo-logcursor-scripts-17.917.9.2-r2
Chainguardgitlab-gitaly-scripts-17.817.8.4-r31
Chainguardgitlab-gitaly-scripts-17.917.9.2-r2
Chainguardgitlab-logger-17.817.8.4-r31
Chainguardgitlab-logger-17.917.9.2-r2
Chainguardgitlab-logger-compat-17.817.8.4-r31
Chainguardgitlab-logger-compat-17.917.9.2-r2
Chainguardgitlab-mailroom-17.817.8.4-r31
Chainguardgitlab-mailroom-17.917.9.2-r2
Chainguardgitlab-mailroom-scripts-17.817.8.4-r31
Chainguardgitlab-mailroom-scripts-17.917.9.2-r2
Chainguardgitlab-pages-scripts-17.817.8.4-r31
Chainguardgitlab-pages-scripts-17.917.9.2-r2
Chainguardgitlab-rails-scripts-17.817.8.4-r31
Chainguardgitlab-rails-scripts-17.917.9.2-r2
Chainguardgitlab-shell-17.817.8.4-r31
Chainguardgitlab-shell-17.917.9.2-r2
Chainguardgitlab-shell-scripts-17.817.8.4-r31
Chainguardgitlab-shell-scripts-17.917.9.2-r2
Chainguardgitlab-shell-scripts-compat-17.817.8.4-r31
Chainguardgitlab-shell-scripts-compat-17.917.9.2-r2
Chainguardgitlab-sidekiq-scripts-17.817.8.4-r31
Chainguardgitlab-sidekiq-scripts-17.917.9.2-r2
Chainguardgitlab-toolbox-scripts-17.817.8.4-r31
Chainguardgitlab-toolbox-scripts-17.917.9.2-r2
Chainguardgitlab-webservice-config-17.817.8.4-r31
Chainguardgitlab-webservice-config-17.917.9.2-r2
Chainguardgitlab-webservice-scripts-17.817.8.4-r31
Chainguardgitlab-webservice-scripts-17.917.9.2-r2
Chainguardgitlab-workhorse-scripts-17.817.8.4-r31
Chainguardgitlab-workhorse-scripts-17.917.9.2-r2
Chainguardkube-fluentd-operator1.18.2-r31
Chainguardkube-fluentd-operator-compat1.18.2-r31
Chainguardkube-fluentd-operator-default-config1.18.2-r31
Chainguardkube-fluentd-operator-oci-entrypoint1.18.2-r31
Chainguardlogstash-88.17.3-r2
Chainguardlogstash-8-bitnami-compat8.17.3-r2
Chainguardlogstash-8-compat8.17.3-r2
Chainguardlogstash-8-env2yaml8.17.3-r2
Chainguardlogstash-8-iamguarded-compat8.17.3-r2
Chainguardlogstash-8-with-output-opensearch8.17.3-r2
Chainguardlogstash-jre-bcfips8.17.4-r0
Chainguardlogstash-jre-bcfips-compat8.17.4-r0
Chainguardlogstash-jre-bcfips-env2yaml8.17.4-r0
Chainguardlogstash-jre-bcfips-with-output-opensearch8.17.4-r0
Chainguardruby3.2-rack-2.22.2.22-r0
Chainguardruby3.2-rails-7.17.1.5.1-r4
Chainguardruby3.2-rails-7.1-compat7.1.5.1-r4
Chainguardruby3.2-rails-8.08.0.2-r0
Chainguardruby3.2-rails-8.0-compat8.0.2-r0
Chainguardruby3.3-rack-2.22.2.22-r0
Chainguardruby3.3-rails-7.17.1.5.1-r4
Chainguardruby3.3-rails-7.1-compat7.1.5.1-r4
Chainguardruby3.3-rails-7.27.2.2.1-r4
Chainguardruby3.3-rails-7.2-compat7.2.2.1-r4
Chainguardruby3.4-rack-2.22.2.22-r0
Chainguardruby3.4-rails-7.17.1.5.1-r4
Chainguardruby3.4-rails-7.1-compat7.1.5.1-r4
Chainguardruby3.4-rails-7.27.2.2.1-r4
Chainguardruby3.4-rails-7.2-compat7.2.2.1-r4
Chainguardruby3.4-rails-8.08.0.2-r0
Chainguardruby3.4-rails-8.0-compat8.0.2-r0
Chainguardruby4.0-rack-2.22.2.22-r0
Debian 11ruby-rack2.1.4-3+deb11u3
Debian 12ruby-rack2.2.13-1~deb12u1
Debian 13ruby-rack3.1.12-1
Debian 14ruby-rack3.1.12-1
Red Hat satellite 6.14rubygem-graphql0:1.13.24-1.el8sat
Red Hat satellite 6.14rubygem-rack0:2.2.13-1.el8sat
Red Hat satellite 6.15python-jinja20:3.1.5-1.el8pc
Red Hat satellite 6.15python3.11-jinja20:3.1.5-1.el8pc
Red Hat satellite 6.15rubygem-graphql0:1.13.24-1.el8sat
Red Hat satellite 6.15rubygem-rack0:2.2.13-1.el8sat
Red Hat satellite 6.16rubygem-graphql0:1.13.24-1.el8sat
Red Hat satellite 6.16rubygem-graphql0:1.13.24-1.el9sat
Red Hat satellite 6.16rubygem-rack0:2.2.13-1.el8sat
Red Hat satellite 6.16rubygem-rack0:2.2.13-1.el9sat
Red Hat satellite 6.17python-django0:4.2.19-1.el9pc
Red Hat satellite 6.17python-jinja20:3.1.5-1.el9pc
Red Hat satellite 6.17python3.11-django0:4.2.19-1.el9pc
Red Hat satellite 6.17python3.11-jinja20:3.1.5-1.el9pc
Red Hat satellite 6.17rubygem-graphql0:1.13.24-1.el9sat
Red Hat satellite 6.17rubygem-rack0:2.2.13-1.el9sat
Red Hat satellite capsule 6.14rubygem-rack0:2.2.13-1.el8sat
Red Hat satellite capsule 6.15python-jinja20:3.1.5-1.el8pc
Red Hat satellite capsule 6.15python3.11-jinja20:3.1.5-1.el8pc
Red Hat satellite capsule 6.15rubygem-rack0:2.2.13-1.el8sat
Red Hat satellite capsule 6.16rubygem-rack0:2.2.13-1.el9sat
Red Hat satellite capsule 6.16rubygem-rack0:2.2.13-1.el8sat
Red Hat satellite capsule 6.17python-django0:4.2.19-1.el9pc
Red Hat satellite capsule 6.17python-jinja20:3.1.5-1.el9pc
Red Hat satellite capsule 6.17python3.11-django0:4.2.19-1.el9pc
Red Hat satellite capsule 6.17python3.11-jinja20:3.1.5-1.el9pc
Red Hat satellite capsule 6.17rubygem-rack0:2.2.13-1.el9sat
SUSE Linux Enterprise High Availability Extension 15 SP3rubygem-rack2.0.8-150000.3.26.1
SUSE Linux Enterprise High Availability Extension 15 SP4rubygem-rack2.0.8-150000.3.26.1
SUSE Linux Enterprise High Availability Extension 15 SP5rubygem-rack2.0.8-150000.3.26.1
SUSE Linux Enterprise High Availability Extension 15 SP6rubygem-rack2.0.8-150000.3.26.1
Ubuntu 24.04 LTSruby-rack2.2.7-1ubuntu0.2
Ubuntu 25.04ruby-rack2.2.7-1.1ubuntu0.25.04.2
Ubuntu 25.10ruby-rack3.1.16-0.1
Ubuntu 26.04 LTSruby-rack3.1.16-0.1
Ubuntu Pro 14.04 LTSruby-rack1.5.2-3+deb8u3ubuntu1~esm9
Ubuntu Pro 16.04 LTSruby-rack1.6.4-3ubuntu0.2+esm7
Ubuntu Pro 18.04 LTSruby-rack1.6.4-4ubuntu0.2+esm7
Ubuntu Pro 20.04 LTSruby-rack2.0.7-2ubuntu0.1+esm6
Ubuntu Pro 22.04 LTSruby-rack2.1.4-5ubuntu1.1+esm1
Wolfigitaly-config-17.817.8.4-r31
Wolfigitaly-config-17.917.9.2-r2
Wolfigitlab-base-17.817.8.4-r31
Wolfigitlab-base-17.917.9.2-r2
Wolfigitlab-certificates-17.817.8.4-r31
Wolfigitlab-certificates-17.917.9.2-r2
Wolfigitlab-cfssl-self-sign-scripts-17.817.8.4-r31
Wolfigitlab-cfssl-self-sign-scripts-17.917.9.2-r2
Wolfigitlab-cng-17.817.8.4-r31
Wolfigitlab-cng-17.917.9.2-r2
Wolfigitlab-container-registry-17.817.8.4-r31
Wolfigitlab-container-registry-17.917.9.2-r2
Wolfigitlab-container-registry-scripts-17.817.8.4-r31
Wolfigitlab-container-registry-scripts-17.917.9.2-r2
Wolfigitlab-elasticsearch-indexer-17.817.8.4-r31
Wolfigitlab-elasticsearch-indexer-17.917.9.2-r2
Wolfigitlab-elasticsearch-indexer-compat-17.817.8.4-r31
Wolfigitlab-elasticsearch-indexer-compat-17.917.9.2-r2
Wolfigitlab-exporter-17.817.8.4-r31
Wolfigitlab-exporter-17.917.9.2-r2
Wolfigitlab-exporter-scripts-17.817.8.4-r31
Wolfigitlab-exporter-scripts-17.917.9.2-r2
Wolfigitlab-geo-logcursor-scripts-17.817.8.4-r31
Wolfigitlab-geo-logcursor-scripts-17.917.9.2-r2
Wolfigitlab-gitaly-scripts-17.817.8.4-r31
Wolfigitlab-gitaly-scripts-17.917.9.2-r2
Wolfigitlab-logger-17.817.8.4-r31
Wolfigitlab-logger-17.917.9.2-r2
Wolfigitlab-logger-compat-17.817.8.4-r31
Wolfigitlab-logger-compat-17.917.9.2-r2
Wolfigitlab-mailroom-17.817.8.4-r31
Wolfigitlab-mailroom-17.917.9.2-r2
Wolfigitlab-mailroom-scripts-17.817.8.4-r31
Wolfigitlab-mailroom-scripts-17.917.9.2-r2
Wolfigitlab-pages-scripts-17.817.8.4-r31
Wolfigitlab-pages-scripts-17.917.9.2-r2
Wolfigitlab-rails-scripts-17.817.8.4-r31
Wolfigitlab-rails-scripts-17.917.9.2-r2
Wolfigitlab-shell-17.817.8.4-r31
Wolfigitlab-shell-17.917.9.2-r2
Wolfigitlab-shell-scripts-17.817.8.4-r31
Wolfigitlab-shell-scripts-17.917.9.2-r2
Wolfigitlab-shell-scripts-compat-17.817.8.4-r31
Wolfigitlab-shell-scripts-compat-17.917.9.2-r2
Wolfigitlab-sidekiq-scripts-17.817.8.4-r31
Wolfigitlab-sidekiq-scripts-17.917.9.2-r2
Wolfigitlab-toolbox-scripts-17.817.8.4-r31
Wolfigitlab-toolbox-scripts-17.917.9.2-r2
Wolfigitlab-webservice-config-17.817.8.4-r31
Wolfigitlab-webservice-config-17.917.9.2-r2
Wolfigitlab-webservice-scripts-17.817.8.4-r31
Wolfigitlab-webservice-scripts-17.917.9.2-r2
Wolfigitlab-workhorse-scripts-17.817.8.4-r31
Wolfigitlab-workhorse-scripts-17.917.9.2-r2
Wolfikube-fluentd-operator1.18.2-r31
Wolfikube-fluentd-operator-compat1.18.2-r31
Wolfikube-fluentd-operator-default-config1.18.2-r31
Wolfikube-fluentd-operator-oci-entrypoint1.18.2-r31
Wolfilogstash-88.17.3-r2
Wolfilogstash-8-bitnami-compat8.17.3-r2
Wolfilogstash-8-compat8.17.3-r2
Wolfilogstash-8-env2yaml8.17.3-r2
Wolfilogstash-8-iamguarded-compat8.17.3-r2
Wolfilogstash-8-with-output-opensearch8.17.3-r2
Wolfiruby3.2-rack-2.22.2.22-r0
Wolfiruby3.2-rails-8.08.0.2-r0
Wolfiruby3.2-rails-8.0-compat8.0.2-r0
Wolfiruby3.3-rack-2.22.2.22-r0
Wolfiruby3.4-rack-2.22.2.22-r0
Wolfiruby3.4-rails-8.08.0.2-r0
Wolfiruby3.4-rails-8.0-compat8.0.2-r0
Wolfiruby4.0-rack-2.22.2.22-r0
openSUSE Leap 15.6rubygem-rack2.0.8-150000.3.26.1
openSUSE Leap 15.6rubygem-rack-1_61.6.8-150000.3.3.1
openSUSE Tumbleweedrubygem-rack-2.22.2.13-1.1
openSUSE Tumbleweedrubygem-rack-2.22.2.22-1.1