CVE-2008-1145

Summary

CVECVE-2008-1145
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2008-03-04 23:44:00 UTC
Updated2026-04-23 00:35:47 UTC
DescriptionDirectory 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.

Risk And Classification

Primary CVSS: v2.0 5 from [email protected]

AV:N/AC:L/Au:N/C:P/I:N/A:N

Problem Types: CWE-22 | n/a

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Low
Authentication
None
Confidentiality
Partial
Integrity
None
Availability
None

AV:N/AC:L/Au:N/C:P/I:N/A:N

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Ruby-lang Ruby All All All All
Application Ruby-lang Webrick - All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
Advisories:rPSA-2008-0123 - rPath Wiki af854a3a-2127-422b-91ae-364da2661108 wiki.rpath.com Broken Link
Repository / Oval Repository af854a3a-2127-422b-91ae-364da2661108 oval.cisecurity.org Broken Link
About the security content of Security Update 2008-004 and Mac OS X 10.5.4 af854a3a-2127-422b-91ae-364da2661108 support.apple.com Third Party Advisory
IBM X-Force Exchange af854a3a-2127-422b-91ae-364da2661108 exchange.xforce.ibmcloud.com Third Party Advisory, VDB Entry
SUSE Update for Multiple Packages - Secunia Advisories - Vulnerability Intelligence - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com Not Applicable
Support / Security / Advisories / / MDVSA-2008:141 | Mandriva af854a3a-2127-422b-91ae-364da2661108 www.mandriva.com Broken Link
Webmail : Solution de messagerie professionnelle - OVHcloud- OVH af854a3a-2127-422b-91ae-364da2661108 www.vupen.com Permissions Required
[security-announce] SUSE Security Summary Report SUSE-SR:2008:017 af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org Mailing List, Third Party Advisory
Red Hat update for ruby - Secunia Advisories - Vulnerability Intelligence - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com Not Applicable
Advisories:rPSA-2008-0123 - rPath Wiki af854a3a-2127-422b-91ae-364da2661108 wiki.rpath.com Broken Link
[SECURITY] Fedora 8 Update: ruby-1.8.6.114-1.fc8 af854a3a-2127-422b-91ae-364da2661108 www.redhat.com Third Party Advisory
Ruby 1.8.6 (Webrick Httpd 1.3.1) Directory Traversal Vulnerability af854a3a-2127-422b-91ae-364da2661108 www.exploit-db.com Exploit, Third Party Advisory, VDB Entry
issues.rpath.com/browse/RPL-2338 af854a3a-2127-422b-91ae-364da2661108 issues.rpath.com Broken Link
SecurityFocus af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com Third Party Advisory, VDB Entry
APPLE-SA-2008-06-30 Security Update 2008-004 and Mac OS X v10.5.4 af854a3a-2127-422b-91ae-364da2661108 lists.apple.com Broken Link, Mailing List
Apple Mac OS X Security Update Fixes Multiple Vulnerabilities - Secunia Advisories - Vulnerability Intelligence - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com Not Applicable
File access vulnerability of WEBrick af854a3a-2127-422b-91ae-364da2661108 www.ruby-lang.org Exploit, Patch, Vendor Advisory
SecurityFocus af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com Third Party Advisory, VDB Entry
Support / Security / Advisories / / MDVSA-2008:142 | Mandriva af854a3a-2127-422b-91ae-364da2661108 www.mandriva.com Broken Link
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 www.redhat.com Third Party Advisory
Miva Merchant: MivaScript Compiler Overview af854a3a-2127-422b-91ae-364da2661108 secunia.com Not Applicable, Vendor Advisory
Ruby WEBrick Information Disclosure Vulnerabilities - Secunia Advisories - Vulnerability Intelligence - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com Not Applicable, Vendor Advisory
Webmail : Solution de messagerie professionnelle - OVHcloud- OVH af854a3a-2127-422b-91ae-364da2661108 www.vupen.com Permissions Required
US-CERT Vulnerability Notes af854a3a-2127-422b-91ae-364da2661108 www.kb.cert.org Third Party Advisory, US Government Resource
[SECURITY] Fedora 7 Update: ruby-1.8.6.114-1.fc7 af854a3a-2127-422b-91ae-364da2661108 www.redhat.com Third Party Advisory
SecurityFocus af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com Third Party Advisory, VDB Entry
Ruby Directory Traversal Flaw in WEBrick Library Lets Remote Users View Files on the Target System. - SecurityTracker af854a3a-2127-422b-91ae-364da2661108 www.securitytracker.com Broken Link, Third Party Advisory, VDB Entry
rPath update for ruby - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Not Applicable
Ruby WEBrick Remote Directory Traversal and Information Disclosure Vulnerabilities af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com Broken Link, Third Party Advisory, VDB Entry
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

OrganizationPublishedContributorStatement
Red Hat2008-12-04Mark J CoxThis issue was addressed in affected versions of Ruby as shipped in Red Hat Enterprise Linux 4 and 5 via: https://rhn.redhat.com/errata/RHSA-2008-0897.html
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report