Vulnerabilities · 2008 · Ruby-lang
CVE-2008-1145
Ruby-lang Webrick vulnerability
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
Webrick, Fedora. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Ruby-lang Webrick runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- secunia.com/advisories/29232 · Vendor Advisory
- secunia.com/advisories/29357 · Vendor Advisory
- www.ruby-lang.org/en/news/2008/03/03/webrick-file-access-vulnerability/ · Exploit
- lists.opensuse.org/opensuse-security-announce/2008-08/msg00006.html · Third Party Advisory
- support.apple.com/kb/HT2163 · Third Party Advisory
- www.kb.cert.org/vuls/id/404515 · Third Party Advisory
- www.redhat.com/support/errata/RHSA-2008-0897.html · Third Party Advisory
- www.securityfocus.com/archive/1/489205/100/0/threaded · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2008-1145
- cve.org/CVERecord?id=CVE-2008-1145
More vulnerabilities in Ruby-lang products
CVE-2026-46727CVE-2025-58767CVE-2025-43857CVE-2025-27788CVE-2025-27221CVE-2025-27220CVE-2025-27219CVE-2025-6442All 115
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.