CVE-2008-1145Webrick Path Traversal
ruby: webrick directory traversal
Published Mar 3, 2008 · Updated Nov 5, 2026 · Also known as 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, GHSA-f279-rf2r-m6m5, MINI-g877-gp2c-x8fr, MINI-q2gw-f69f-5q77
Key Facts
Routine patching- CVE-2008-1145 is a medium-severity vulnerability (CVSS 5.0 v2) affecting Webrick (Ruby-Lang), Fedora (Fedoraproject), kube-fluentd-operator (wolfi) and 13 more products.
- It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
- EPSS estimates a 27% probability of exploitation in the next 30 days.
- Fixed versions are available, including ruby 0:1.8.1-7.el4_7.1, ruby 0:1.8.5-5.el5_2.5, ruby 1.8.5-5.el5_2.5.
- Brandefense priority: routine patching, as no exploitation is known and its severity is moderate or low.
Scores
CVSS v2
5.0
AV:N/AC:L/Au:N/C:P/I:N/A:N
EPSS (30-day exploit likelihood)
27%
Higher than 98.0% of all scored CVEs
Exploit maturity
Proof of concept
ATLAS score
36/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Not listed
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Proof of concept
Public exploit code
1
Proof-of-concept links
In-the-wild evidence
0
Reports of active use
Advisories And Exploit References
- advisorySUSE-SR:2008:017
- advisoryRHSA-2008:0897
- advisory29232
- advisory29357
- advisoryruby-webrick-directory-traversal(41010)
- advisoryhttp://support.apple.com/kb/HT2163
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.
Affected Products
43 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| WebrickRuby-Lang | See advisory | n/a |
| FedoraFedoraproject | 7, 8 | n/a |
| kube-fluentd-operatorwolfi | See advisory | 0 |
| ruby3.2-webrickwolfi | See advisory | 0 |
| ruby3.3-webrickwolfi | See advisory | 1.9.1-r0 |
Patched Releases
ruby
0:1.8.1-7.el4_7.1, 0:1.8.5-5.el5_2.5, 1.8.5-5.el5_2.5
ruby-devel
1.8.5-5.el5_2.5
ruby-docs
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
ruby-ri
1.8.5-5.el5_2.5
ruby-tcltk
1.8.5-5.el5_2.5
ruby3.3-webrick
1.9.1-r0
ruby3.4-webrick
1.9.1-r0, 1.9.1-r3
ruby4.0-webrick
1.9.2-r0
Timeline
Publicly disclosed
Mar 3, 2008
Last updated
Nov 5, 2026
Weakness Type
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
- advisorySUSE-SR:2008:017
- advisoryRHSA-2008:0897
- advisory29232
- advisory29357
- advisoryruby-webrick-directory-traversal(41010)
FAQ
Common Questions.
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) f…
Affected: Webrick (Ruby-Lang); Fedora (Fedoraproject) versions 7, 8; kube-fluentd-operator (wolfi), among others. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Public exploit code is available.
Fixed versions are available, including ruby 0:1.8.1-7.el4_7.1, ruby 0:1.8.5-5.el5_2.5, ruby 1.8.5-5.el5_2.5.
Brandefense priority: routine patching, as no exploitation is known and its severity is moderate or low.
Is CVE-2008-1145 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo