Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. sinatra
  4. ›
  5. CVE-2018-7212

CVE-2018-7212: Path Traversal

February 18, 2018 (updated March 19, 2018)

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

References

  • github.com/sinatra/sinatra/pull/1379
  • nvd.nist.gov/vuln/detail/CVE-2018-7212

Code Behaviors & Features

Detect and mitigate CVE-2018-7212 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 2.0.0 up to 2.0.1

Fixed versions

  • 2.0.2

Solution

Upgrade to version 2.0.2 or above.

Impact 5.3 MEDIUM

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

gem/sinatra/CVE-2018-7212.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:22 +0000.