sprockets: Path Traversal vulnerability (CVE-2018-3760)
schleuder-web was / is not vulnerable.
Ruby security announcement
There is an information leak vulnerability in Sprockets. This vulnerability has been assigned the CVE identifier CVE-2018-3760.
Versions Affected: 4.0.0.beta7 and lower, 3.7.1 and lower, 2.12.4 and lower. Not affected: NONE Fixed Versions: 4.0.0.beta8, 3.7.2, 2.12.5
Impact
Specially crafted requests can be used to access files that exists on the filesystem that is outside an application's root directory, when the Sprockets server is used in production.
All users running an affected release should either upgrade or use one of the work arounds immediately.
Releases
The 4.0.0.beta8, 3.7.2 and 2.12.5 releases are available at the normal locations.
Workarounds
In Rails applications, work around this issue, set config.assets.compile = false
and
config.public_file_server.enabled = true
in an initializer and precompile the assets.
This work around will not be possible in all hosting environments and upgrading is advised.
Source: ruby-security-ann@