{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2008-1891","published":"2008-04-18T22:05:00Z","last_modified":"2026-06-16T22:52:42.007000Z","status":"Modified","cvss":{"version":"2.0","score":5.0,"severity":"MEDIUM","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-22"],"cpes":[{"criteria":"cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version_end_including":"1.9.0"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:1.8.5:*:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version":"1.8.5"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:1.8.6:*:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version":"1.8.6"}],"cpes_truncated":false,"vendors":["ruby-lang"],"products":["ruby-lang/ruby"],"epss":{"score":0.02789,"percentile":0.87151,"date":"2026-11-27","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":45,"links":{"html_es":"/es/cve/CVE-2008-1891/","html_en":"/en/cve/CVE-2008-1891/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2008-1891","cve_org":"https://www.cve.org/CVERecord?id=CVE-2008-1891"},"untrusted":{"vendor_name":"Ruby-lang","product_name":"Ruby","desc_en":"Directory traversal vulnerability in WEBrick in Ruby 1.8.4 and earlier, 1.8.5 before 1.8.5-p231, 1.8.6 before 1.8.6-p230, 1.8.7 before 1.8.7-p22, and 1.9.0 before 1.9.0-2, when using NTFS or FAT filesystems, allows remote attackers to read arbitrary CGI files via a trailing (1) + (plus), (2) %2b (encoded plus), (3) . (dot), (4) %2e (encoded dot), or (5) %20 (encoded space) character in the URI, possibly related to the WEBrick::HTTPServlet::FileHandler and WEBrick::HTTPServer.new functionality and the :DocumentRoot option.","affected":[],"references":[{"url":"http://aluigi.altervista.org/adv/webrickcgi-adv.txt","tags":[]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2008-08/msg00006.html","tags":[]},{"url":"http://secunia.com/advisories/29794","tags":["Vendor Advisory"]},{"url":"http://secunia.com/advisories/30831","tags":[]},{"url":"http://secunia.com/advisories/31687","tags":[]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2008:140","tags":[]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2008:141","tags":[]},{"url":"http://www.ruby-lang.org/en/news/2008/06/20/arbitrary-code-execution-vulnerabilities/","tags":[]},{"url":"http://www.vupen.com/english/advisories/2008/1245/references","tags":[]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/41824","tags":[]},{"url":"https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00937.html","tags":[]}]}}