CVE-2008-1891

Summary

CVECVE-2008-1891
StatePUBLISHED
Assignermitre
Source PriorityCVE Program / NVD first with legacy fallback
Published2008-04-18 22:05:00 UTC
Updated2026-04-23 00:35:47 UTC
DescriptionDirectory traversal vulnerability in WEBrick in Ruby 1.8.4 and earlier, 1.8.5 before 1.8.5-p231, 1.8.6 before 1.8.6-p230, 1.8.7 before 1.8.7-p22, and 1.9.0 before 1.9.0-2, when using NTFS or FAT filesystems, allows remote attackers to read arbitrary CGI files via a trailing (1) + (plus), (2) %2b (encoded plus), (3) . (dot), (4) %2e (encoded dot), or (5) %20 (encoded space) character in the URI, possibly related to the WEBrick::HTTPServlet::FileHandler and WEBrick::HTTPServer.new functionality and the :DocumentRoot 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 1.8.5 All All All
Application Ruby-lang Ruby 1.8.6 All All All
Application Ruby-lang Ruby All All All All

Vendor Declared Affected Products

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

References

ReferenceSourceLinkTags
Fedora update for ruby - Secunia Advisories - Vulnerability Intelligence - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com
Arbitrary code execution vulnerabilities af854a3a-2127-422b-91ae-364da2661108 www.ruby-lang.org
SUSE Update for Multiple Packages - Secunia Advisories - Vulnerability Intelligence - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com
Support / Security / Advisories / / MDVSA-2008:141 | Mandriva af854a3a-2127-422b-91ae-364da2661108 www.mandriva.com
[security-announce] SUSE Security Summary Report SUSE-SR:2008:017 af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org
aluigi.altervista.org/adv/webrickcgi-adv.txt af854a3a-2127-422b-91ae-364da2661108 aluigi.altervista.org
IBM X-Force Exchange af854a3a-2127-422b-91ae-364da2661108 exchange.xforce.ibmcloud.com
Ruby Multiple Vulnerabilities - Secunia Advisories - Vulnerability Information - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
[SECURITY] Fedora 9 Update: ruby-1.8.6.230-1.fc9 af854a3a-2127-422b-91ae-364da2661108 www.redhat.com
Support / Security / Advisories / / MDVSA-2008:140 | Mandriva af854a3a-2127-422b-91ae-364da2661108 www.mandriva.com
Webmail - OVH af854a3a-2127-422b-91ae-364da2661108 www.vupen.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

OrganizationPublishedContributorStatement
Red Hat2009-06-10Joshua BressersRed Hat is aware of this issue and is tracking it via the following bug: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=CVE-2008-1891 The risks associated with fixing this flaw outweigh the benefits of the fix. Red Hat does not plan to fix this flaw in Red Hat Enterprise Linux.

© 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