First published: Tue Jun 19 2018(Updated: )
rubygem-sprockets before versions 2.12.5, 3.7.2 and 4.0.0beta8 are vulnerable to a path traversal flaw in the sprockets/server.rb:forbidden_request?() function. A remote attacker could exploit this to read arbitrary files from the Sprockets server. External References: <a href="http://www.openwall.com/lists/oss-security/2018/06/19/2">http://www.openwall.com/lists/oss-security/2018/06/19/2</a> <a href="https://blog.heroku.com/rails-asset-pipeline-vulnerability">https://blog.heroku.com/rails-asset-pipeline-vulnerability</a> Upstream Patch: <a href="https://github.com/rails/sprockets/commit/c09131cf5b2c479263939c8582e22b98ed616c5f">https://github.com/rails/sprockets/commit/c09131cf5b2c479263939c8582e22b98ed616c5f</a>
Credit: support@hackerone.com support@hackerone.com
Affected Software | Affected Version | How to fix |
---|---|---|
rubygems/sprockets | >=4.0.0.beta1<=4.0.0.beta7 | 4.0.0.beta8 |
rubygems/sprockets | >=3.0.0<3.7.2 | 3.7.2 |
rubygems/sprockets | <2.12.5 | 2.12.5 |
redhat/rubygem-sprockets | <4.0.0 | 4.0.0 |
redhat/rubygem-sprockets | <3.7.2 | 3.7.2 |
redhat/rubygem-sprockets | <2.12.5 | 2.12.5 |
debian/ruby-sprockets | 3.7.2-1 3.7.2-4 | |
Redhat Cloudforms | =4.5 | |
Redhat Cloudforms | =4.6 | |
Redhat Enterprise Linux | =6.0 | |
Redhat Enterprise Linux | =6.7 | |
Redhat Enterprise Linux | =7.0 | |
Redhat Enterprise Linux | =7.3 | |
Redhat Enterprise Linux | =7.4 | |
Redhat Enterprise Linux | =7.5 | |
Redhat Enterprise Linux | =7.6 | |
Sprockets Project Sprockets | >=2.0.0<=2.12.4 | |
Sprockets Project Sprockets | >=3.0.0<=3.7.1 | |
Sprockets Project Sprockets | =4.0.0-beta1 | |
Sprockets Project Sprockets | =4.0.0-beta2 | |
Sprockets Project Sprockets | =4.0.0-beta3 | |
Sprockets Project Sprockets | =4.0.0-beta4 | |
Sprockets Project Sprockets | =4.0.0-beta5 | |
Sprockets Project Sprockets | =4.0.0-beta6 | |
Sprockets Project Sprockets | =4.0.0-beta7 | |
Debian Debian Linux | =9.0 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2018-3760 is an information leak vulnerability in Sprockets that allows specially crafted requests to access files outside of an application's root directory.
Versions 4.0.0.beta7 and lower 3.x versions of Sprockets are affected by CVE-2018-3760.
CVE-2018-3760 has a severity rating of 7.5 (high).
Affected users should upgrade to version 4.0.0.beta8 or use one of the workarounds provided.
More information about CVE-2018-3760 can be found at the following links: [NVD](https://nvd.nist.gov/vuln/detail/CVE-2018-3760), [Red Hat Security Advisories](https://access.redhat.com/errata/RHSA-2018:2244,https://access.redhat.com/errata/RHSA-2018:2245).