Debian Security Advisory
DSA-3509-1 rails -- security update
- Date Reported:
- 09 Mar 2016
- Affected Packages:
- Security database references:
- In Mitre's CVE dictionary: CVE-2016-2097, CVE-2016-2098.
- More information:
Two vulnerabilities have been discovered in Rails, a web application framework written in Ruby. Both vulnerabilities affect Action Pack, which handles the web requests for Rails.
Crafted requests to Action View, one of the components of Action Pack, might result in rendering files from arbitrary locations, including files beyond the application's view directory. This vulnerability is the result of an incomplete fix of CVE-2016-0752. This bug was found by Jyoti Singh and Tobias Kraze from Makandra.
If a web applications does not properly sanitize user inputs, an attacker might control the arguments of the render method in a controller or a view, resulting in the possibility of executing arbitrary ruby code. This bug was found by Tobias Kraze from Makandra and joernchen of Phenoelit.
For the stable distribution (jessie), these problems have been fixed in version 2:4.1.8-1+deb8u2.
For the testing distribution (stretch), these problems have been fixed in version 2:220.127.116.11-1.
For the unstable distribution (sid), these problems have been fixed in version 2:18.104.22.168-1.
We recommend that you upgrade your rails packages.