CVE-2015-7581
published 2016-02-16CVE-2015-7581: 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…
PriorityP337high7.5CVSS 3.0
AVNACLPRNUINSUCNINAH
EPSS
6.54%
93.0th percentile
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.
Affected
33 ranges· showing 25
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| actionpack_project | actionpack | >= 4.0.0 < 4.2.5.1 | 4.2.5.1 |
| debian | rails | < rails 2:4.2.5.1-1 (bookworm) | rails 2:4.2.5.1-1 (bookworm) |
| rubyonrails | rails | — | — |
| rubyonrails | rails | — | — |
| rubyonrails | rails | — | — |
| rubyonrails | rails | — | — |
| rubyonrails | rails | — | — |
| rubyonrails | rails | — | — |
| rubyonrails | rails | — | — |
| rubyonrails | rails | — | — |
| rubyonrails | rails | — | — |
| rubyonrails | rails | — | — |
| rubyonrails | rails | — | — |
| rubyonrails | rails | — | — |
| rubyonrails | rails | — | — |
| rubyonrails | rails | — | — |
| rubyonrails | rails | — | — |
| rubyonrails | rails | — | — |
| rubyonrails | rails | — | — |
| rubyonrails | rails | — | — |
| rubyonrails | rails | — | — |
| rubyonrails | rails | — | — |
| rubyonrails | rails | — | — |
| rubyonrails | rails | — | — |
| rubyonrails | rails | — | — |
CVSS provenance
nvdv3.07.5HIGHCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:N/I:N/A:P
osv7.5HIGH
vendor_debian7.5HIGH
vendor_redhat7.5HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
rubygem-actionpack: Object leak vulnerability for wildcard controller routes in Action Pack
vendor_redhat·2016-01-25·CVSS 7.5
CVE-2015-7581 [HIGH] CWE-770 rubygem-actionpack: Object leak vulnerability for wildcard controller routes in Action Pack
rubygem-actionpack: Object leak vulnerability for wildcard controller routes in Action Pack
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.
A flaw was found in the Action Pack component's caching of controller references. An attacker could use this flaw to cause unbounded memory growth, potentially resulting in a denial of service.
Package: ruby193-rubygem-actionpack (CloudForms Management Engine 5.2) - Not affected
Package: ruby193-rubygem-actionpack (CloudForms Management Engine 5.3) - Not affected
Package: ruby193-rubygem-actionpack (Red
Debian
CVE-2015-7581: rails - actionpack/lib/action_dispatch/routing/route_set.rb in Action Pack in Ruby on Ra...
vendor_debian·2015·CVSS 7.5
CVE-2015-7581 [HIGH] CVE-2015-7581: rails - actionpack/lib/action_dispatch/routing/route_set.rb in Action Pack in Ruby on Ra...
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.
Scope: local
bookworm: resolved (fixed in 2:4.2.5.1-1)
bullseye: resolved (fixed in 2:4.2.5.1-1)
forky: resolved (fixed in 2:4.2.5.1-1)
sid: resolved (fixed in 2:4.2.5.1-1)
trixie: resolved (fixed in 2:4.2.5.1-1)
OSV
actionpack is vulnerable to denial of service because of a wildcard controller route
osv·2017-10-24
CVE-2015-7581 [HIGH] actionpack is vulnerable to denial of service because of a wildcard controller route
actionpack is vulnerable to denial of service because of a wildcard controller route
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.
GHSA
actionpack is vulnerable to denial of service because of a wildcard controller route
ghsa·2017-10-24
CVE-2015-7581 [HIGH] actionpack is vulnerable to denial of service because of a wildcard controller route
actionpack is vulnerable to denial of service because of a wildcard controller route
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.
OSV
CVE-2015-7581: actionpack/lib/action_dispatch/routing/route_set
osv·2016-02-16·CVSS 7.5
CVE-2015-7581 [HIGH] CVE-2015-7581: actionpack/lib/action_dispatch/routing/route_set
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.
No detection rules found.
No public exploits indexed.
HackerOne
DoS Attack in Controller Lookup Code
hackerone·2016-03-13·CVSS 7.5
CVE-2015-7581 [HIGH] DoS Attack in Controller Lookup Code
DoS Attack in Controller Lookup Code
Object leak vulnerability for wildcard controller routes in Action Pack
There is an object leak vulnerability for wildcard controllers in Action Pack.
This vulnerability has been assigned the CVE identifier CVE-2015-7581.
Versions Affected: >= 4.0.0 and < 5.0.0.beta1
Not affected: < 4.0.0, 5.0.0.beta1 and newer
Fixed Versions: 4.2.5.1, 4.1.14.1
Impact
Users that have a route that contains the string ":controller" are susceptible
to objects being leaked globally which can lead to unbounded memory growth.
To identify if your application is vulnerable, look for routes that contain
":controller".
Internally, Action Pack keeps a map of "url controller name" to "controller
class name". This map is cached globally, and is populated even if the
controller
Bugzilla
CVE-2015-7581 rubygem-actionpack: Object leak vulnerability for wildcard controller routes in Action Pack [fedora-all]
bugzilla·2016-01-26·CVSS 7.5
CVE-2015-7581 [HIGH] CVE-2015-7581 rubygem-actionpack: Object leak vulnerability for wildcard controller routes in Action Pack [fedora-all]
CVE-2015-7581 rubygem-actionpack: Object leak vulnerability for wildcard controller routes in Action Pack [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issu
Bugzilla
CVE-2015-7581 rubygem-actionpack: Object leak vulnerability for wildcard controller routes in Action Pack
bugzilla·2016-01-26·CVSS 7.5
CVE-2015-7581 [HIGH] CVE-2015-7581 rubygem-actionpack: Object leak vulnerability for wildcard controller routes in Action Pack
CVE-2015-7581 rubygem-actionpack: Object leak vulnerability for wildcard controller routes in Action Pack
An object leak vulnerability for wildcard controllers in Action Pack was reported. Users that have a route that contains the string ":controller" are susceptible to objects being leaked globally which can lead to unbounded memory growth.
External References:
https://groups.google.com/forum/#!msg/rubyonrails-security/dthJ5wL69JE/YzPnFelbFQAJ
http://weblog.rubyonrails.org/2016/1/25/Rails-5-0-0-beta1-1-4-2-5-1-4-1-14-1-3-2-22-1-and-rails-html-sanitizer-1-0-3-have-been-released/
Discussion:
Created rubygem-actionpack tracking bugs for this issue:
Affects: fedora-all [bug 1301983]
---
Upstream commit:
4.1 https://github.com/rails/rails/commit/98629dfcce8d5ac2b97d0efece41b686daef8f0
http://lists.fedoraproject.org/pipermail/package-announce/2016-February/178043.htmlhttp://lists.fedoraproject.org/pipermail/package-announce/2016-February/178067.htmlhttp://lists.opensuse.org/opensuse-security-announce/2016-04/msg00053.htmlhttp://lists.opensuse.org/opensuse-updates/2016-02/msg00043.htmlhttp://rhn.redhat.com/errata/RHSA-2016-0296.htmlhttp://www.debian.org/security/2016/dsa-3464http://www.openwall.com/lists/oss-security/2016/01/25/16http://www.securityfocus.com/bid/81677http://www.securitytracker.com/id/1034816https://groups.google.com/forum/message/raw?msg=ruby-security-ann/dthJ5wL69JE/IdvCimtZEgAJhttp://lists.fedoraproject.org/pipermail/package-announce/2016-February/178043.htmlhttp://lists.fedoraproject.org/pipermail/package-announce/2016-February/178067.htmlhttp://lists.opensuse.org/opensuse-security-announce/2016-04/msg00053.htmlhttp://lists.opensuse.org/opensuse-updates/2016-02/msg00043.htmlhttp://rhn.redhat.com/errata/RHSA-2016-0296.htmlhttp://www.debian.org/security/2016/dsa-3464http://www.openwall.com/lists/oss-security/2016/01/25/16http://www.securityfocus.com/bid/81677http://www.securitytracker.com/id/1034816https://groups.google.com/forum/message/raw?msg=ruby-security-ann/dthJ5wL69JE/IdvCimtZEgAJ
2016-02-16
Published