Home / Ruby-lang / Webrick / CVE-2008-1145
CVE-2008-1145: is it exploited, and which versions of Ruby-lang Webrick are affected and fixed?
CVE-2008-1145 is a path traversal (reading or writing files outside the intended folder) vulnerability in Ruby-lang Webrick. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 08:08 UTC). Affected: webrick all versions, fedora 7 and fedora 8 (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (5.0, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 08:08 UTC, CVE record November 19, 2026, 07:21 UTC and NVD November 19, 2026, 08:52 UTC.
What is CVE-2008-1145?
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.
From the CVE record by redhat, last updated August 7, 2024, 08:08 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| ruby-lang | webrick | all versions | application |
| fedoraproject | fedora | 7 | operating system |
| fedoraproject | fedora | 8 | operating system |
NVD analysis (status Modified), last modified June 16, 2026, 22:51 UTC.
How severe is CVE-2008-1145?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2008-1145 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 27.1% probability of exploitation activity in the next 30 days, percentile 98.1 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
Where are the vendor advisories and references?
- SUSE-SR:2008:017 vendor-advisory, x_refsource_SUSE
- http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0123 x_refsource_CONFIRM
- http://support.apple.com/kb/HT2163 x_refsource_CONFIRM
- 29357 third-party-advisory, x_refsource_SECUNIA
- 20080325 rPSA-2008-0123-1 ruby mailing-list, x_refsource_BUGTRAQ
- VU#404515 third-party-advisory, x_refsource_CERT-VN
- 28123 vdb-entry, x_refsource_BID
- MDVSA-2008:141 vendor-advisory, x_refsource_MANDRIVA
- 20080306 [DSECRG-08-018] Ruby 1.8.6 (Webrick Httpd 1.3.1) Directory traversal file Download Vulnerability mailing-list, x_refsource_BUGTRAQ
- ADV-2008-1981 vdb-entry, x_refsource_VUPEN
- 5215 exploit, x_refsource_EXPLOIT-DB
- 29232 third-party-advisory, x_refsource_SECUNIA
- ruby-webrick-directory-traversal(41010) vdb-entry, x_refsource_XF
- 31687 third-party-advisory, x_refsource_SECUNIA
- 20080306 Re: [DSECRG-08-018] Ruby 1.8.6 (Webrick Httpd 1.3.1) Directory traversal file Download Vulnerability mailing-list, x_refsource_BUGTRAQ
- FEDORA-2008-2458 vendor-advisory, x_refsource_FEDORA
- RHSA-2008:0897 vendor-advisory, x_refsource_REDHAT
- APPLE-SA-2008-06-30 vendor-advisory, x_refsource_APPLE
- http://www.ruby-lang.org/en/news/2008/03/03/webrick-file-access-vulnerability/ x_refsource_CONFIRM
- ADV-2008-0787 vdb-entry, x_refsource_VUPEN
- 30802 third-party-advisory, x_refsource_SECUNIA
- oval:org.mitre.oval:def:10937 vdb-entry, signature, x_refsource_OVAL
- 1019562 vdb-entry, x_refsource_SECTRACK
- https://issues.rpath.com/browse/RPL-2338 x_refsource_CONFIRM
- 32371 third-party-advisory, x_refsource_SECUNIA
- MDVSA-2008:142 vendor-advisory, x_refsource_MANDRIVA
- 29536 third-party-advisory, x_refsource_SECUNIA
- FEDORA-2008-2443 vendor-advisory, x_refsource_FEDORA
- http://wiki.rpath.com/Advisories:rPSA-2008-0123 x_refsource_CONFIRM
When was it published, and where is the official record?
- Reserved
- March 4, 2008
- Published
- March 4, 2008, 23:00 UTC
- CVE record updated
- August 7, 2024, 08:08 UTC by redhat
- NVD
- Modified, last modified June 16, 2026, 22:51 UTC
- Last checked
- CVE list November 19, 2026, 07:21 UTC; NVD November 19, 2026, 08:52 UTC; KEV December 3, 2026, 08:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Webrick?
- Oct 6, 2020CVE-2020-25613 Ruby-lang Ruby: HTTP request smuggling
- May 10, 2019CVE-2019-11879 Ruby-lang Webrick: path traversal (reading or writing files outside the intended folder) disputed
- Jan 13, 2010CVE-2009-4492 Ruby-lang Webrick: improper input validation
Questions about CVE-2008-1145
Is CVE-2008-1145 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 08:08 UTC. FIRST's EPSS gives it a 27.1% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Ruby-lang Webrick are affected by CVE-2008-1145?
webrick all versions, fedora 7 and fedora 8, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2008-1145?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2008-1145?
Medium (5.0, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2008-1145?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.