Security mailing lists by PureSourceCode

CVE-2008-1891

MEDIUM 5.0CVSS 2.0

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.

Published
18 Apr 2008
Last modified
16 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-22
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 5.0 AV:N/AC:L/Au:N/C:P/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD ruby-lang ruby
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*
<= 1.9.0
NVD ruby-lang ruby
cpe:2.3:a:ruby-lang:ruby:1.8.5:*:*:*:*:*:*:*
= 1.8.5
NVD ruby-lang ruby
cpe:2.3:a:ruby-lang:ruby:1.8.6:*:*:*:*:*:*:*
= 1.8.6

References

History

  • 25 Nov 2026 20:14 UTC · NVD: first stored (published 18 Apr 2008)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.