CVE-2015-7581 — Vulnerability in actionpack — CVE Details
actionpack is vulnerable to denial of service because of a wildcard controller route
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (6.72%). Schedule for your next planned update.
Does your project use an affected actionpack version?
Paste your Gemfile.lock to check it for CVE-2015-7581 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
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.
Advisory Timeline
- First published October 24, 2017 (3320 days ago).
- Last revised November 29, 2024 — 2592 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
gem install actionpack -v 4.2.5.1
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: RubyGems (1).
| Package | Fixed In |
|---|---|
| actionpack RubyGems · Affected: 4.0.0, 4.0.1, 4.0.1.rc1, 4.0.1.rc2 (+83 more) | 4.2.5.1 |
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2015-7581ADVISORY
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2015-7581.ymlWEB
- https://groups.google.com/forum/#!topic/rubyonrails-security/dthJ5wL69JEWEB
- https://groups.google.com/forum/message/raw?msg=ruby-security-ann/dthJ5wL69JE/IdvCimtZEgAJWEB
- https://web.archive.org/web/20200228001849/http://www.securityfocus.com/bid/81677WEB
- https://web.archive.org/web/20200516093752/http://www.securitytracker.com/id/1034816WEB
- https://lists.fedoraproject.org/pipermail/package-announce/2016-February/178043.htmlWEB
- https://lists.fedoraproject.org/pipermail/package-announce/2016-February/178067.htmlWEB
- https://lists.opensuse.org/opensuse-security-announce/2016-04/msg00053.htmlWEB
- https://lists.opensuse.org/opensuse-updates/2016-02/msg00043.htmlWEB
- https://rhn.redhat.com/errata/RHSA-2016-0296.htmlWEB
- https://www.debian.org/security/2016/dsa-3464WEB
- https://www.openwall.com/lists/oss-security/2016/01/25/16WEB
Frequently Asked Questions
- What is CVE-2015-7581?
- actionpack is vulnerable to denial of service because of a wildcard controller route. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.5/10).
- How do I check if my project is affected by CVE-2015-7581?
- CVE-2015-7581 affects actionpack. It has a 6.7% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2015-7581 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This places it in the top 10% of EPSS-scored vulnerabilities — 94.7% of tracked vulnerabilities score at or below it, so it is substantially more likely to be exploited than most tracked vulnerabilities.
Also Known As
Related CVEs
- CVE-2021-22902HIGH
Denial of Service in Action Dispatch
- CVE-2021-22885HIGH
Action Pack contains Information Disclosure / Unintended Method Execution vulnerability
- CVE-2022-22577MEDIUM
Cross-site Scripting Vulnerability in Action Pack
- CVE-2011-1497MEDIUM
Cross site scripting in actionpack Rubygem
- CVE-2021-44528MEDIUM
actionpack Open Redirect in Host Authorization Middleware
- CVE-2026-126073MEDIUM
Action Pack: Possible cache poisoning in Action Pack content negotiation
- CVE-2026-126072MEDIUM
Action Pack: Possible DoS vulnerability in Action Controller Live streaming
- CVE-2026-33167LOW
Rails has a possible XSS vulnerability in its Action Pack debug exceptions