CVE-2008-1145
Directory traversal vulnerability in WEBrick in Ruby 1.8 before 1.8.5-p115 and 1.8.6-p114, and 1...
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.
Exploit likelihood
What each source reports
NVD Score used
5.0
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.
- Record
CVE-2008-1145- CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:P/I:N/A:N - Weakness
- CWE-22
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2008-1145- Updated
- 2026-11-02
EUVDEUVD-2008-1154 No score
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.
- Record
EUVD-2008-1154- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-f279-rf2r-m6m5 No score
Directory traversal vulnerability in WEBrick in Ruby 1.8 before 1.8.5-p115 and 1.8.6-p114, and 1...
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.
- Record
GHSA-f279-rf2r-m6m5- Weakness
- CWE-22
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
irbRed Hat:enterprise_linux:4::as |
before 0:1.8.1-7.el4_7.1 | 0:1.8.1-7.el4_7.1 |
rubyRed Hat:enterprise_linux:4::as |
before 0:1.8.1-7.el4_7.1 | 0:1.8.1-7.el4_7.1 |
ruby-debuginfoRed Hat:enterprise_linux:4::as |
before 0:1.8.1-7.el4_7.1 | 0:1.8.1-7.el4_7.1 |
ruby-develRed Hat:enterprise_linux:4::as |
before 0:1.8.1-7.el4_7.1 | 0:1.8.1-7.el4_7.1 |
ruby-docsRed Hat:enterprise_linux:4::as |
before 0:1.8.1-7.el4_7.1 | 0:1.8.1-7.el4_7.1 |
ruby-libsRed Hat:enterprise_linux:4::as |
before 0:1.8.1-7.el4_7.1 | 0:1.8.1-7.el4_7.1 |
ruby-modeRed Hat:enterprise_linux:4::as |
before 0:1.8.1-7.el4_7.1 | 0:1.8.1-7.el4_7.1 |
ruby-tcltkRed Hat:enterprise_linux:4::as |
before 0:1.8.1-7.el4_7.1 | 0:1.8.1-7.el4_7.1 |
irbRed Hat:enterprise_linux:4::desktop |
before 0:1.8.1-7.el4_7.1 | 0:1.8.1-7.el4_7.1 |
rubyRed Hat:enterprise_linux:4::desktop |
before 0:1.8.1-7.el4_7.1 | 0:1.8.1-7.el4_7.1 |
Show 44 moreShow less
| Package | Affected | Fixed |
|---|---|---|
ruby-debuginfoRed Hat:enterprise_linux:4::desktop |
before 0:1.8.1-7.el4_7.1 | 0:1.8.1-7.el4_7.1 |
ruby-develRed Hat:enterprise_linux:4::desktop |
before 0:1.8.1-7.el4_7.1 | 0:1.8.1-7.el4_7.1 |
ruby-docsRed Hat:enterprise_linux:4::desktop |
before 0:1.8.1-7.el4_7.1 | 0:1.8.1-7.el4_7.1 |
ruby-libsRed Hat:enterprise_linux:4::desktop |
before 0:1.8.1-7.el4_7.1 | 0:1.8.1-7.el4_7.1 |
ruby-modeRed Hat:enterprise_linux:4::desktop |
before 0:1.8.1-7.el4_7.1 | 0:1.8.1-7.el4_7.1 |
ruby-tcltkRed Hat:enterprise_linux:4::desktop |
before 0:1.8.1-7.el4_7.1 | 0:1.8.1-7.el4_7.1 |
irbRed Hat:enterprise_linux:4::es |
before 0:1.8.1-7.el4_7.1 | 0:1.8.1-7.el4_7.1 |
rubyRed Hat:enterprise_linux:4::es |
before 0:1.8.1-7.el4_7.1 | 0:1.8.1-7.el4_7.1 |
ruby-debuginfoRed Hat:enterprise_linux:4::es |
before 0:1.8.1-7.el4_7.1 | 0:1.8.1-7.el4_7.1 |
ruby-develRed Hat:enterprise_linux:4::es |
before 0:1.8.1-7.el4_7.1 | 0:1.8.1-7.el4_7.1 |
ruby-docsRed Hat:enterprise_linux:4::es |
before 0:1.8.1-7.el4_7.1 | 0:1.8.1-7.el4_7.1 |
ruby-libsRed Hat:enterprise_linux:4::es |
before 0:1.8.1-7.el4_7.1 | 0:1.8.1-7.el4_7.1 |
ruby-modeRed Hat:enterprise_linux:4::es |
before 0:1.8.1-7.el4_7.1 | 0:1.8.1-7.el4_7.1 |
ruby-tcltkRed Hat:enterprise_linux:4::es |
before 0:1.8.1-7.el4_7.1 | 0:1.8.1-7.el4_7.1 |
irbRed Hat:enterprise_linux:4::ws |
before 0:1.8.1-7.el4_7.1 | 0:1.8.1-7.el4_7.1 |
rubyRed Hat:enterprise_linux:4::ws |
before 0:1.8.1-7.el4_7.1 | 0:1.8.1-7.el4_7.1 |
ruby-debuginfoRed Hat:enterprise_linux:4::ws |
before 0:1.8.1-7.el4_7.1 | 0:1.8.1-7.el4_7.1 |
ruby-develRed Hat:enterprise_linux:4::ws |
before 0:1.8.1-7.el4_7.1 | 0:1.8.1-7.el4_7.1 |
ruby-docsRed Hat:enterprise_linux:4::ws |
before 0:1.8.1-7.el4_7.1 | 0:1.8.1-7.el4_7.1 |
ruby-libsRed Hat:enterprise_linux:4::ws |
before 0:1.8.1-7.el4_7.1 | 0:1.8.1-7.el4_7.1 |
ruby-modeRed Hat:enterprise_linux:4::ws |
before 0:1.8.1-7.el4_7.1 | 0:1.8.1-7.el4_7.1 |
ruby-tcltkRed Hat:enterprise_linux:4::ws |
before 0:1.8.1-7.el4_7.1 | 0:1.8.1-7.el4_7.1 |
rubyRed Hat:enterprise_linux:5::client_workstation |
before 0:1.8.5-5.el5_2.5 | 0:1.8.5-5.el5_2.5 |
ruby-debuginfoRed Hat:enterprise_linux:5::client_workstation |
before 0:1.8.5-5.el5_2.5 | 0:1.8.5-5.el5_2.5 |
ruby-develRed Hat:enterprise_linux:5::client_workstation |
before 0:1.8.5-5.el5_2.5 | 0:1.8.5-5.el5_2.5 |
ruby-modeRed Hat:enterprise_linux:5::client_workstation |
before 0:1.8.5-5.el5_2.5 | 0:1.8.5-5.el5_2.5 |
rubyRed Hat:enterprise_linux:5::client |
before 0:1.8.5-5.el5_2.5 | 0:1.8.5-5.el5_2.5 |
ruby-debuginfoRed Hat:enterprise_linux:5::client |
before 0:1.8.5-5.el5_2.5 | 0:1.8.5-5.el5_2.5 |
ruby-docsRed Hat:enterprise_linux:5::client |
before 0:1.8.5-5.el5_2.5 | 0:1.8.5-5.el5_2.5 |
ruby-irbRed Hat:enterprise_linux:5::client |
before 0:1.8.5-5.el5_2.5 | 0:1.8.5-5.el5_2.5 |
ruby-libsRed Hat:enterprise_linux:5::client |
before 0:1.8.5-5.el5_2.5 | 0:1.8.5-5.el5_2.5 |
ruby-rdocRed Hat:enterprise_linux:5::client |
before 0:1.8.5-5.el5_2.5 | 0:1.8.5-5.el5_2.5 |
ruby-riRed Hat:enterprise_linux:5::client |
before 0:1.8.5-5.el5_2.5 | 0:1.8.5-5.el5_2.5 |
ruby-tcltkRed Hat:enterprise_linux:5::client |
before 0:1.8.5-5.el5_2.5 | 0:1.8.5-5.el5_2.5 |
rubyRed Hat:enterprise_linux:5::server |
before 0:1.8.5-5.el5_2.5 | 0:1.8.5-5.el5_2.5 |
ruby-debuginfoRed Hat:enterprise_linux:5::server |
before 0:1.8.5-5.el5_2.5 | 0:1.8.5-5.el5_2.5 |
ruby-develRed Hat:enterprise_linux:5::server |
before 0:1.8.5-5.el5_2.5 | 0:1.8.5-5.el5_2.5 |
ruby-docsRed Hat:enterprise_linux:5::server |
before 0:1.8.5-5.el5_2.5 | 0:1.8.5-5.el5_2.5 |
ruby-irbRed Hat:enterprise_linux:5::server |
before 0:1.8.5-5.el5_2.5 | 0:1.8.5-5.el5_2.5 |
ruby-libsRed Hat:enterprise_linux:5::server |
before 0:1.8.5-5.el5_2.5 | 0:1.8.5-5.el5_2.5 |
ruby-modeRed Hat:enterprise_linux:5::server |
before 0:1.8.5-5.el5_2.5 | 0:1.8.5-5.el5_2.5 |
ruby-rdocRed Hat:enterprise_linux:5::server |
before 0:1.8.5-5.el5_2.5 | 0:1.8.5-5.el5_2.5 |
ruby-riRed Hat:enterprise_linux:5::server |
before 0:1.8.5-5.el5_2.5 | 0:1.8.5-5.el5_2.5 |
ruby-tcltkRed Hat:enterprise_linux:5::server |
before 0:1.8.5-5.el5_2.5 | 0:1.8.5-5.el5_2.5 |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| Exploit-DB | Ruby 1.8.6/1.9 (WEBick HTTPd 1.3.1) - Directory Traversal | 2008-03-06 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, Exploit-DB, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2008-1145 is a medium vulnerability (CVSS 5.0) in Ruby-lang Webrick, published March 4, 2008. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 27.1%, the 98th percentile. Fixed in irb 0:1.8.1-7.el4_7.1.
References
lists.opensuse.org/opensuse-security-announce/2008-08/msg00006.html
wiki.rpath.com/wiki/Advisories:rPSA-2008-0123
support.apple.com/kb/HT2163
secunia.com/advisories/29357
securityfocus.com/archive/1/490056/100/0/threaded
kb.cert.org/vuls/id/404515
Show 55 moreShow less
securityfocus.com/bid/28123
mandriva.com/security/advisories?name=MDVSA-2008:141
securityfocus.com/archive/1/489205/100/0/threaded
vupen.com/english/advisories/2008/1981/references
exploit-db.com/exploits/5215
secunia.com/advisories/29232
exchange.xforce.ibmcloud.com/vulnerabilities/41010
secunia.com/advisories/31687
securityfocus.com/archive/1/489218/100/0/threaded
redhat.com/archives/fedora-package-announce/2008-March/msg00354.html
redhat.com/support/errata/RHSA-2008-0897.html
lists.apple.com/archives/security-announce/2008//Jun/msg00002.html
ruby-lang.org/en/news/2008/03/03/webrick-file-access-vulnerability
vupen.com/english/advisories/2008/0787
secunia.com/advisories/30802
oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10937
securitytracker.com/id?1019562
issues.rpath.com/browse/RPL-2338
secunia.com/advisories/32371
mandriva.com/security/advisories?name=MDVSA-2008:142
secunia.com/advisories/29536
redhat.com/archives/fedora-package-announce/2008-March/msg00338.html
wiki.rpath.com/Advisories:rPSA-2008-0123
nvd.nist.gov/vuln/detail/CVE-2008-1145
github.com/advisories/GHSA-f279-rf2r-m6m5
access.redhat.com/errata/RHSA-2008:0897
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=458948
bugzilla.redhat.com/show_bug.cgi?id=458953
bugzilla.redhat.com/show_bug.cgi?id=458966
bugzilla.redhat.com/show_bug.cgi?id=459266
bugzilla.redhat.com/show_bug.cgi?id=460134
bugzilla.redhat.com/show_bug.cgi?id=461495
security.access.redhat.com/data/csaf/v2/advisories/2008/rhsa-2008_0897.json
access.redhat.com/security/cve/CVE-2008-1145
bugzilla.redhat.com/show_bug.cgi?id=435902
cve.org/CVERecord?id=CVE-2008-1145
access.redhat.com/security/cve/CVE-2008-3443
cve.org/CVERecord?id=CVE-2008-3443
nvd.nist.gov/vuln/detail/CVE-2008-3443
access.redhat.com/security/cve/CVE-2008-3655
cve.org/CVERecord?id=CVE-2008-3655
nvd.nist.gov/vuln/detail/CVE-2008-3655
access.redhat.com/security/cve/CVE-2008-3656
cve.org/CVERecord?id=CVE-2008-3656
nvd.nist.gov/vuln/detail/CVE-2008-3656
access.redhat.com/security/cve/CVE-2008-3657
cve.org/CVERecord?id=CVE-2008-3657
nvd.nist.gov/vuln/detail/CVE-2008-3657
access.redhat.com/security/cve/CVE-2008-3790
cve.org/CVERecord?id=CVE-2008-3790
nvd.nist.gov/vuln/detail/CVE-2008-3790
access.redhat.com/security/cve/CVE-2008-3905
cve.org/CVERecord?id=CVE-2008-3905
nvd.nist.gov/vuln/detail/CVE-2008-3905