Read the docs
TI-2008-01097 Aliases CVE-2008-1145GHSA-f279-rf2r-m6m5

Directory traversal vulnerability in WEBrick in Ruby 1.8 before 1.8.5-p115 and…

Priority MEDIUM 45CWE-22Published · Updated

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

EPSS 0.27104 98th percentileScored 2026-11-07
Public exploit Yes 2 exploit referencesTagged by the CNA and NVD
Fix Fixed Red Hat: 1 advisory

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
  • — Vendor— Affected all versions Fixed in — No fix listed CNA

CPE configurations NVD · 6

CPEVersionsRoleVendor
cpe:2.3:a:ruby-lang:webrick:-:*:*:*:*:ruby:*:*not specified by NVDVulnerableruby
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*1.8.0 to before 1.8.5.115; 1.8.6 to before 1.8.6.114Running onruby
cpe:2.3:a:ruby-lang:ruby:1.9.0:*:*:*:*:*:*:*1.9.0Running onruby
cpe:2.3:a:ruby-lang:ruby:1.9.0.1:*:*:*:*:*:*:*1.9.0.1Running onruby
cpe:2.3:o:fedoraproject:fedora:7:*:*:*:*:*:*:*7VulnerableFedoraproject
cpe:2.3:o:fedoraproject:fedora:8:*:*:*:*:*:*:*8VulnerableFedoraproject
  • 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 Moderate
    ruby 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 →

ProductStatusPlan or fix
Red Hat Enterprise Linux (v. 5 server)Fixed RHSA-2008:0897
Red Hat Enterprise Linux AS version 4Fixed 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 4Fixed RHSA-2008:0897
Red Hat Enterprise Linux ES version 4Fixed RHSA-2008:0897
Red Hat Enterprise Linux WS version 4Fixed RHSA-2008:0897

Timeline

  1. 2026-10-02 Threatist record created from CVE-2008-1145
  2. 2026-10-03 Alias added: GHSA-f279-rf2r-m6m5

References

Sources