Bug 1161527 (CVE-2014-7819)

Summary: CVE-2014-7819 rubygem-sprockets: arbitrary file existence disclosure
Product: [Other] Security Response Reporter: Ján Rusnačko <jrusnack>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: abaron, aortega, apatters, apevec, ayoung, bdunne, bkearney, cbillett, ccoleman, chrisw, cpelland, dajohnso, dallan, dclarizi, dmcphers, gkotton, gmccullo, jfrey, jialiu, joelsmith, jokerman, jorton, jprause, jrafanie, jstribny, jvlcek, katello-bugs, kseifried, lhh, lmeyer, lpeer, markmc, mburns, mmaslano, mmccomas, mmccune, mmcgrath, obarenbo, rbryant, rhos-maint, sclewis, tjay, tomckay, vondruch, xlecauch, yeylon
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-11-12 21:50:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1164331    
Bug Blocks: 1159121    

Description Ján Rusnačko 2014-11-07 10:00:47 UTC
The following Ruby on Rails issue was reported[1]:

""
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:     3.0.0.beta.3, 2.12.3, 2.11.3, 2.10.2, 2.9.4, 2.8.3, 2.7.1, 2.5.1, 2.4.6, 2.3.3, 2.2.3, 2.1.4, 2.0.5

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.

""

[1] https://groups.google.com/forum/#!topic/rubyonrails-security/doAVp0YaTqY

Comment 1 Ján Rusnačko 2014-11-07 10:02:40 UTC
External References:

https://groups.google.com/forum/#!topic/rubyonrails-security/doAVp0YaTqY

Comment 3 Ján Rusnačko 2014-11-07 10:04:41 UTC
Acknowledgements:

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.

Comment 4 Vincent Danen 2014-11-12 21:50:58 UTC
Statement:

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/.

Comment 5 Vincent Danen 2014-11-14 16:57:03 UTC
Created rubygem-sprockets tracking bugs for this issue:

Affects: fedora-all [bug 1164331]