Description
actionpack/lib/action_dispatch/routing/route_set.rb in Action Pack in Ruby on Rails 4.x before 4.2.5.1 and 5.x before 5.0.0.beta1.1 allows remote attackers to cause a denial of service (superfluous caching and memory consumption) by leveraging an application's use of a wildcard controller route.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | rails | 2:4.2.5.1-1 | — |
| Debian 13 | rails | 2:4.2.5.1-1 | — |
| Debian 12 | rails | 2:4.2.5.1-1 | — |
| Debian 8 | rails | 2:4.1.8-1+deb8u1 | DSA-3464-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 2 | rh-ror41-rubygem-actionpack +2 | 1:4.1.5-3.el6 | RHSA-2016:0296 |
| RHEL 2 | rh-ror41-rubygem-actionview +1 | 4.1.5-4.el6 | RHSA-2016:0296 |
| RHEL 2 | rh-ror41-rubygem-activemodel +1 | 4.1.5-2.el6 | RHSA-2016:0296 |
| RHEL 2 | rh-ror41-rubygem-activerecord +1 | 1:4.1.5-2.el6 | RHSA-2016:0296 |
| RHEL 2 | ror40-rubygem-actionpack +1 | 1:4.0.2-7.el6 | RHSA-2016:0454 |
| RHEL 2 | ror40-rubygem-activerecord +1 | 1:4.0.2-6.el6 | RHSA-2016:0454 |
| RHEL 2 | ror40-rubygem-activesupport | 1:4.0.2-4.el6 | RHSA-2016:0454 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 | portus | 2.0.3-2.4 | SUSE-SU-2016:1146-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SUSE OpenStack Cloud 5 | rubygem-actionpack-4_1 | 4.1.9-9.1 | SUSE-SU-2016:0858-1 |
| SUSE Enterprise Storage 2.1 | rubygem-actionpack-4_2 | 4.2.2-6.1 | SUSE-SU-2016:0457-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| RubyGems | actionpack | >= 4.0.0, < 4.2.5.1 | 4.2.5.1 | GHSA-9h6g-gp95-x3q5 |
Advisories 7
- RHSA-2016:0454 Red Hat Security Advisory: ror40 security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2016:0296 Red Hat Security Advisory: rh-ror41 security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- WID-SEC-2025-1085 Ruby on Rails: Mehrere Schwachstellen BSI CERT-Bund (WID) · Mar 17, 2026
- DSA-3464-1 rails - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2016:0858-1 Security update for rubygem-actionpack-4_1 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2016:1146-1 Security update for portus SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2016:0457-1 Security update for rubygem-actionpack-4_2 SUSE / openSUSE Security Updates · Feb 4, 2026
References
- [ruby-security-ann] 20160125 [CVE-2015-7581] Object leak vulnerability for wildcard controller routes in Action Pack mailing-list
- openSUSE-SU-2016:0372 vendor-advisory
- [oss-security] 20160125 [CVE-2015-7581] Object leak vulnerability for wildcard controller routes in Action Pack mailing-list
- FEDORA-2016-94e71ee673 vendor-advisory
- FEDORA-2016-f486068393 vendor-advisory
- SUSE-SU-2016:1146 vendor-advisory
- 1034816 vdb-entry
- DSA-3464 vendor-advisory
- RHSA-2016:0296 vendor-advisory
- 81677 vdb-entry