{"schemaVersion":3,"id":"CVE-2008-1145","aliases":["CGA-2vfj-hjfq-mgv2","CGA-3h28-ff6p-q6pr","CGA-93q6-v6m8-m65f","CGA-h58g-fxqj-gpj5","CGA-jv68-49pr-rx69","CGA-m66p-28cf-gj7h","CGA-qffg-frxc-pjmr","CGA-rxx6-j7px-jxhc","CGA-xjrq-p4pm-2mwm","CGA-xw47-mrxm-83p5"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2008-03-04T23:00:00.000Z","modified":"2024-08-07T08:08:57.740Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5,"severity":"medium","version":"2.0","versionLabel":"v2.0","source":"NVD","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":5,"severity":"medium","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.27778,"percentile":0.98079,"severity":"high","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.27778},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.27778,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.27778,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.27778,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.27778,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.27778,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.27778,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.27778,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.27778,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.27778,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.27778,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.27778,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.27778,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.27778,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.27778,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.27778,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.27778,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.27778,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.27778,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.27778,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.27778,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.27778,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.27778,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.27778,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.27778,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.27778,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.27778,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.27778,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.27778,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.27778,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.27778,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.27778,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.27778,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.27778,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.27778,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.27778,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.27778,"percentile":0.98079}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.27778,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.27778,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.27778,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.27778,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.27778,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.27778,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.27778,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.27778,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.27778,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.27778,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.27778,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.27778,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.27778,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.27778,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.27778,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.27778,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.27778,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.27778,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.27778,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.27778,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.27778,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.27778,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.27778,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.27778,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.27778,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.27778,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.27778,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.27778,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.27778,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.27778,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.27778,"percentile":0.98079}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_7A61D785B063DE20","name":"Exploit Reference (ruby-lang.org)","source":"reference","url":"http://www.ruby-lang.org/en/news/2008/03/03/webrick-file-access-vulnerability/","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"5215","name":"Ruby 1.8.6/1.9 (WEBick HTTPd 1.3.1) - Directory Traversal","source":"exploit-database","url":"https://www.exploit-db.com/exploits/5215","maturity":"weaponized","reliabilityScore":0.8,"verified":true,"type":"remote","platforms":["multiple"],"requiresAuth":null,"exploitdb":{"verified":true,"type":"remote","platform":"multiple","file":"exploits/multiple/remote/5215.txt","codes":["OSVDB-42616","CVE-2008-1145","OSVDB-42615"]},"metasploit":null}],"exploitCount":2,"weaknesses":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","description":"The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/22.html"}],"affected":[{"vendor":"chainguard","product":"kube-fluentd-operator","name":"kube-fluentd-operator","label":"kube-fluentd-operator","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/kube-fluentd-operator","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"ruby3.2-webrick","name":"ruby3.2-webrick","label":"ruby3.2-webrick","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/ruby3.2-webrick","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"ruby3.3-webrick","name":"ruby3.3-webrick","label":"ruby3.3-webrick","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/ruby3.3-webrick","purlType":"apk","versions":[{"text":"< 1.9.1-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.9.1-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"ruby3.4-webrick","name":"ruby3.4-webrick","label":"ruby3.4-webrick","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/ruby3.4-webrick","purlType":"apk","versions":[{"text":"< 1.9.1-r3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.9.1-r3","eol":null,"hubHref":null},{"vendor":"chainguard","product":"ruby4.0-webrick","name":"ruby4.0-webrick","label":"ruby4.0-webrick","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/ruby4.0-webrick","purlType":"apk","versions":[{"text":"< 1.9.2-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.9.2-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"kube-fluentd-operator","name":"kube-fluentd-operator","label":"kube-fluentd-operator","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/kube-fluentd-operator","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"wolfi","product":"ruby3.2-webrick","name":"ruby3.2-webrick","label":"ruby3.2-webrick","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/ruby3.2-webrick","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"wolfi","product":"ruby3.3-webrick","name":"ruby3.3-webrick","label":"ruby3.3-webrick","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/ruby3.3-webrick","purlType":"apk","versions":[{"text":"< 1.9.1-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.9.1-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"ruby3.4-webrick","name":"ruby3.4-webrick","label":"ruby3.4-webrick","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/ruby3.4-webrick","purlType":"apk","versions":[{"text":"< 1.9.1-r3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.9.1-r3","eol":null,"hubHref":null},{"vendor":"wolfi","product":"ruby4.0-webrick","name":"ruby4.0-webrick","label":"ruby4.0-webrick","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/ruby4.0-webrick","purlType":"apk","versions":[{"text":"< 1.9.2-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.9.2-r0","eol":null,"hubHref":null},{"vendor":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"7","noFixRecorded":false,"fixedIn":null},{"text":"8","noFixRecorded":false,"fixedIn":null}],"versionsText":"7 | 8","eol":{"isEol":true,"eolDate":"2008-06-13T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"7","label":"7 (Moonshine)","eolFrom":"2008-06-13T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"ruby-lang","product":"webrick","name":"webrick","label":"webrick","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/ruby-lang/webrick"}],"affectedCount":12,"eol":{"hasEol":true,"count":1},"references":[{"url":"http://lists.opensuse.org/opensuse-security-announce/2008-08/msg00006.html","label":"lists.opensuse.org/opensuse-security-announce/2008-08/msg00006.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE","Mailing List","Third Party Advisory"]},{"url":"http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0123","label":"wiki.rpath.com/wiki/Advisories:rPSA-2008-0123","hostname":"wiki.rpath.com","tags":["X Refsource CONFIRM","Broken Link"]},{"url":"http://support.apple.com/kb/HT2163","label":"support.apple.com/kb/HT2163","hostname":"support.apple.com","tags":["X Refsource CONFIRM","Third Party Advisory"]},{"url":"http://secunia.com/advisories/29357","label":"secunia.com/advisories/29357","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA","Not Applicable","Vendor Advisory"]},{"url":"http://www.securityfocus.com/archive/1/490056/100/0/threaded","label":"www.securityfocus.com/archive/1/490056/100/0/threaded","hostname":"www.securityfocus.com","tags":["Mailing List","X Refsource BUGTRAQ","Third Party Advisory","VDB Entry"]},{"url":"http://www.kb.cert.org/vuls/id/404515","label":"www.kb.cert.org/vuls/id/404515","hostname":"www.kb.cert.org","tags":["Third Party Advisory","X Refsource CERT VN","US Government Resource"]},{"url":"http://www.securityfocus.com/bid/28123","label":"www.securityfocus.com/bid/28123","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID","Broken Link","Third Party Advisory"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2008:141","label":"www.mandriva.com/security/advisories?name=MDVSA-2008:141","hostname":"www.mandriva.com","tags":["Vendor Advisory","X Refsource MANDRIVA","Broken Link"]},{"url":"http://www.securityfocus.com/archive/1/489205/100/0/threaded","label":"www.securityfocus.com/archive/1/489205/100/0/threaded","hostname":"www.securityfocus.com","tags":["Mailing List","X Refsource BUGTRAQ","Third Party Advisory","VDB Entry"]},{"url":"http://www.vupen.com/english/advisories/2008/1981/references","label":"www.vupen.com/english/advisories/2008/1981/references","hostname":"www.vupen.com","tags":["VDB Entry","X Refsource VUPEN","Permissions Required"]},{"url":"https://www.exploit-db.com/exploits/5215","label":"www.exploit-db.com/exploits/5215","hostname":"www.exploit-db.com","tags":["Exploit","X Refsource EXPLOIT DB","Third Party Advisory","VDB Entry"]},{"url":"http://secunia.com/advisories/29232","label":"secunia.com/advisories/29232","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA","Not Applicable","Vendor Advisory"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/41010","label":"exchange.xforce.ibmcloud.com/vulnerabilities/41010","hostname":"exchange.xforce.ibmcloud.com","tags":["VDB Entry","X Refsource XF","Third Party Advisory"]},{"url":"http://secunia.com/advisories/31687","label":"secunia.com/advisories/31687","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA","Not Applicable"]},{"url":"http://www.securityfocus.com/archive/1/489218/100/0/threaded","label":"www.securityfocus.com/archive/1/489218/100/0/threaded","hostname":"www.securityfocus.com","tags":["Mailing List","X Refsource BUGTRAQ","Third Party Advisory","VDB Entry"]},{"url":"https://www.redhat.com/archives/fedora-package-announce/2008-March/msg00354.html","label":"www.redhat.com/archives/fedora-package-announce/2008-March/msg00354.html","hostname":"www.redhat.com","tags":["Vendor Advisory","X Refsource FEDORA","Third Party Advisory"]},{"url":"http://www.redhat.com/support/errata/RHSA-2008-0897.html","label":"www.redhat.com/support/errata/RHSA-2008-0897.html","hostname":"www.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","Third Party Advisory"]},{"url":"http://lists.apple.com/archives/security-announce/2008//Jun/msg00002.html","label":"lists.apple.com/archives/security-announce/2008//Jun/msg00002.html","hostname":"lists.apple.com","tags":["Vendor Advisory","X Refsource APPLE","Broken Link","Mailing List"]},{"url":"http://www.ruby-lang.org/en/news/2008/03/03/webrick-file-access-vulnerability/","label":"www.ruby-lang.org/en/news/2008/03/03/webrick-file-access-vulnerability/","hostname":"www.ruby-lang.org","tags":["X Refsource CONFIRM","Exploit","Patch","Vendor Advisory"]},{"url":"http://www.vupen.com/english/advisories/2008/0787","label":"www.vupen.com/english/advisories/2008/0787","hostname":"www.vupen.com","tags":["VDB Entry","X Refsource VUPEN","Permissions Required"]},{"url":"http://secunia.com/advisories/30802","label":"secunia.com/advisories/30802","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA","Not Applicable"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10937","label":"oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10937","hostname":"oval.cisecurity.org","tags":["VDB Entry","Signature","X Refsource OVAL","Broken Link"]},{"url":"http://www.securitytracker.com/id?1019562","label":"www.securitytracker.com/id?1019562","hostname":"www.securitytracker.com","tags":["VDB Entry","X Refsource SECTRACK","Broken Link","Third Party Advisory"]},{"url":"https://issues.rpath.com/browse/RPL-2338","label":"issues.rpath.com/browse/RPL-2338","hostname":"issues.rpath.com","tags":["X Refsource CONFIRM","Broken Link"]},{"url":"http://secunia.com/advisories/32371","label":"secunia.com/advisories/32371","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA","Not Applicable"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2008:142","label":"www.mandriva.com/security/advisories?name=MDVSA-2008:142","hostname":"www.mandriva.com","tags":["Vendor Advisory","X Refsource MANDRIVA","Broken Link"]},{"url":"http://secunia.com/advisories/29536","label":"secunia.com/advisories/29536","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA","Not Applicable"]},{"url":"https://www.redhat.com/archives/fedora-package-announce/2008-March/msg00338.html","label":"www.redhat.com/archives/fedora-package-announce/2008-March/msg00338.html","hostname":"www.redhat.com","tags":["Vendor Advisory","X Refsource FEDORA","Third Party Advisory"]},{"url":"http://wiki.rpath.com/Advisories:rPSA-2008-0123","label":"wiki.rpath.com/Advisories:rPSA-2008-0123","hostname":"wiki.rpath.com","tags":["X Refsource CONFIRM","Broken Link"]}],"lineage":{"upstream":[],"downstream":["RHSA-2008:0897"],"duplicates":[],"related":["CGA-2W2P-27V5-9P9W","CGA-5R3J-2VPR-55QP","CGA-7J53-PPJ5-9HJM"]},"timeline":[{"kind":"published","date":"2008-03-04T23:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-07T08:08:57.740Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":36,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T06:46:50.645Z","stale":false,"partial":false}}