sprockets vulnerable to Path Traversal
Published 24 Oct 2017 · Updated 28 Nov 2024
Is your project on an affected sprockets?
Look after several Rails or Ruby apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected packages
- Affected
- <2.0.5
- Fixed in
- 2.0.5
bundle update --conservative sprockets # Gemfile: '>= 2.0.5'- Affected
- >=2.1.0 <2.1.4
- Fixed in
- 2.1.4
bundle update --conservative sprockets # Gemfile: '>= 2.1.4'- Affected
- >=2.2.0 <2.2.3
- Fixed in
- 2.2.3
bundle update --conservative sprockets # Gemfile: '>= 2.2.3'- Affected
- >=2.3.0 <2.3.3
- Fixed in
- 2.3.3
bundle update --conservative sprockets # Gemfile: '>= 2.3.3'- Affected
- >=2.4.0 <2.4.6
- Fixed in
- 2.4.6
bundle update --conservative sprockets # Gemfile: '>= 2.4.6'- Affected
- >=2.5.0 <2.5.1
- Fixed in
- 2.5.1
bundle update --conservative sprockets # Gemfile: '>= 2.5.1'- Affected
- >=2.6.0 <2.7.1
- Fixed in
- 2.7.1
bundle update --conservative sprockets # Gemfile: '>= 2.7.1'- Affected
- >=2.8.0 <2.8.3
- Fixed in
- 2.8.3
bundle update --conservative sprockets # Gemfile: '>= 2.8.3'- Affected
- >=2.9.0 <2.9.4
- Fixed in
- 2.9.4
bundle update --conservative sprockets # Gemfile: '>= 2.9.4'- Affected
- >=2.10.0 <2.10.2
- Fixed in
- 2.10.2
bundle update --conservative sprockets # Gemfile: '>= 2.10.2'- Affected
- >=2.11.0 <2.11.3
- Fixed in
- 2.11.3
bundle update --conservative sprockets # Gemfile: '>= 2.11.3'- Affected
- >=2.12.0 <2.12.3
- Fixed in
- 2.12.3
bundle update --conservative sprockets # Gemfile: '>= 2.12.3'Details
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.
Is GHSA-33pp-3763-mrfp in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected sprockets, and gives you the command that fixes it.
More advisories for sprockets
- HighCVE-2018-3760Sprockets path traversal leads to information leak · 20 Jun 2018
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2014-7819
- Linkaccess.redhat.com/errata/RHBA-2015:1100
- Linkaccess.redhat.com/security/cve/CVE-2014-7819
- Linkbugzilla.redhat.com/show_bug.cgi?id=1161527
- Linkgroups.google.com/forum/#!topic/rubyonrails-security/doAVp0YaTqY
- Linkgroups.google.com/forum/message/raw?msg=rubyonrails-security/doAVp0YaTqY/aHFngBqNBoAJ
- Linkgroups.google.com/forum/message/raw?msg=rubyonrails-security/wQBeGXqGs3E/JqUMB6fhh3gJ
- Linklists.opensuse.org/opensuse-updates/2014-11/msg00103.html
- Linklists.opensuse.org/opensuse-updates/2014-11/msg00105.html
- Linklists.opensuse.org/opensuse-updates/2014-11/msg00110.html
- Linklists.opensuse.org/opensuse-updates/2014-11/msg00111.html
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.