Denial of Service (DoS) Affecting actionpack package, versions < 5.0.0.beta1, >= 4.3< 4.2.5.1, >= 4.2< 4.1.14.1, >= 4.0.0


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
2.03% (89th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RUBY-ACTIONPACK-20255
  • published24 Jan 2016
  • disclosed24 Jan 2016
  • creditUnknown

Introduced: 24 Jan 2016

CVE-2015-7581  (opens in a new tab)
CWE-200  (opens in a new tab)

Overview

actionpack is a web app builder and tester on Rails. Affected versions of this Gem are vulnerable to Denial of Service (DoS) attacks.

Ruby on Rails applications that have a route containing the string ":controller" are susceptible to denial of service caused by unbounded memory growth.

Details

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 class doesn't actually exist. An attacker could flood a vulnerable application route with requests for non-existent controllers, leading to unbounded memory growth in this cache.

To identify if your application is vulnerable, look for routes that contain ":controller".

CVSS Scores

version 3.1