Skip to content
WatchlistMedium

CVE-2008-1145Webrick Path Traversal

ruby: webrick directory traversal

Published Mar 3, 2008 · Updated Aug 7, 2024

Key Facts

Routine patching
  • CVE-2008-1145 is a medium-severity vulnerability (CVSS 5.0 v2) affecting Webrick (Ruby-Lang), Fedora (Fedoraproject), ruby3.3-webrick (chainguard) and 11 more products.
  • It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
  • EPSS estimates a 28% 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)

28%

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

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

21 affected entries in total
ProductAffected versionsFixed in
WebrickRuby-LangSee advisoryn/a
FedoraFedoraproject7, 8n/a
ruby3.3-webrickchainguardSee advisory1.9.1-r0
ruby3.4-webrickchainguardSee advisory1.9.1-r3
ruby4.0-webrickchainguardSee advisory1.9.2-r0
9 more affected products in the full CVE brief

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

  1. Publicly disclosed

    Mar 3, 2008

  2. Last updated

    Aug 7, 2024

Weakness Type

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

References

15 more references in the full CVE brief

FAQ

Common Questions.

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

Figures as of Oct 19, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.