Directory Traversal Affecting ruby3.4-webrick package, versions <1.9.1-r3


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
77.04% (99th 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 Learn

Learn about Directory Traversal vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CHAINGUARDLATEST-RUBY34WEBRICK-12615931
  • published11 Sept 2025
  • disclosed4 Mar 2008

Introduced: 4 Mar 2008

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

How to fix?

Upgrade Chainguard ruby3.4-webrick to version 1.9.1-r3 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby3.4-webrick package and not the ruby3.4-webrick package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

Directory traversal vulnerability in WEBrick in Ruby 1.8 before 1.8.5-p115 and 1.8.6-p114, and 1.9 through 1.9.0-1, when running on systems that support backslash () path separators or case-insensitive file names, allows remote attackers to access arbitrary files via (1) "..%5c" (encoded backslash) sequences or (2) filenames that match patterns in the :NondisclosureName option.

References

CVSS Base Scores

version 3.1