Directory traversal vulnerability in WEBrick in Ruby 1.8 before 1.8.5-p115 and…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- Partial · None · None
- Fix status
- Fixed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-22 and the CVSS impact.
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 6
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:ruby-lang:webrick:-:*:*:*:*:ruby:*:* | not specified by NVD | Vulnerable | ruby |
| cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* | 1.8.0 to before 1.8.5.115; 1.8.6 to before 1.8.6.114 | Running on | ruby |
| cpe:2.3:a:ruby-lang:ruby:1.9.0:*:*:*:*:*:*:* | 1.9.0 | Running on | ruby |
| cpe:2.3:a:ruby-lang:ruby:1.9.0.1:*:*:*:*:*:*:* | 1.9.0.1 | Running on | ruby |
| cpe:2.3:o:fedoraproject:fedora:7:*:*:*:*:*:*:* | 7 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:8:*:*:*:*:*:*:* | 8 | Vulnerable | Fedoraproject |
- cpe:2.3:a:ruby-lang:webrick:-:*:*:*:*:ruby:*:* Versions not specified by NVD Vulnerable ·ruby
- cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* Versions 1.8.0 to before 1.8.5.115; 1.8.6 to before 1.8.6.114 Running on ·ruby
- cpe:2.3:a:ruby-lang:ruby:1.9.0:*:*:*:*:*:*:* Versions 1.9.0 Running on ·ruby
- cpe:2.3:a:ruby-lang:ruby:1.9.0.1:*:*:*:*:*:*:* Versions 1.9.0.1 Running on ·ruby
- cpe:2.3:o:fedoraproject:fedora:7:*:*:*:*:*:*:* Versions 7 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:8:*:*:*:*:*:*:* Versions 8 Vulnerable ·Fedoraproject
Remediation
Red Hat 1 advisory
- RHSA-2008:0897 Released 2008-10-21 · Red Hat rating Moderateruby security update
- Red Hat Enterprise Linux (v. 5 server) ruby-1.8.5-5.el5_2.5, ruby-1.8.5-5.el5_2.5.i386, ruby-1.8.5-5.el5_2.5.ia64 +33
- Red Hat Enterprise Linux AS version 4 irb-1.8.1-7.el4_7.1, irb-1.8.1-7.el4_7.1.i386, irb-1.8.1-7.el4_7.1.ia64 +25
- Red Hat Enterprise Linux Desktop (v. 5 client) ruby-1.8.5-5.el5_2.5, ruby-1.8.5-5.el5_2.5.i386, ruby-docs-1.8.5-5.el5_2.5 +11
- Red Hat Enterprise Linux Desktop Workstation (v. 5 client) ruby-1.8.5-5.el5_2.5, ruby-devel-1.8.5-5.el5_2.5, ruby-devel-1.8.5-5.el5_2.5.i386 +2
- Red Hat Enterprise Linux Desktop version 4 irb-1.8.1-7.el4_7.1, irb-1.8.1-7.el4_7.1.i386, ruby-1.8.1-7.el4_7.1 +11
- Red Hat Enterprise Linux ES version 4 irb-1.8.1-7.el4_7.1, irb-1.8.1-7.el4_7.1.i386, irb-1.8.1-7.el4_7.1.ia64 +18
- Red Hat Enterprise Linux WS version 4 irb-1.8.1-7.el4_7.1, irb-1.8.1-7.el4_7.1.i386, irb-1.8.1-7.el4_7.1.ia64 +18
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux (v. 5 server) | Fixed | RHSA-2008:0897 |
| Red Hat Enterprise Linux AS version 4 | Fixed | RHSA-2008:0897 |
| Red Hat Enterprise Linux Desktop (v. 5 client) | Fixed | RHSA-2008:0897 |
| Red Hat Enterprise Linux Desktop Workstation (v. 5 client) | Fixed | RHSA-2008:0897 |
| Red Hat Enterprise Linux Desktop version 4 | Fixed | RHSA-2008:0897 |
| Red Hat Enterprise Linux ES version 4 | Fixed | RHSA-2008:0897 |
| Red Hat Enterprise Linux WS version 4 | Fixed | RHSA-2008:0897 |
Timeline
- 2026-10-02 Threatist record created from CVE-2008-1145
- 2026-10-03 Alias added: GHSA-f279-rf2r-m6m5
References
Advisory 9
Sources
- CVE-2008-1145 · CVE Program
- CVE-2008-1145 · NVD
- FIRST EPSS
- GHSA-f279-rf2r-m6m5 · GitHub Advisory Database · CC BY 4.0
- CVE-2008-1145 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences