CVE-2015-7581
actionpack is vulnerable to denial of service because of a wildcard controller route
Also known as GHSA-9h6g-gp95-x3q5
Mitigation
- Upgrade actionpack to 4.2.5.1 or later.
Who should check
- Projects that depend on RubyGems package actionpack (>= 4.0.0, < 4.2.5.1)
- Anyone running n/a (versions: see the vendor advisory)
Vulnerability facts
- Affected
- actionpack >= 4.0.0, < 4.2.5.1
- Fixed in
- 4.2.5.1
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.5 (v3.0, NVD)CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 6.71% chance of exploitation in 30 days (percentile 95, 2026-11-26)
- CWE
- CWE-399
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| RubyGems actionpack | >= 4.0.0, < 4.2.5.1 | 4.2.5.1 | osv |
| n/a | — | — | nvd |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2015-7581. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2015-7581.md Affected: actionpack >= 4.0.0, < 4.2.5.1 Fixed in: 4.2.5.1 Steps: 1. Search this machine and project for actionpack (RubyGems), n/a: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
- http://lists.opensuse.org/opensuse-updates/2016-02/msg00043.html
- http://lists.fedoraproject.org/pipermail/package-announce/2016-February/178043.html
- http://lists.fedoraproject.org/pipermail/package-announce/2016-February/178067.html
- http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00053.html
- http://www.debian.org/security/2016/dsa-3464
- http://rhn.redhat.com/errata/RHSA-2016-0296.html
- https://nvd.nist.gov/vuln/detail/CVE-2015-7581
Other
- https://groups.google.com/forum/message/raw?msg=ruby-security-ann/dthJ5wL69JE/IdvCimtZEgAJ
- http://www.openwall.com/lists/oss-security/2016/01/25/16
- http://www.securitytracker.com/id/1034816
- http://www.securityfocus.com/bid/81677
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2015-7581.yml
- https://groups.google.com/forum/#!topic/rubyonrails-security/dthJ5wL69JE
- https://web.archive.org/web/20200228001849/http://www.securityfocus.com/bid/81677
- https://web.archive.org/web/20200516093752/http://www.securitytracker.com/id/1034816
FAQ
Is CVE-2015-7581 being exploited?
There is no confirmed exploitation: CVE-2015-7581 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 6.71% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2015-7581?
High: CVSS 7.5 (v3.0, scored by NVD). Remote, no login needed.
Which versions are affected by CVE-2015-7581?
actionpack >= 4.0.0, < 4.2.5.1.
Is there a fix for CVE-2015-7581?
Yes. Fixed in 4.2.5.1. Upgrade actionpack to 4.2.5.1 or later.
How do I check if I'm affected by CVE-2015-7581?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.