CVE-2008-1891
Directory traversal vulnerability in WEBrick in Ruby 1.8.4 and earlier, 1.8.5 before 1.8.5-p231,...
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.
Exploit likelihood
What each source reports
NVD Score used
5.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.
- Record
CVE-2008-1891- CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:P/I:N/A:N - Weakness
- CWE-22
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2008-1891- Updated
- 2026-11-02
EUVDEUVD-2008-1891 No score
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.
- Record
EUVD-2008-1891- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-rhf2-x48g-5wr7 No score
Directory traversal vulnerability in WEBrick in Ruby 1.8.4 and earlier, 1.8.5 before 1.8.5-p231,...
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.
- Record
GHSA-rhf2-x48g-5wr7- Weakness
- CWE-22
- Updated
- 2026-11-02
OSVRHSA-2026:7305
7.5
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
- Record
RHSA-2026:7305- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
OSVRHSA-2026:7307
7.5
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
- Record
RHSA-2026:7307- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
OSVRHSA-2026:8838
7.5
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
- Record
RHSA-2026:8838- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
ruby3.3Red Hat:hummingbird:1 From an advisory covering 36 CVEs |
before 0:3.3.10-23.1.hum1 | 0:3.3.10-23.1.hum1 |
ruby3.3-bundled-gemsRed Hat:hummingbird:1 From an advisory covering 36 CVEs |
before 0:3.3.10-23.1.hum1 | 0:3.3.10-23.1.hum1 |
ruby3.3-default-gemsRed Hat:hummingbird:1 From an advisory covering 36 CVEs |
before 0:3.3.10-23.1.hum1 | 0:3.3.10-23.1.hum1 |
ruby3.3-develRed Hat:hummingbird:1 From an advisory covering 36 CVEs |
before 0:3.3.10-23.1.hum1 | 0:3.3.10-23.1.hum1 |
ruby3.3-docRed Hat:hummingbird:1 From an advisory covering 36 CVEs |
before 0:3.3.10-23.1.hum1 | 0:3.3.10-23.1.hum1 |
ruby3.3-libsRed Hat:hummingbird:1 From an advisory covering 36 CVEs |
before 0:3.3.10-23.1.hum1 | 0:3.3.10-23.1.hum1 |
ruby3.4Red Hat:hummingbird:1 From an advisory covering 36 CVEs |
before 0:3.4.8-31.1.hum1 | 0:3.4.8-31.1.hum1 |
ruby3.4-bundled-gemsRed Hat:hummingbird:1 From an advisory covering 36 CVEs |
before 0:3.4.8-31.1.hum1 | 0:3.4.8-31.1.hum1 |
ruby3.4-default-gemsRed Hat:hummingbird:1 From an advisory covering 36 CVEs |
before 0:3.4.8-31.1.hum1 | 0:3.4.8-31.1.hum1 |
ruby3.4-develRed Hat:hummingbird:1 From an advisory covering 36 CVEs |
before 0:3.4.8-31.1.hum1 | 0:3.4.8-31.1.hum1 |
Show 8 moreShow less
| Package | Affected | Fixed |
|---|---|---|
ruby3.4-docRed Hat:hummingbird:1 From an advisory covering 36 CVEs |
before 0:3.4.8-31.1.hum1 | 0:3.4.8-31.1.hum1 |
ruby3.4-libsRed Hat:hummingbird:1 From an advisory covering 36 CVEs |
before 0:3.4.8-31.1.hum1 | 0:3.4.8-31.1.hum1 |
ruby4.0Red Hat:hummingbird:1 From an advisory covering 36 CVEs |
before 0:4.0.0-33.3.hum1 | 0:4.0.0-33.3.hum1 |
ruby4.0-bundled-gemsRed Hat:hummingbird:1 From an advisory covering 36 CVEs |
before 0:4.0.0-33.3.hum1 | 0:4.0.0-33.3.hum1 |
ruby4.0-default-gemsRed Hat:hummingbird:1 From an advisory covering 36 CVEs |
before 0:4.0.0-33.3.hum1 | 0:4.0.0-33.3.hum1 |
ruby4.0-develRed Hat:hummingbird:1 From an advisory covering 36 CVEs |
before 0:4.0.0-33.3.hum1 | 0:4.0.0-33.3.hum1 |
ruby4.0-docRed Hat:hummingbird:1 From an advisory covering 36 CVEs |
before 0:4.0.0-33.3.hum1 | 0:4.0.0-33.3.hum1 |
ruby4.0-libsRed Hat:hummingbird:1 From an advisory covering 36 CVEs |
before 0:4.0.0-33.3.hum1 | 0:4.0.0-33.3.hum1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2008-1891 is a medium vulnerability (CVSS 5.0) in Ruby-lang Ruby, published April 18, 2008. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.79%, the 86th percentile. No source names a fixed version.
References
secunia.com/advisories/29794
lists.opensuse.org/opensuse-security-announce/2008-08/msg00006.html
mandriva.com/security/advisories?name=MDVSA-2008:141
exchange.xforce.ibmcloud.com/vulnerabilities/41824
secunia.com/advisories/31687
aluigi.altervista.org/adv/webrickcgi-adv.txt
Show 169 moreShow less
redhat.com/archives/fedora-package-announce/2008-June/msg00937.html
mandriva.com/security/advisories?name=MDVSA-2008:140
secunia.com/advisories/30831
vupen.com/english/advisories/2008/1245/references
ruby-lang.org/en/news/2008/06/20/arbitrary-code-execution-vulnerabilities
nvd.nist.gov/vuln/detail/CVE-2008-1891
github.com/advisories/GHSA-rhf2-x48g-5wr7
access.redhat.com/errata/RHSA-2026:7305
images.redhat.com
access.redhat.com/security/cve/CVE-2026-27820
access.redhat.com/security/updates/classification
access.redhat.com/security/cve/CVE-2008-3905
access.redhat.com/security/cve/CVE-2008-3657
access.redhat.com/security/cve/CVE-2008-3656
access.redhat.com/security/cve/CVE-2008-3655
access.redhat.com/security/cve/CVE-2024-27282
access.redhat.com/security/cve/CVE-2021-31810
access.redhat.com/security/cve/CVE-2019-16254
access.redhat.com/security/cve/CVE-2018-8780
access.redhat.com/security/cve/CVE-2017-14064
access.redhat.com/security/cve/CVE-2017-10784
access.redhat.com/security/cve/CVE-2015-9096
access.redhat.com/security/cve/CVE-2014-8090
access.redhat.com/security/cve/CVE-2014-8080
access.redhat.com/security/cve/CVE-2014-6438
access.redhat.com/security/cve/CVE-2014-4975
access.redhat.com/security/cve/CVE-2013-1821
access.redhat.com/security/cve/CVE-2012-5371
access.redhat.com/security/cve/CVE-2011-4815
access.redhat.com/security/cve/CVE-2008-1891
access.redhat.com/security/cve/CVE-2023-28756
access.redhat.com/security/cve/CVE-2022-28739
access.redhat.com/security/cve/CVE-2021-41819
access.redhat.com/security/cve/CVE-2021-28965
access.redhat.com/security/cve/CVE-2020-25613
access.redhat.com/security/cve/CVE-2008-2725
access.redhat.com/security/cve/CVE-2008-2663
access.redhat.com/security/cve/CVE-2008-2726
access.redhat.com/security/cve/CVE-2008-2662
access.redhat.com/security/cve/CVE-2011-0188
access.redhat.com/security/cve/CVE-2008-2664
access.redhat.com/security/cve/CVE-2011-3009
access.redhat.com/security/cve/CVE-2011-2686
access.redhat.com/security/cve/CVE-2011-2705
access.redhat.com/security/cve/CVE-2009-5147
access.redhat.com/security/cve/CVE-2015-7551
security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_7305.json
bugzilla.redhat.com/show_bug.cgi?id=443829
cve.org/CVERecord?id=CVE-2008-1891
bugzilla.redhat.com/show_bug.cgi?id=450821
cve.org/CVERecord?id=CVE-2008-2662
nvd.nist.gov/vuln/detail/CVE-2008-2662
bugzilla.redhat.com/show_bug.cgi?id=450825
cve.org/CVERecord?id=CVE-2008-2663
nvd.nist.gov/vuln/detail/CVE-2008-2663
bugzilla.redhat.com/show_bug.cgi?id=450834
cve.org/CVERecord?id=CVE-2008-2664
nvd.nist.gov/vuln/detail/CVE-2008-2664
bugzilla.redhat.com/show_bug.cgi?id=451821
cve.org/CVERecord?id=CVE-2008-2725
nvd.nist.gov/vuln/detail/CVE-2008-2725
bugzilla.redhat.com/show_bug.cgi?id=451828
cve.org/CVERecord?id=CVE-2008-2726
nvd.nist.gov/vuln/detail/CVE-2008-2726
bugzilla.redhat.com/show_bug.cgi?id=458948
cve.org/CVERecord?id=CVE-2008-3655
nvd.nist.gov/vuln/detail/CVE-2008-3655
bugzilla.redhat.com/show_bug.cgi?id=458953
cve.org/CVERecord?id=CVE-2008-3656
nvd.nist.gov/vuln/detail/CVE-2008-3656
bugzilla.redhat.com/show_bug.cgi?id=458966
cve.org/CVERecord?id=CVE-2008-3657
nvd.nist.gov/vuln/detail/CVE-2008-3657
bugzilla.redhat.com/show_bug.cgi?id=461495
cve.org/CVERecord?id=CVE-2008-3905
nvd.nist.gov/vuln/detail/CVE-2008-3905
bugzilla.redhat.com/show_bug.cgi?id=1248935
cve.org/CVERecord?id=CVE-2009-5147
nvd.nist.gov/vuln/detail/CVE-2009-5147
bugzilla.redhat.com/show_bug.cgi?id=682332
cve.org/CVERecord?id=CVE-2011-0188
nvd.nist.gov/vuln/detail/CVE-2011-0188
bugzilla.redhat.com/show_bug.cgi?id=722415
cve.org/CVERecord?id=CVE-2011-2686
nvd.nist.gov/vuln/detail/CVE-2011-2686
cve.org/CVERecord?id=CVE-2011-2705
nvd.nist.gov/vuln/detail/CVE-2011-2705
cve.org/CVERecord?id=CVE-2011-3009
nvd.nist.gov/vuln/detail/CVE-2011-3009
bugzilla.redhat.com/show_bug.cgi?id=750564
cve.org/CVERecord?id=CVE-2011-4815
nvd.nist.gov/vuln/detail/CVE-2011-4815
bugzilla.redhat.com/show_bug.cgi?id=875236
cve.org/CVERecord?id=CVE-2012-5371
nvd.nist.gov/vuln/detail/CVE-2012-5371
bugzilla.redhat.com/show_bug.cgi?id=914716
cve.org/CVERecord?id=CVE-2013-1821
nvd.nist.gov/vuln/detail/CVE-2013-1821
ruby-lang.org/en/news/2013/02/22/rexml-dos-2013-02-22
bugzilla.redhat.com/show_bug.cgi?id=1118158
cve.org/CVERecord?id=CVE-2014-4975
nvd.nist.gov/vuln/detail/CVE-2014-4975
bugzilla.redhat.com/show_bug.cgi?id=1490845
cve.org/CVERecord?id=CVE-2014-6438
nvd.nist.gov/vuln/detail/CVE-2014-6438
ruby-lang.org/en/news/2014/08/19/ruby-1-9-2-p330-released
bugzilla.redhat.com/show_bug.cgi?id=1157709
cve.org/CVERecord?id=CVE-2014-8080
nvd.nist.gov/vuln/detail/CVE-2014-8080
ruby-lang.org/en/news/2014/10/27/rexml-dos-cve-2014-8080
bugzilla.redhat.com/show_bug.cgi?id=1159927
cve.org/CVERecord?id=CVE-2014-8090
nvd.nist.gov/vuln/detail/CVE-2014-8090
ruby-lang.org/en/news/2014/11/13/rexml-dos-cve-2014-8090
cve.org/CVERecord?id=CVE-2015-7551
nvd.nist.gov/vuln/detail/CVE-2015-7551
bugzilla.redhat.com/show_bug.cgi?id=1461846
cve.org/CVERecord?id=CVE-2015-9096
nvd.nist.gov/vuln/detail/CVE-2015-9096
bugzilla.redhat.com/show_bug.cgi?id=1492012
cve.org/CVERecord?id=CVE-2017-10784
nvd.nist.gov/vuln/detail/CVE-2017-10784
ruby-lang.org/en/news/2017/09/14/webrick-basic-auth-escape-sequence-injection-cve-2017-10784
bugzilla.redhat.com/show_bug.cgi?id=1487552
cve.org/CVERecord?id=CVE-2017-14064
nvd.nist.gov/vuln/detail/CVE-2017-14064
ruby-lang.org/en/news/2017/09/14/json-heap-exposure-cve-2017-14064
bugzilla.redhat.com/show_bug.cgi?id=1561949
cve.org/CVERecord?id=CVE-2018-8780
nvd.nist.gov/vuln/detail/CVE-2018-8780
ruby-lang.org/en/news/2018/03/28/poisoned-nul-byte-dir-cve-2018-8780
bugzilla.redhat.com/show_bug.cgi?id=1789556
cve.org/CVERecord?id=CVE-2019-16254
nvd.nist.gov/vuln/detail/CVE-2019-16254
bugzilla.redhat.com/show_bug.cgi?id=1883623
cve.org/CVERecord?id=CVE-2020-25613
nvd.nist.gov/vuln/detail/CVE-2020-25613
ruby-lang.org/en/news/2020/09/29/http-request-smuggling-cve-2020-25613
bugzilla.redhat.com/show_bug.cgi?id=1947526
cve.org/CVERecord?id=CVE-2021-28965
nvd.nist.gov/vuln/detail/CVE-2021-28965
bugzilla.redhat.com/show_bug.cgi?id=1980126
cve.org/CVERecord?id=CVE-2021-31810
nvd.nist.gov/vuln/detail/CVE-2021-31810
ruby-lang.org/en/news/2021/07/07/trusting-pasv-responses-in-net-ftp
bugzilla.redhat.com/show_bug.cgi?id=2026757
cve.org/CVERecord?id=CVE-2021-41819
nvd.nist.gov/vuln/detail/CVE-2021-41819
bugzilla.redhat.com/show_bug.cgi?id=2075687
cve.org/CVERecord?id=CVE-2022-28739
nvd.nist.gov/vuln/detail/CVE-2022-28739
ruby-lang.org/en/news/2022/04/12/buffer-overrun-in-string-to-float-cve-2022-28739
bugzilla.redhat.com/show_bug.cgi?id=2184061
cve.org/CVERecord?id=CVE-2023-28756
nvd.nist.gov/vuln/detail/CVE-2023-28756
ruby-lang.org/en/news/2023/03/30/redos-in-time-cve-2023-28756
bugzilla.redhat.com/show_bug.cgi?id=2276810
cve.org/CVERecord?id=CVE-2024-27282
nvd.nist.gov/vuln/detail/CVE-2024-27282
ruby-lang.org/en/news/2024/04/23/arbitrary-memory-address-read-regexp-cve-2024-27282
bugzilla.redhat.com/show_bug.cgi?id=2459002
cve.org/CVERecord?id=CVE-2026-27820
nvd.nist.gov/vuln/detail/CVE-2026-27820
github.com/ruby/zlib/security/advisories/GHSA-g857-hhfv-j68w
hackerone.com/reports/3467067
access.redhat.com/errata/RHSA-2026:7307
security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_7307.json
access.redhat.com/errata/RHSA-2026:8838
security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_8838.json