CVE-2015-7581 json
actionpack is vulnerable to denial of service because of a wildcard controller route
published 10y ago modified 4mo ago also GHSA-9h6g-gp95-x3q5 , EUVD-2017-0205
- cvss
- 7.5
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 6.7%
- EPSS 6.7% chance of exploitation in 30 days, percentile 93%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- rubygems actionpack 4.2.5.1
- rails Debian 14, Debian 13, Debian 12 2:4.2.5.1-1
debian advisories DEBIAN-CVE-2015-7581
- ror40-rubygem-actionpack RHEL 2 SOFTWARE_COLLECTIONS 1:4.0.2-7.el6
- ror40-rubygem-actionpack RHEL 2 SOFTWARE_COLLECTIONS 1:4.0.2-7.el7
- ror40-rubygem-activerecord RHEL 2 SOFTWARE_COLLECTIONS 1:4.0.2-6.el6
- ror40-rubygem-activerecord RHEL 2 SOFTWARE_COLLECTIONS 1:4.0.2-6.el7
- ror40-rubygem-activesupport RHEL 2 SOFTWARE_COLLECTIONS 1:4.0.2-4.el6
- ror40-rubygem-activesupport RHEL 2 SOFTWARE_COLLECTIONS 1:4.0.2-4.el7
- rh-ror41-rubygem-actionpack RHEL 2 SOFTWARE_COLLECTIONS 1:4.1.5-3.el6
- rh-ror41-rubygem-actionpack RHEL 2 SOFTWARE_COLLECTIONS 1:4.1.5-3.el7
red hat advisories RHSA-2016:0454RHSA-2016:0296
- portus SLE Module for Containers 12 2.0.3-2.4
- rubygem-actionpack-4_1 OpenStack Cloud 5 4.1.9-9.1
- rubygem-actionpack-4_2 Enterprise Storage 2.1 4.2.2-6.1
suse advisories SUSE-SU-2016:1146-1SUSE-SU-2016:0858-1SUSE-SU-2016:0457-1
Is CVE-2015-7581 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2015-7581 updated cvss 4.3
rubygem-actionpack: Object leak vulnerability for wildcard controller routes in Action Pack
-
Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) ror40-rubygem-actionpack 4.0.2-7.el6, ror40-rubygem-activerecord 4.0.2-6.el6, rh-ror41-rubygem-actionpack 4.1.5-3.el6, rh-ror41-rubygem-actionview 4.1.5-4.el6, ror40-rubygem-activesupport 4.0.2-4.el6, rh-ror41-rubygem-activemodel 4.1.5-2.el6, +2 more Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) ror40-rubygem-actionpack 4.0.2-7.el7, ror40-rubygem-activerecord 4.0.2-6.el7, rh-ror41-rubygem-actionpack 4.1.5-3.el7, rh-ror41-rubygem-actionview 4.1.5-4.el7, ror40-rubygem-activesupport 4.0.2-4.el7, rh-ror41-rubygem-activemodel 4.1.5-2.el7, +2 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.6) ror40-rubygem-actionpack 4.0.2-7.el6, ror40-rubygem-activerecord 4.0.2-6.el6, rh-ror41-rubygem-actionpack 4.1.5-3.el6, rh-ror41-rubygem-actionview 4.1.5-4.el6, ror40-rubygem-activesupport 4.0.2-4.el6, rh-ror41-rubygem-activemodel 4.1.5-2.el6, +2 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.7) ror40-rubygem-actionpack 4.0.2-7.el6, ror40-rubygem-activerecord 4.0.2-6.el6, rh-ror41-rubygem-actionpack 4.1.5-3.el6, rh-ror41-rubygem-actionview 4.1.5-4.el6, ror40-rubygem-activesupport 4.0.2-4.el6, rh-ror41-rubygem-activemodel 4.1.5-2.el6, +2 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.1) ror40-rubygem-actionpack 4.0.2-7.el7, ror40-rubygem-activerecord 4.0.2-6.el7, rh-ror41-rubygem-actionpack 4.1.5-3.el7, rh-ror41-rubygem-actionview 4.1.5-4.el7, ror40-rubygem-activesupport 4.0.2-4.el7, rh-ror41-rubygem-activemodel 4.1.5-2.el7, +2 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.2) ror40-rubygem-actionpack 4.0.2-7.el7, ror40-rubygem-activerecord 4.0.2-6.el7, rh-ror41-rubygem-actionpack 4.1.5-3.el7, rh-ror41-rubygem-actionview 4.1.5-4.el7, ror40-rubygem-activesupport 4.0.2-4.el7, rh-ror41-rubygem-activemodel 4.1.5-2.el7, +2 morefixed: vendor fix RHSA-2016:0296
+2 more productsfewer
Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) ror40-rubygem-actionpack 4.0.2-7.el6, ror40-rubygem-activerecord 4.0.2-6.el6, rh-ror41-rubygem-actionpack 4.1.5-3.el6, rh-ror41-rubygem-actionview 4.1.5-4.el6, ror40-rubygem-activesupport 4.0.2-4.el6, rh-ror41-rubygem-activemodel 4.1.5-2.el6, +2 more Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) ror40-rubygem-actionpack 4.0.2-7.el7, ror40-rubygem-activerecord 4.0.2-6.el7, rh-ror41-rubygem-actionpack 4.1.5-3.el7, rh-ror41-rubygem-actionview 4.1.5-4.el7, ror40-rubygem-activesupport 4.0.2-4.el7, rh-ror41-rubygem-activemodel 4.1.5-2.el7, +2 more -
Red Hat CloudForms Management Engine 5 ruby193-rubygem-actionpack Red Hat Software Collections ruby193-rubygem-actionpack Red Hat Subscription Asset Manager rubygem-actionpack, ruby193-rubygem-actionpacknot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
6.72% chance of exploitation in the next 30 days, higher than 93% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| GitHub | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | actionpack | >=4.0.0, <4.2.5.1 |
4.2.5.1 |
Classification
- Weakness
-
- CWE-399 Resource Management Errors
- Technology feeds
References
-
lists.opensuse.org
/opensuse-updates/2016-02/msg00043.html
vendor-advisory, web
-
lists.fedoraproject.org
/pipermail/package-announce/2016-February/178043.html
vendor-advisory, web
-
lists.fedoraproject.org
/pipermail/package-announce/2016-February/178067.html
vendor-advisory, web
-
lists.opensuse.org
/opensuse-security-announce/2016-04/msg00053.html
vendor-advisory, web
-
debian.org
/security/2016/dsa-3464
vendor-advisory, web
-
rhn.redhat.com
/errata/RHSA-2016-0296.html
vendor-advisory, web
-
groups.google.com
/forum/message/raw?msg=ruby-security-ann/dthJ5wL69JE/IdvCimtZEgAJ
mailing-list, web
-
openwall.com
/lists/oss-security/2016/01/25/16
mailing-list, web
-
securitytracker.com
/id/1034816
vdb-entry
-
securityfocus.com
/bid/81677
vdb-entry
-
nvd.nist.gov
/vuln/detail/CVE-2015-7581
advisory
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2015-7581.yml
web
-
groups.google.com
/forum/#!topic/rubyonrails-security/dthJ5wL69JE
web
-
web.archive.org
/web/20200228001849/http://www.securityfocus.com/bid/81677
web
-
web.archive.org
/web/20200516093752/http://www.securitytracker.com/id/1034816
web
Sources
- CVE List CVE-2015-7581
- GitHub Advisory GHSA-9h6g-gp95-x3q5
- NVD CVE-2015-7581
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.