Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2008-1891

5.0 · MEDIUM
Published Apr 18, 2008 ruby-lang CWE-22 EPSS 2.79% (85th pctl)

Overview

CVE-2008-1891 is a medium-severity vulnerability affecting ruby-lang ruby. It was published on April 18, 2008 and has a CVSS 2.0 base score of 5.0 (MEDIUM).

This vulnerability has a CVSS 2.0 base score of 5.0, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical Description

Directory 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.

Remediation

Check the references section for vendor advisories and patches from ruby-lang. Update ruby to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
ruby-lang ruby 0 Affected

Frequently Asked Questions

What is CVE-2008-1891?

CVE-2008-1891 is a medium-severity vulnerability affecting ruby-lang ruby. It was published on April 18, 2008 and has a CVSS 2.0 base score of 5.0 (MEDIUM).

How severe is CVE-2008-1891?

This vulnerability has a CVSS 2.0 base score of 5.0, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2008-1891?

Check the references section for vendor advisories and patches from ruby-lang. Update ruby to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2008-1891?

CyberStrike's AI-powered security agents can automatically detect CVE-2008-1891 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.