cve.bz

CVE-2008-1145 Path traversal

no score yetExploitEPSS 27%Fix available

No CVSS score yet. EPSS 27% estimated probability of exploitation activity in the next 30 days.

On this page
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.
EPSS
27% (unchanged from 27% a week ago; 27% 30 days ago) estimated probability of exploitation activity in the next 30 days; 98th percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2008-1145 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2008-1145?via=ask-ai-copy and https://cve.bz/cve/CVE-2008-1145?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2008-1145 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
fedoraproject:fedora7
fedoraproject:fedora8

Linux distributions

DistributionReleasePackageFixed inAdvisory
Red Hatenterprise_linux:4::as, enterprise_linux:4::desktop, enterprise_linux:4::es and 1 moreirb, ruby, ruby-docs and 5 more0:1.8.1-7.el4_7.1RHSA-2008:0897
Red Hatenterprise_linux:5::clientruby, ruby-ri, ruby-irb and 5 more0:1.8.5-5.el5_2.5RHSA-2008:0897
Red Hatenterprise_linux:5::client_workstationruby, ruby-mode, ruby-devel and 1 more0:1.8.5-5.el5_2.5RHSA-2008:0897
Red Hatenterprise_linux:5::serverruby, ruby-ri, ruby-irb and 7 more0:1.8.5-5.el5_2.5RHSA-2008:0897

From the distributions' data via OSV.dev: Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Red Hat.

Red Hat

Red Hat rates this Low.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 4ruby-0:1.8.1-7.el4_7.1Fixed 2008-10-21RHSA-2008:0897
Red Hat Enterprise Linux 5ruby-0:1.8.5-5.el5_2.5Fixed 2008-10-21RHSA-2008:0897

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2008-1145.

Public exploits

Attack patterns (CAPEC)

  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-126 Path Traversal Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON