Directory Traversal Affecting ruby4.0-default-gems package, versions <0:4.0.0-33.3.hum1


Severity

Recommended
low

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
2.81% (85th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL10-RUBY40DEFAULTGEMS-16114902
  • published21 Apr 2026
  • disclosed15 Apr 2008

Introduced: 15 Apr 2008

CVE-2008-1891  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

Upgrade RHEL:10 ruby4.0-default-gems to version 0:4.0.0-33.3.hum1 or higher.
This issue was patched in RHSA-2026:8838.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby4.0-default-gems package and not the ruby4.0-default-gems package as distributed by RHEL. See How to fix? for RHEL:10 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1