CVE-2008-1145
CVE-2008-1145 is a medium-severity vulnerability in Ruby-lang Webrick with a CVSS 2.0 base score of 5.0. Its EPSS exploit-prediction score of 28% places it in the 98th percentile, indicating an elevated likelihood of exploitation. The underlying weakness is classified as CWE-22.
Key facts
- Severity: Medium (CVSS 2.0 base score 5.0)
- EPSS exploit prediction: 28% (98th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-22
- Affected product: Ruby-lang Webrick
- Published:
- Last modified:
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.
Frequently asked questions
- 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.
- How severe is CVE-2008-1145?
- CVE-2008-1145 has a CVSS 2.0 base score of 5.0, rated medium severity.
- Is CVE-2008-1145 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 28% (98th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2008-1145?
- CVE-2008-1145 primarily affects Ruby-lang Webrick. In total, 3 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2008-1145?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2008-1145 published?
- CVE-2008-1145 was published on 2008-03-04 and last updated on 2026-06-16.
References
- http://lists.apple.com/archives/security-announce/2008//Jun/msg00002.html
- http://lists.opensuse.org/opensuse-security-announce/2008-08/msg00006.html
- http://secunia.com/advisories/29232
- http://secunia.com/advisories/29357
- http://secunia.com/advisories/29536
- http://secunia.com/advisories/30802
- http://secunia.com/advisories/31687
- http://secunia.com/advisories/32371
- http://support.apple.com/kb/HT2163
- http://wiki.rpath.com/Advisories:rPSA-2008-0123
- http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0123
- http://www.kb.cert.org/vuls/id/404515
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:141
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:142
- http://www.redhat.com/support/errata/RHSA-2008-0897.html
- http://www.ruby-lang.org/en/news/2008/03/03/webrick-file-access-vulnerability/
- http://www.securityfocus.com/archive/1/489205/100/0/threaded
- http://www.securityfocus.com/archive/1/489218/100/0/threaded
- http://www.securityfocus.com/archive/1/490056/100/0/threaded
- http://www.securityfocus.com/bid/28123
- http://www.securitytracker.com/id?1019562
- http://www.vupen.com/english/advisories/2008/0787
- http://www.vupen.com/english/advisories/2008/1981/references
- https://exchange.xforce.ibmcloud.com/vulnerabilities/41010
- https://issues.rpath.com/browse/RPL-2338
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10937
- https://www.exploit-db.com/exploits/5215
- https://www.redhat.com/archives/fedora-package-announce/2008-March/msg00338.html
- https://www.redhat.com/archives/fedora-package-announce/2008-March/msg00354.html
Affected products (3)
- cpe:2.3:a:ruby-lang:webrick:-:*:*:*:*:ruby:*:*
- cpe:2.3:o:fedoraproject:fedora:7:*:*:*:*:*:*:*
- cpe:2.3:o:fedoraproject:fedora:8:*:*:*:*:*:*:*
More vulnerabilities in Ruby-lang Webrick
- CVE-2020-25613 — High (CVSS 7.5): An issue was discovered in Ruby through 2.5.8, 2.6.x through 2.6.6, and 2.7.x through 2.7.1. WEBrick, a simple HTTP…
- CVE-2009-4492 — High (CVSS 7.5): WEBrick 1.3.1 in Ruby 1.8.6 through patchlevel 383, 1.8.7 through patchlevel 248, 1.8.8dev, 1.9.1 through patchlevel…
- CVE-2025-6442 — Medium (CVSS 5.9): Ruby WEBrick read_header HTTP Request Smuggling Vulnerability. This vulnerability allows remote attackers to smuggle…
- CVE-2019-11879 — Medium (CVSS 5.5): The WEBrick gem 1.4.2 for Ruby allows directory traversal if the attacker once had local access to create a symlink to…
All CVEs affecting Ruby-lang Webrick →
Other CWE-22 (Path Traversal) vulnerabilities
- CVE-2026-76606 — Critical (CVSS 10.0): Joomla Extension - fabrikar.com - Path Traversal via image element in Fabrik < 4.7.3 - ???.
- CVE-2026-18051 — Critical (CVSS 10.0): The W3 Total Cache WordPress plugin before 2.10.5 does not properly validate the request path it uses to build cache…
- CVE-2026-74764 — Critical (CVSS 10.0): Pandora contains a path traversal vulnerability in its TAR archive extraction functionality. When processing a…
- CVE-2026-16940 — Critical (CVSS 10.0): The Custom Fields WordPress plugin before 1.5.1 does not validate a user-supplied file path before deletion, allowing…
- CVE-2026-67429 — Critical (CVSS 10.0): Flyto2 Core is an execution kernel for automation and AI-agent workflows. Prior to 2.26.6, image.download and related…
- CVE-2026-59555 — Critical (CVSS 10.0): Unauthenticated Arbitrary File Deletion in Participants Database <= 2.7.8.3 versions.