File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,9 +5,18 @@ url: https://groups.google.com/forum/#!topic/ruby-security-ann/2S9Pwz2i16k
55title : Path Traversal in Sprockets
66date : 2018-06-19
77description : |
8- Specially crafted requests can be used to access files that exists on
8+ Specially crafted requests can be used to access files that exist on
99 the filesystem that is outside an application's root directory, when the
1010 Sprockets server is used in production.
11+
12+ All users running an affected release should either upgrade or use one of the work arounds immediately.
13+
14+ Workaround:
15+ In Rails applications, work around this issue, set `config.assets.compile = false` and
16+ `config.public_file_server.enabled = true` in an initializer and precompile the assets.
17+
18+ This work around will not be possible in all hosting environments and upgrading is advised.
19+
1120patched_versions :
1221 - " >= 2.12.5, < 3.0.0"
1322 - " >= 3.7.2, < 4.0.0"
You can’t perform that action at this time.
0 commit comments