7.5Alta

CVE-2026-22860Rack has a Directory Traversal via Rack:Directory

rack rack; Red Hat Logging Subsystem for Red Hat OpenShift; Red Hat Red Hat 3scale API Management Platform 2; Red Hat Red Hat Enterprise Linux 10 Publicada: (hace 9 meses)

Descripción

Rack is a modular Ruby web server interface. Prior to versions 2.2.22, 3.1.20, and 3.2.5, `Rack::Directory`’s path check used a string prefix match on the expanded path. A request like `/../root_example/` can escape the configured root if the target path starts with the root string, allowing directory listing outside the intended root. Versions 2.2.22, 3.1.20, and 3.2.5 fix the issue.

Debilidad (CWE): CWE-22CWE-548

Datos: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Se publican tal como los indican las fuentes, en inglés.

Productos y versiones afectados

FabricanteProductoVersiones
rack rack < 2.2.22, >= 3.0.0.beta1, < 3.1.20, >= 3.2.0, < 3.2.5
Red Hat Logging Subsystem for Red Hat OpenShift —
Red Hat Red Hat 3scale API Management Platform 2 all versions
Red Hat Red Hat Enterprise Linux 10 —
Red Hat Red Hat Enterprise Linux 7 —
Red Hat Red Hat Enterprise Linux 8 —
Red Hat Red Hat Enterprise Linux 9 —

Referencias y parches

Coincidencias CPE (NVD) (3)

  • cpe:2.3:a:rack:rack:*:*:*:*:*:ruby:*:* < 2.2.22
  • cpe:2.3:a:rack:rack:*:*:*:*:*:ruby:*:* ≥ 3.0.0 < 3.1.20
  • cpe:2.3:a:rack:rack:*:*:*:*:*:ruby:*:* ≥ 3.2.0 < 3.2.5