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 18% places it in the 97th 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: 18% (97th 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 18% (97th 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-48282 — Critical (CVSS 10.0): ColdFusion versions 2025.9, 2023.20 and earlier are affected by an Improper Limitation of a Pathname to a Restricted…
- CVE-2026-54917 — Critical (CVSS 10.0): SeaweedFS is a distributed storage system for object storage (S3), file systems, and Iceberg tables. Prior to 4.30, the…
- CVE-2026-11429 — Critical (CVSS 10.0): Two endpoints in the Vault Service ScriptsController, shared by Altium Enterprise Server and Altium 365, accept file…
- CVE-2026-34909 — Critical (CVSS 10.0): A malicious actor with access to the network could exploit a Path Traversal vulnerability found in UniFi OS devices to…
- CVE-2026-7411 — Critical (CVSS 10.0): In Eclipse BaSyx Java Server SDK versions prior to 2.0.0-milestone-10, inadequate path normalization in the Submodel…
- CVE-2026-36767 — Critical (CVSS 10.0): A path traversal vulnerability in the /content/images/add endpoint of shopizer v3.2.5 allows attackers write arbitrary…