Back
CVE-2008-1891
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…
Medium5.0EPSS 2.8%
- Published
- Updated
- Reserved
- Assigned by
- mitre
Description
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
- EPSS (exploitation in 30 days)
- 2.8% · top 14% of all CVEs (3 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.0.
Weakness
Affected products
n/a
- affected n/a
References (11)
- 29794 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- SUSE-SR:2008:017 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- MDVSA-2008:141 (opens in a new tab)vendor-advisoryx_refsource_MANDRIVAx_transferred
- ruby-webrick-cgi-info-disclosure(41824) (opens in a new tab)vdb-entryx_refsource_XFx_transferred
- 31687 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- http://aluigi.altervista.org/adv/webrickcgi-adv.txt (opens in a new tab)x_refsource_MISCx_transferred
- FEDORA-2008-5649 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- MDVSA-2008:140 (opens in a new tab)vendor-advisoryx_refsource_MANDRIVAx_transferred
- 30831 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- ADV-2008-1245 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
- http://www.ruby-lang.org/en/news/2008/06/20/arbitrary-code-execution-vulnerabilities/ (opens in a new tab)x_refsource_CONFIRMx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2008-1891)Record last updated .