Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 572952 (CVE-2015-7581)

Summary: <dev-ruby/actionpack-4.{1.15,2.6}: Object leak vulnerability for wildcard controller routes
Product: Gentoo Security Reporter: Agostino Sarubbo <ago>
Component: VulnerabilitiesAssignee: Gentoo Security <security>
Severity: trivial CC: ruby
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: ~4 [noglsa]
Package list:
Runtime testing required: ---

Description Agostino Sarubbo gentoo-dev 2016-01-26 08:59:51 UTC
From ${URL} :

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:,

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

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 class doesn't actually exist.

@maintainer(s): since the fixed version is already in the tree, please remove the affected versions.
Comment 1 Hans de Graaff gentoo-dev Security 2016-02-07 17:48:17 UTC
Vulnerable versions for Rails 4.1 and 4.2 have been removed.
Comment 2 Aaron Bauman (RETIRED) gentoo-dev 2016-06-05 12:17:03 UTC
Cleanup complete per previous comments.