CVE-2014-7819
sprockets vulnerable to Path Traversal
Reported by redhat · Published November 8, 2014
sprockets is fixed in 3.0.0.beta.3, 2.12.3, 2.11.3 and 10 more (RubyGems)
Multiple directory traversal vulnerabilities in server.rb in Sprockets before 2.0.5, 2.1.x before 2.1.4, 2.2.x before 2.2.3, 2.3.x before 2.3.3, 2.4.x before 2.4.6, 2.5.x before 2.5.1, 2.6.x and 2.7.x before 2.7.1, 2.8.x before 2.8.3, 2.9.x before 2.9.4, 2.10.x before 2.10.2, 2.11.x before 2.11.3, 2.12.x before 2.12.3, and 3.x before 3.0.0.beta.3, as distributed with Ruby on Rails 3.x and 4.x, allow remote attackers to determine the existence of files outside the application root via a ../ (dot dot slash) sequence with (1) double slashes or (2) URL encoding.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| sprockets | RubyGems | 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 |
| sprockets | sprockets_project | 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 |
| ruby-sprockets | Ubuntu:16.04:LTS | 2.12.3-1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| RubyGems | sprockets | 2.0.0, 3.0.0a, 2.12.0a |
| n/a | n/a | * |
Timeline
- Nov 8, 2014 CVE Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Apr 10, 2026 Security Advisory (6 in total, the first dated here)
- Jun 17, 2026 CVE Updated
- Oct 17, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2014-7819
vulnetix vdb fixes CVE-2014-7819
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2014-7819/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- openSUSE-SU-2014:1504 vendor-advisoryx_refsource_SUSE
- openSUSE-SU-2014:1514 vendor-advisoryx_refsource_SUSE
- [rubyonrails-security] 20141030 [AMENDED] [CVE-2014-7819] Arbitrary file existence disclosure in Sprockets mailing-listx_refsource_MLIST
- openSUSE-SU-2014:1502 vendor-advisoryx_refsource_SUSE
- openSUSE-SU-2014:1513 vendor-advisoryx_refsource_SUSE
- [rubyonrails-security] 20141030 Arbitrary file existence disclosure in Sprockets (CVE-2014-7819) mailing-listx_refsource_MLIST
- https://groups.google.com/forum/#!topic/rubyonrails-security/doAVp0YaTqY url