Live threats

All CVEs / Ruby-lang

CVE-2008-1145Ruby-lang Webrick

Medium 5.0 No auth neededHigh EPSS

Priority
48
CVSS 2.0
5.0
EPSS
27.1%
probability of exploitation in 30 days · percentile 98
Auth required
No
Published
Mar 4, 2008
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-22
Vector
AV:N/AC:L/Au:N/C:P/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Webrick.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
ruby-langwebrickall
fedoraprojectfedora7
fedoraprojectfedora8

Official sources

References

Links published by the sources. Open them with care.