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.

NOTICE

NIST is currently working to establish a consortium to address challenges in the NVD program and develop improved tools and methods. You will temporarily see delays in analysis efforts during this transition. We apologize for the inconvenience and ask for your patience as we work to improve the NVD program.

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.


Severity



CVSS 3.x Severity and Metrics:

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


NVD Analysts use publicly available information to associate vector strings and CVSS scores. We also display any CVSS information provided within the CVE List from the CNA.

Note: NVD Analysts have not published a CVSS score for this CVE at this time. NVD Analysts use publicly available information at the time of analysis to associate CVSS vector strings.

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 nvd@nist.gov.

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

5 change records found show changes

Quick Info

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