Bug 1161527 (CVE-2014-7819) - CVE-2014-7819 rubygem-sprockets: arbitrary file existence disclosure
Summary: CVE-2014-7819 rubygem-sprockets: arbitrary file existence disclosure
Alias: CVE-2014-7819
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 1164331
Blocks: 1159121
TreeView+ depends on / blocked
Reported: 2014-11-07 10:00 UTC by Ján Rusnačko
Modified: 2023-05-12 18:12 UTC (History)
46 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2014-11-12 21:50:58 UTC

Attachments (Terms of Use)

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

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.

The 2.12.X releases are available at the normal locations.

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:


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

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

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]

Note You need to log in before you can comment on or make changes to this bug.