U.S. flag   An official website of the United States government
Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Https

Secure .gov websites use HTTPS
A lock (Dot gov) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

CVE-2008-1145 Detail

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.


Metrics

NVD enrichment efforts reference publicly available information to associate vector strings. CVSS information contributed by other sources is also displayed.
CVSS 4.0 Severity and Vector Strings:

NIST CVSS score
NIST: NVD
N/A
NVD assessment not yet provided.

Vendor Statements (disclaimer)

Official Statement from Red Hat (12/04/2008)

This 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

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to [email protected].

URL Source(s) Tag(s)
http://lists.apple.com/archives/security-announce/2008//Jun/msg00002.html CVE, Inc., Red Hat Broken Link  Mailing List 
http://lists.opensuse.org/opensuse-security-announce/2008-08/msg00006.html CVE, Inc., Red Hat Mailing List  Third Party Advisory 
http://secunia.com/advisories/29232 CVE, Inc., Red Hat Not Applicable  Vendor Advisory 
http://secunia.com/advisories/29357 CVE, Inc., Red Hat Not Applicable  Vendor Advisory 
http://secunia.com/advisories/29536 CVE, Inc., Red Hat Not Applicable 
http://secunia.com/advisories/30802 CVE, Inc., Red Hat Not Applicable 
http://secunia.com/advisories/31687 CVE, Inc., Red Hat Not Applicable 
http://secunia.com/advisories/32371 CVE, Inc., Red Hat Not Applicable 
http://support.apple.com/kb/HT2163 CVE, Inc., Red Hat Third Party Advisory 
http://wiki.rpath.com/Advisories:rPSA-2008-0123 CVE, Inc., Red Hat Broken Link 
http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0123 CVE, Inc., Red Hat Broken Link 
http://www.kb.cert.org/vuls/id/404515 CVE, Inc., Red Hat Third Party Advisory  US Government Resource 
http://www.mandriva.com/security/advisories?name=MDVSA-2008:141 CVE, Inc., Red Hat Broken Link 
http://www.mandriva.com/security/advisories?name=MDVSA-2008:142 CVE, Inc., Red Hat Broken Link 
http://www.redhat.com/support/errata/RHSA-2008-0897.html CVE, Inc., Red Hat Third Party Advisory 
http://www.ruby-lang.org/en/news/2008/03/03/webrick-file-access-vulnerability/ CVE, Inc., Red Hat Exploit  Patch  Vendor Advisory 
http://www.securityfocus.com/archive/1/489205/100/0/threaded CVE, Inc., Red Hat Third Party Advisory  VDB Entry 
http://www.securityfocus.com/archive/1/489218/100/0/threaded CVE, Inc., Red Hat Third Party Advisory  VDB Entry 
http://www.securityfocus.com/archive/1/490056/100/0/threaded CVE, Inc., Red Hat Third Party Advisory  VDB Entry 
http://www.securityfocus.com/bid/28123 CVE, Inc., Red Hat Broken Link  Third Party Advisory  VDB Entry 
http://www.securitytracker.com/id?1019562 CVE, Inc., Red Hat Broken Link  Third Party Advisory  VDB Entry 
http://www.vupen.com/english/advisories/2008/0787 CVE, Inc., Red Hat Permissions Required 
http://www.vupen.com/english/advisories/2008/1981/references CVE, Inc., Red Hat Permissions Required 
https://exchange.xforce.ibmcloud.com/vulnerabilities/41010 CVE, Inc., Red Hat Third Party Advisory  VDB Entry 
https://issues.rpath.com/browse/RPL-2338 CVE, Inc., Red Hat Broken Link 
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10937 CVE, Inc., Red Hat Broken Link 
https://www.exploit-db.com/exploits/5215 CVE, Inc., Red Hat Exploit  Third Party Advisory  VDB Entry 
https://www.redhat.com/archives/fedora-package-announce/2008-March/msg00338.html CVE, Inc., Red Hat Third Party Advisory 
https://www.redhat.com/archives/fedora-package-announce/2008-March/msg00354.html CVE, Inc., Red Hat Third Party Advisory 

Weakness Enumeration

CWE-ID CWE Name Source
CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') cwe source acceptance level NIST  

Known Affected Software Configurations Switch to CPE 2.2

CPEs loading, please wait.

Denotes Vulnerable Software
Are we missing a CPE here? Please let us know.

Change History

7 change records found show changes

Quick Info

CVE Dictionary Entry:
CVE-2008-1145
NVD Published Date:
03/04/2008
NVD Last Modified:
04/08/2025
Source:
Red Hat, Inc.