CVE-2008-1145 json
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…
published 2008-03-04 18 y ago modified 2026-06-16 4 mo ago also EUVD-2008-1154
- cvss
- 5.0
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 27.1%
- EPSS 27.1% chance of exploitation in 30 days, percentile 98%
- public exploits
- 1
- Exploit-DB
Summary
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.
Patch / fix
- ruby-lang ruby 1.8.5.115, 1.8.6.114, 1.9.0.1
- ruby RHEL 4 1.8.1-7.el4_7.1
- ruby RHEL 5 1.8.5-5.el5_2.5
- irb RHEL 4 1.8.1-7.el4_7.1
- ruby-ri RHEL 5 1.8.5-5.el5_2.5
- ruby-irb RHEL 5 1.8.5-5.el5_2.5
- ruby-libs RHEL 4 1.8.1-7.el4_7.1
- ruby-libs RHEL 5 1.8.5-5.el5_2.5
- ruby-mode RHEL 4 1.8.1-7.el4_7.1
red hat advisories RHSA-2008:0897
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2008-1145 updated cvss 5.0
ruby: webrick directory traversal
-
Red Hat Enterprise Linux (v. 5 server) ruby 1.8.5-5.el5_2.5, ruby-ri 1.8.5-5.el5_2.5, ruby-irb 1.8.5-5.el5_2.5, ruby-libs 1.8.5-5.el5_2.5, ruby-mode 1.8.5-5.el5_2.5, ruby-rdoc 1.8.5-5.el5_2.5, +1 more Red Hat Enterprise Linux AS version 4 irb 1.8.1-7.el4_7.1, ruby 1.8.1-7.el4_7.1, ruby-libs 1.8.1-7.el4_7.1, ruby-mode 1.8.1-7.el4_7.1, ruby-tcltk 1.8.1-7.el4_7.1 Red Hat Enterprise Linux Desktop (v. 5 client) ruby 1.8.5-5.el5_2.5, ruby-ri 1.8.5-5.el5_2.5, ruby-irb 1.8.5-5.el5_2.5, ruby-libs 1.8.5-5.el5_2.5, ruby-mode 1.8.5-5.el5_2.5, ruby-rdoc 1.8.5-5.el5_2.5, +1 more Red Hat Enterprise Linux Desktop version 4 irb 1.8.1-7.el4_7.1, ruby 1.8.1-7.el4_7.1, ruby-libs 1.8.1-7.el4_7.1, ruby-mode 1.8.1-7.el4_7.1, ruby-tcltk 1.8.1-7.el4_7.1 Red Hat Enterprise Linux Desktop Workstation (v. 5 client) ruby 1.8.5-5.el5_2.5, ruby-ri 1.8.5-5.el5_2.5, ruby-irb 1.8.5-5.el5_2.5, ruby-libs 1.8.5-5.el5_2.5, ruby-mode 1.8.5-5.el5_2.5, ruby-rdoc 1.8.5-5.el5_2.5, +1 more Red Hat Enterprise Linux ES version 4 irb 1.8.1-7.el4_7.1, ruby 1.8.1-7.el4_7.1, ruby-libs 1.8.1-7.el4_7.1, ruby-mode 1.8.1-7.el4_7.1, ruby-tcltk 1.8.1-7.el4_7.1fixed: vendor fix RHSA-2008:0897
+1 more productsfewer
Red Hat Enterprise Linux WS version 4 irb 1.8.1-7.el4_7.1, ruby 1.8.1-7.el4_7.1, ruby-libs 1.8.1-7.el4_7.1, ruby-mode 1.8.1-7.el4_7.1, ruby-tcltk 1.8.1-7.el4_7.1
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Timeline
- Published
- First public exploit (EDB-5215)
Exploit prediction
27.10% chance of exploitation in the next 30 days, higher than 98% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- EDB-5215 Ruby 1.8.6/1.9 (WEBick HTTPd 1.3.1) - Directory Traversal remote, 2008-03-06
- ruby-lang.org http://www.ruby-lang.org/en/news/2008/03/03/webrick-file-access-vulnerability/ referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
ruby-lang.org
/en/news/2008/03/03/webrick-file-access-vulnerability/
exploit, patch, vendor-advisory
-
exploit-db.com
/exploits/5215
exploit, third-party-advisory, vdb-entry
-
lists.opensuse.org
/opensuse-security-announce/2008-08/msg00006.html
vendor-advisory, mailing-list, third-party-advisory
-
mandriva.com
/security/advisories?name=MDVSA-2008:141
vendor-advisory, broken-link
-
redhat.com
/archives/fedora-package-announce/2008-March/msg00354.html
vendor-advisory, third-party-advisory
-
redhat.com
/support/errata/RHSA-2008-0897.html
vendor-advisory, third-party-advisory
-
lists.apple.com
/archives/security-announce/2008//Jun/msg00002.html
vendor-advisory, broken-link, mailing-list
-
mandriva.com
/security/advisories?name=MDVSA-2008:142
vendor-advisory, broken-link
-
redhat.com
/archives/fedora-package-announce/2008-March/msg00338.html
vendor-advisory, third-party-advisory
-
secunia.com
/advisories/29357
third-party-advisory, not-applicable, vendor-advisory
-
secunia.com
/advisories/29232
third-party-advisory, not-applicable, vendor-advisory
-
wiki.rpath.com
/wiki/Advisories:rPSA-2008-0123
broken-link
-
support.apple.com
/kb/HT2163
third-party-advisory
-
securityfocus.com
/archive/1/490056/100/0/threaded
mailing-list, third-party-advisory, vdb-entry
-
kb.cert.org
/vuls/id/404515
third-party-advisory, us-government-resource
-
securityfocus.com
/bid/28123
vdb-entry, broken-link, third-party-advisory
-
securityfocus.com
/archive/1/489205/100/0/threaded
mailing-list, third-party-advisory, vdb-entry
-
vupen.com
/english/advisories/2008/1981/references
vdb-entry, permissions-required
-
exchange.xforce.ibmcloud.com
/vulnerabilities/41010
vdb-entry, third-party-advisory
-
secunia.com
/advisories/31687
third-party-advisory, not-applicable
-
securityfocus.com
/archive/1/489218/100/0/threaded
mailing-list, third-party-advisory, vdb-entry
-
vupen.com
/english/advisories/2008/0787
vdb-entry, permissions-required
-
secunia.com
/advisories/30802
third-party-advisory, not-applicable
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10937
vdb-entry, signature, broken-link
-
securitytracker.com
/id?1019562
vdb-entry, broken-link, third-party-advisory
-
issues.rpath.com
/browse/RPL-2338
broken-link
-
secunia.com
/advisories/32371
third-party-advisory, not-applicable
-
secunia.com
/advisories/29536
third-party-advisory, not-applicable
-
wiki.rpath.com
/Advisories:rPSA-2008-0123
broken-link
Sources
- CVE List CVE-2008-1145
- NVD CVE-2008-1145
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Improved CPE configurations. This old version of WEBrick embedded in old ruby versions was not versioned properly, so just report the vuln as against ruby itself.