Rack: Rack::Directory info disclosure and DoS via unescaped regex interpolation (rack rack)
En bref
- Source
- NVD
- EPSS
- EPSS 0.25 % · centile 16 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- GitHub_M
- Statut NVD
- Analyzed
Description
Rack is a modular Ruby web server interface. Prior to versions 2.2.23, 3.1.21, and 3.2.6, Rack::Directory interpolates the configured root path directly into a regular expression when deriving the displayed directory path. If root contains regex metacharacters such as +, *, or ., the prefix stripping can fail and the generated directory listing may expose the full filesystem path in the HTML output. This issue has been patched in versions 2.2.23, 3.1.21, and 3.2.6.
Faiblesses (CWE)
- CWE-625 — Permissive Regular Expression
Références
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N | GitHub_M |
| CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N | NVD · security-advisories@github.com (Secondary) |
Avis
- GHSA-7mqq-6cf9-v2qp — Rack has a root directory disclosure via unescaped regex interpolation in Rack::Directory
Références européennes
- ENISA EUVD · EUVD-2026-18380
- GCVE · GCVE-0-2026-34763
Avis du CERT-FR
- CERTFR-2026-AVI-1352 — Multiples vulnérabilités dans Oracle PeopleSoft · cert.ssi.gouv.fr
Configurations affectées (CPE NVD)
cpe:2.3:a:rack:rack:*:*:*:*:*:ruby:*:*< 2.2.23cpe:2.3:a:rack:rack:*:*:*:*:*:ruby:*:*≥ 3.0.0 < 3.1.21cpe:2.3:a:rack:rack:*:*:*:*:*:ruby:*:*≥ 3.2.0 < 3.2.6
Produits affectés
| Produit | Versions |
|---|---|
| rack · rack | affected < 2.2.23 ; affected >= 3.0.0.beta1, < 3.1.21 ; affected >= 3.2.0, < 3.2.6 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |