oss-sec mailing list archives
Arbitrary file existence disclosure in Sprockets (CVE-2014-7819)
From: Aaron Patterson <tenderlove () ruby-lang org>
Date: Thu, 30 Oct 2014 11:52:56 -0700
Arbitrary file existence disclosure in Sprockets There is an information leak vulnerability in Sprockets. This vulnerability has been assigned the CVE identifier CVE-2014-7819. Versions Affected: ALL Not affected: NONE Fixed Versions: 2.12.X Impact ------ Specially crafted requests can be used to determine whether a file exists on the filesystem that is outside an application's root directory. The files will not be served, but attackers can determine whether or not the file exists. All users running an affected release should either upgrade or use one of the work arounds immediately. Releases -------- The 2.12.X releases are available at the normal locations. Workarounds ----------- In Rails applications, 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. * 2-12-sec-static-files.patch - Patch for the 2.12.x release series 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 -- Aaron Patterson http://tenderlovemaking.com/
Attachment:
2-12-sec-static-files.patch
Description:
Attachment:
_bin
Description:
Current thread:
- Arbitrary file existence disclosure in Sprockets (CVE-2014-7819) Aaron Patterson (Oct 30)