Bugzilla – Bug 903662
VUL-0: CVE-2014-7818: rubygem-actionpack-3_2: Arbitrary file existence disclosure in Action Pack
Last modified: 2015-02-13 14:46:58 UTC
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 Impact ------ 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. Releases -------- The 3.2.20, 4.0.11, 4.1.7 & 4.2.0.beta3 releases are available at the normal locations. Workarounds ----------- 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. Patches ------- To aid users who aren't able to upgrade immediately we have provided patches for the two supported release series. They are in git-am format and consist of a single changeset. * 3-1-sec-static-files.patch - Patch for the 3.1.x release series * 3-2-sec-static-files.patch - Patch for the 3.2.x release series * 4-0-sec-static-files.patch - Patch for the 4.0.x release series * 4-1-sec-static-files.patch - Patch for the 4.1.x release series Please note that only the 3.2.x, 4.0.x & 4.1.x series are supported at present. Users of earlier unsupported releases are advised to upgrade as soon as possible as we cannot guarantee the continued availability of security fixes for unsupported releases. Credits ------- This vulnerability was reported by multiple researchers working independently. Thanks to each of them for reporting the issue to us and verifying the fixes. * Eaden McKee * Dennis Hackethal & Christian Hansen of Crowdcurity * Juan C. Müller & Mike McClurg of Greenhouse.io * Alex Ianus of Coinbase References: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-7818 http://people.canonical.com/~ubuntu-security/cve/2014/CVE-2014-7818.html http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-7818
Created attachment 612172 [details] Patch for the 3.1.x release series
Created attachment 612173 [details] Patch for the 3.2.x release series
Created attachment 612174 [details] Patch for the 4.0.x release series
Created attachment 612175 [details] Patch for the 4.1.x release series
bugbot adjusting priority
An update workflow for this issue was started. This issue was rated as moderate. Please submit fixed packages until 2014-11-27. When done, reassign the bug to security-team@suse.de. https://swamp.suse.de/webswamp/wf/59639
wainting for upstream answer on https://github.com/rails/rails/pull/17595
This is an autogenerated message for OBS integration: This bug (903662) was mentioned in https://build.opensuse.org/request/show/262366 12.3 / rubygem-actionpack-3_2 https://build.opensuse.org/request/show/262368 13.1 / rubygem-actionpack-3_2 https://build.opensuse.org/request/show/262370 13.2 / rubygem-actionpack-3_2
This is an autogenerated message for OBS integration: This bug (903662) was mentioned in https://build.opensuse.org/request/show/262371 12.3 / rubygem-actionpack-3_2 https://build.opensuse.org/request/show/262372 13.1 / rubygem-actionpack-3_2 https://build.opensuse.org/request/show/262373 13.2 / rubygem-actionpack-3_2
openSUSE-SU-2014:1515-1: An update that fixes two vulnerabilities is now available. Category: security (moderate) Bug References: 903662,905727 CVE References: CVE-2014-7818,CVE-2014-7829 Sources used: openSUSE 13.2 (src): rubygem-actionpack-3_2-3.2.17-3.4.1 openSUSE 13.1 (src): rubygem-actionpack-3_2-3.2.13-2.28.1 openSUSE 12.3 (src): rubygem-actionpack-3_2-3.2.12-1.32.1
SUSE-SU-2015:0156-1: An update that solves one vulnerability and has one errata is now available. Category: security (moderate) Bug References: 903662,905727 CVE References: CVE-2014-7818 Sources used: WebYaST 1.3 (src): rubygem-actionpack-3_2-3.2.12-0.19.1 SUSE Studio Onsite 1.3 (src): rubygem-actionpack-3_2-3.2.12-0.19.1 SUSE Lifecycle Management Server 1.3 (src): rubygem-actionpack-3_2-3.2.12-0.19.1
released