{"id":"CVE-2018-7212","published":"2018-02-18T06:00:00Z","modified":"2024-08-05T06:24:11Z","title":"An issue was discovered in rack-protection/lib/rack/protection/path_traversal.rb in Sinatra 2.x before 2.0.1 on Windows","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01838,"percentile":0.79493,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/sinatra/sinatra/commit/6ad721abcfe36334108dcdd05d046c361e1b7a9c","tags":["x_refsource_MISC"]},{"url":"https://github.com/sinatra/sinatra/pull/1379","tags":["x_refsource_MISC"]}],"priority":{"score":15.9,"factors":[{"name":"EPSS percentile","points":15.9}]},"affected":[{"ecosystem":"RubyGems","package":"sinatra","vulnerableRanges":[">=2.0.0.beta1, <2.0.1"],"patched":["2.0.1"],"from":["GHSA-h29f-7f56-j8wh"],"provenance":"source"}],"summary":{"text":"The flaw is a path traversal weakness in the path_traversal.rb component of rack-protection, which is part of Sinatra 2.x releases before 2.0.1, affecting Windows deployments. An attacker can traverse outside intended directories by using backslash characters in requests.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:38:44Z"},"euvd":{"id":"EUVD-2018-0167","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2018-7212","published":"2018-02-18","fixed":"2.0.1","kev":false},{"cve":"CVE-2018-11627","published":"2018-05-31","fixed":"2.0.2","kev":false,"link":{"from":"CVE-2018-7212","to":"CVE-2018-11627","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:sinatra","fromFixed":"2.0.1","toFixed":"2.0.2","daysApart":102}]}},{"cve":"CVE-2022-29970","published":"2022-05-02","fixed":"2.2.0","kev":false},{"cve":"CVE-2022-45442","published":"2022-11-28","fixed":"3.0.4","kev":false}],"package":"RubyGems:sinatra"}}