The following Ruby on Rails issue was reported:
Arbitrary file existence disclosure in Action Pack
There is an information leak vulnerability in Action Pack. This vulnerability
has been assigned the CVE identifier CVE-2014-7818.
Versions Affected: >= 3.0.0
Not affected: <= 3.0.0
Fixed Versions: 3.2.20, 4.0.11, 4.1.7, 4.2.0.beta3
Specially crafted requests can be used to determine whether a file exists on the filesystem that is outside the Rails application's root directory. The files will not be served, but attackers can determine whether or not the file exists.
This only impacts Rails applications that enable static file serving at
runtime. For example, the application's production configuration will say:
config.serve_static_assets = true
All users running an affected release should either upgrade or use one of the work arounds immediately.
The 3.2.20, 4.0.11, 4.1.7 & 4.2.0.beta3 releases are available at the normal locations.
To work around this issue, set config.serve_static_assets = false in an initializer. This work around will not be possible in all hosting environments and upgrading is advised.
Red Hat would like to thank the Ruby on Rails project for reporting this issue. Upstream acknowledges Eaden McKee, Dennis Hackethal & Christian Hansen of Crowdcurity, Juan C. Müller & Mike McClurg of Greenhouse.io, and Alex Ianus of Coinbase as the independent, original reporters.
Red Hat Product Security has rated this issue as having Low security impact. This issue is not currently planned to be addressed in future updates. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.
Created rubygem-actionpack tracking bugs for this issue:
Affects: fedora-all [bug 1163511]