{"schema_version":"1.7.3","id":"GHSA-85r7-w5mv-c849","published":"2017-10-24T18:33:37Z","modified":"2024-11-29T05:29:20.852410Z","aliases":["CVE-2013-0262"],"summary":"Rack Vulnerable to Path Traversal","details":"`rack/file.rb` (`Rack::File`) in Rack 1.5.x before 1.5.2 and 1.4.x before 1.4.5 allows attackers to access arbitrary files outside the intended root directory via a crafted `PATH_INFO` environment variable, probably a directory traversal vulnerability that is remotely exploitable, aka \"symlink path traversals.\"","affected":[{"package":{"name":"rack","ecosystem":"RubyGems","purl":"pkg:gem/rack"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.5.0"},{"fixed":"1.5.2"}]}],"versions":["1.5.0","1.5.1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2017/10/GHSA-85r7-w5mv-c849/GHSA-85r7-w5mv-c849.json"}},{"package":{"name":"rack","ecosystem":"RubyGems","purl":"pkg:gem/rack"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.4.0"},{"fixed":"1.4.5"}]}],"versions":["1.4.0","1.4.1","1.4.2","1.4.3","1.4.4"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2017/10/GHSA-85r7-w5mv-c849/GHSA-85r7-w5mv-c849.json"}}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2013-0262"},{"type":"WEB","url":"https://github.com/rack/rack/commit/6f237e4c9fab649d3750482514f0fde76c56ab30"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=909071"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=909072"},{"type":"WEB","url":"https://gist.github.com/rentzsch/4736940"},{"type":"PACKAGE","url":"https://github.com/rack/rack"},{"type":"WEB","url":"https://github.com/rack/rack/blob/master/lib/rack/file.rb#L56"},{"type":"WEB","url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2013-0262.yml"},{"type":"WEB","url":"https://groups.google.com/forum/#!msg/rack-devel/bf937jPZxJM/1s6x95vIhmAJ"},{"type":"WEB","url":"https://groups.google.com/forum/#!msg/rack-devel/mZsuRonD7G8/DpZIOmMLbOgJ"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-updates/2013-03/msg00048.html"}],"database_specific":{"cwe_ids":["CWE-22"],"github_reviewed":true,"github_reviewed_at":"2020-06-16T21:24:29Z","nvd_published_at":"2013-02-08T20:55:00Z","severity":"MODERATE"}}