{"id":"CVE-2008-1145","aliases":["EDB-5215"],"kind":"cve","tier":"cold","status":"published","title":"Directory traversal vulnerability in WEBrick in Ruby 1.8 before 1.8.5-p115 and 1.8.6-p114, and 1.9 through 1.9.0-1, whe…","description":"Directory traversal vulnerability in WEBrick in Ruby 1.8 before 1.8.5-p115 and 1.8.6-p114, and 1.9 through 1.9.0-1, when running on systems that support backslash (\\) path separators or case-insensitive file names, allows remote attackers to access arbitrary files via (1) \"..%5c\" (encoded backslash) sequences or (2) filenames that match patterns in the :NondisclosureName option.","ai_summary":null,"severity":"medium","cvss":{"score":5,"version":"2.0","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","source":"NVD"},"scores":[{"score":5,"version":"2.0","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","source":"nvd"}],"cwe":["CWE-22"],"remote":true,"remote_unauth":true,"epss":{"score":0.27104,"percentile":0.98093,"date":"2026-12-03"},"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":true,"exploitdb_ids":[5215]},"affected":[],"affected_products":[{"vendor":"n/a","product":"n/a","versions":"","source":"nvd"}],"ai_versions":null,"mitigation":"No fix listed yet: follow the vendor advisory.","technologies":[],"references":[{"url":"http://lists.opensuse.org/opensuse-security-announce/2008-08/msg00006.html","kind":"vendor"},{"url":"http://secunia.com/advisories/29357","kind":"vendor"},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2008:141","kind":"vendor"},{"url":"http://secunia.com/advisories/29232","kind":"vendor"},{"url":"https://www.redhat.com/archives/fedora-package-announce/2008-March/msg00354.html","kind":"vendor"},{"url":"http://www.redhat.com/support/errata/RHSA-2008-0897.html","kind":"vendor"},{"url":"http://lists.apple.com/archives/security-announce/2008//Jun/msg00002.html","kind":"vendor"},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2008:142","kind":"vendor"},{"url":"https://www.redhat.com/archives/fedora-package-announce/2008-March/msg00338.html","kind":"vendor"},{"url":"https://www.exploit-db.com/exploits/5215","kind":"exploit"},{"url":"http://www.ruby-lang.org/en/news/2008/03/03/webrick-file-access-vulnerability/","kind":"exploit"},{"url":"http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0123","kind":"other"},{"url":"http://support.apple.com/kb/HT2163","kind":"other"},{"url":"http://www.securityfocus.com/archive/1/490056/100/0/threaded","kind":"other"},{"url":"http://www.kb.cert.org/vuls/id/404515","kind":"other"},{"url":"http://www.securityfocus.com/bid/28123","kind":"other"},{"url":"http://www.securityfocus.com/archive/1/489205/100/0/threaded","kind":"other"},{"url":"http://www.vupen.com/english/advisories/2008/1981/references","kind":"other"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/41010","kind":"other"},{"url":"http://secunia.com/advisories/31687","kind":"other"},{"url":"http://www.securityfocus.com/archive/1/489218/100/0/threaded","kind":"other"},{"url":"http://www.vupen.com/english/advisories/2008/0787","kind":"other"},{"url":"http://secunia.com/advisories/30802","kind":"other"},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10937","kind":"other"},{"url":"http://www.securitytracker.com/id?1019562","kind":"other"},{"url":"https://issues.rpath.com/browse/RPL-2338","kind":"other"},{"url":"http://secunia.com/advisories/32371","kind":"other"},{"url":"http://secunia.com/advisories/29536","kind":"other"},{"url":"http://wiki.rpath.com/Advisories:rPSA-2008-0123","kind":"other"}],"workarounds":null,"vendors":["fedoraproject","ruby-lang"],"products":["fedora","webrick"],"cpes":["cpe:2.3:a:ruby-lang:webrick:-:*:*:*:*:ruby:*:*","cpe:2.3:o:fedoraproject:fedora:7:*:*:*:*:*:*:*","cpe:2.3:o:fedoraproject:fedora:8:*:*:*:*:*:*:*"],"published_at":"2008-03-04T23:00:00.000Z","modified_at":"2026-06-16T22:51:05.080Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2008-1145"},{"source":"Exploit-DB","text":"Exploit metadata (ID and link only) from the Exploit Database","url":"https://www.exploit-db.com/exploits/5215"}],"links":{"html":"https://flawdb.com/CVE-2008-1145","markdown":"https://flawdb.com/CVE-2008-1145.md","json":"https://flawdb.com/api/v1/entries/CVE-2008-1145"}}