7.5
CWE
22 200
Advisory Published
Advisory Published
CVE Published
Updated

CVE-2018-3760: Path Traversal

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 SoftwareAffected VersionHow 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

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2018-3760?

    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.

  • Which versions of Sprockets are affected by CVE-2018-3760?

    Versions 4.0.0.beta7 and lower 3.x versions of Sprockets are affected by CVE-2018-3760.

  • How severe is CVE-2018-3760?

    CVE-2018-3760 has a severity rating of 7.5 (high).

  • What is the remedy for CVE-2018-3760?

    Affected users should upgrade to version 4.0.0.beta8 or use one of the workarounds provided.

  • Where can I find more information about CVE-2018-3760?

    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).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203