CWE
22
Advisory Published
Updated

CVE-2018-7212: Path Traversal

First published: Sun Feb 18 2018(Updated: )

An issue was discovered in rack-protection/lib/rack/protection/path_traversal.rb in Sinatra 2.x before 2.0.1 on Windows. Path traversal is possible via backslash characters.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Sinatrarb Sinatra=2.0.0
Sinatrarb Sinatra=2.0.0-beta2
Sinatrarb Sinatra=2.0.0-rc1
Sinatrarb Sinatra=2.0.0-rc2
Sinatrarb Sinatra=2.0.0-rc3
Sinatrarb Sinatra=2.0.0-rc4
Sinatrarb Sinatra=2.0.0-rc5
Sinatrarb Sinatra=2.0.0-rc6
Sinatrarb Sinatra=2.0.1-rc1
Microsoft Windows

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-7212?

    CVE-2018-7212 is a vulnerability in Sinatra 2.x before 2.0.1 on Windows that allows path traversal via backslash characters.

  • How severe is CVE-2018-7212?

    CVE-2018-7212 has a severity score of 5.3, which is classified as medium.

  • How can I exploit CVE-2018-7212?

    To exploit CVE-2018-7212, an attacker can use backslash characters to traverse directories and access sensitive files on a Windows system.

  • Is Sinatra 2.x affected by CVE-2018-7212?

    Yes, Sinatra 2.x versions including 2.0.0, 2.0.0-beta2, 2.0.0-rc1, 2.0.0-rc2, 2.0.0-rc3, 2.0.0-rc4, 2.0.0-rc5, 2.0.0-rc6, and 2.0.1-rc1 are affected by CVE-2018-7212.

  • How do I fix CVE-2018-7212?

    To fix CVE-2018-7212, upgrade to Sinatra version 2.0.1 or later.

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