{"id":"GHSA-h29f-7f56-j8wh","summary":"Sinatra Path Traversal vulnerability","details":"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.","aliases":["CVE-2018-7212"],"modified":"2023-11-08T04:00:22.311872Z","published":"2018-02-20T19:23:20Z","database_specific":{"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2020-06-16T21:38:23Z","nvd_published_at":null,"cwe_ids":["CWE-22"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-7212"},{"type":"WEB","url":"https://github.com/sinatra/sinatra/pull/1379"},{"type":"WEB","url":"https://github.com/sinatra/sinatra/commit/6ad721abcfe36334108dcdd05d046c361e1b7a9c"},{"type":"PACKAGE","url":"https://github.com/sinatra/sinatra"}],"affected":[{"package":{"name":"sinatra","ecosystem":"RubyGems","purl":"pkg:gem/sinatra"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0.beta1"},{"fixed":"2.0.1"}]}],"versions":["2.0.0","2.0.0.beta1","2.0.0.beta2","2.0.0.rc1","2.0.0.rc2","2.0.0.rc5","2.0.0.rc6","2.0.1.rc1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/02/GHSA-h29f-7f56-j8wh/GHSA-h29f-7f56-j8wh.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"}]}