Debian Security Advisory
DSA-3509-1 rails -- security update
- Date Reported:
- 09 Mar 2016
- Affected Packages:
- rails
- Vulnerable:
- Yes
- 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.
- CVE-2016-2097
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.
- CVE-2016-2098
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:4.2.5.2-1.
For the unstable distribution (sid), these problems have been fixed in version 2:4.2.5.2-1.
We recommend that you upgrade your rails packages.
- CVE-2016-2097