MEDIUM
GHSA-h56m-vwxc-3qpw
Directory traversal vulnerability in actionpack
Quick fix
GHSA-h56m-vwxc-3qpw — actionpack: upgrade to the fixed version with the command below.
bundle update actionpackDetails
Directory traversal vulnerability in actionpack/lib/action_dispatch/middleware/static.rb in Action Pack in Ruby on Rails 3.x before 3.2.21, 4.0.x before 4.0.12, 4.1.x before 4.1.8, and 4.2.x before 4.2.0.beta4, when serve_static_assets is enabled, allows remote attackers to determine the existence of files outside the application root via vectors involving a \ (backslash) character, a similar issue to CVE-2014-7818.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2014-7829[ADVISORY]
- https://github.com/advisories/GHSA-h56m-vwxc-3qpw[ADVISORY]
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2014-7829.yml[WEB]
- https://groups.google.com/forum/#!topic/rubyonrails-security/rMTQy4oRCGk[WEB]
- https://groups.google.com/forum/message/raw?msg=rubyonrails-security/rMTQy4oRCGk/loS_CRS8mNEJ[WEB]
- https://puppet.com/security/cve/cve-2014-7829[WEB]
- https://web.archive.org/web/20160403085126/http://www.securityfocus.com/bid/71183[WEB]
- http://lists.opensuse.org/opensuse-updates/2014-11/msg00112.html[WEB]