> CVE-2024-23331 [HIGH]

« BACK_TO_HOME
PUBLISHED
2024-01-19 20:15
MODIFIED
2024-11-21 08:57
CVSS_SCORE V3
7.5
EPSS (Prob. Exploit)
0.78%
Top 43.4%
DATA SOURCES:
NVD 🔗 2025-10-18 CVE PROJECT 🔗 2026-01-19 FIRST EPSS 🔗 2026-11-15 GITHUB 🔗 2026-11-04 OSV 🔗 2026-07-26

> DESCRIPTION

Vite is a frontend tooling framework for javascript. The Vite dev server option `server.fs.deny` can be bypassed on case-insensitive file systems using case-augmented versions of filenames. Notably this affects servers hosted on Windows. This bypass is similar to CVE-2023-34092 -- with surface area reduced to hosts having case-insensitive filesystems. Since `picomatch` defaults to case-sensitive glob matching, but the file server doesn't discriminate; a blacklist bypass is possible. By requesting raw filesystem paths using augmented casing, the matcher derived from `config.server.fs.deny` fails to block access to sensitive files. This issue has been addressed in [email protected], [email protected], [email protected], and [email protected]. Users are advised to upgrade. Users unable to upgrade should restrict access to dev servers.

> AFFECTED_PRODUCTS

Vitejs - Vite
>= 2.7.0 < 2.9.17
Vitejs - Vite
>= 3.0.0 < 3.2.8
Vitejs - Vite
>= 4.0.0 < 4.5.2
Vitejs - Vite
>= 5.0.0 < 5.0.12

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
High (H)
Divulgation totale d'informations
I (Impact Intégrité)
Integrity Impact
None (N)
Aucune modification de données possible
A (Impact Disponibilité)
Availability Impact
None (N)
Aucune interruption de service

> RÉSUMÉ DES IMPACTS

Confidentialité
High
Divulgation totale d'informations
Intégrité
None
Aucune modification de données possible
Disponibilité
None
Aucune interruption de service

> GITHUB SECURITY ADVISORY

GHSA-c24v-8rfc-w8vw HIGH

Vite dev server option `server.fs.deny` can be bypassed when hosted on case-insensitive filesystem

AFFECTED PACKAGES:
NPM / vite
>= 5.0.0, <= 5.0.11
Fixed in: 5.0.12
NPM / vite
>= 4.0.0, <= 4.5.1
Fixed in: 4.5.2
NPM / vite
>= 3.0.0, <= 3.2.7
Fixed in: 3.2.8
NPM / vite
>= 2.7.0, <= 2.9.16
Fixed in: 2.9.17

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

Vite dev server option `server.fs.deny` can be bypassed when hosted on case-insensitive filesystem

AFFECTED PACKAGES:
Unknown / Unknown
259 versions affected
ALIASES:
GHSA-c24v-8rfc-w8vw

> HISTORIQUE DES MODIFICATIONS

Première apparition
19/01/2024 20:15
Source: NVD
📊 ENRICHISSEMENT 18/10/2025 14:47
CVEPROJECT
Champ modifié: CVE Project
Ancienne valeur:
Non
Nouvelle valeur:
Oui
Total des modifications: 1 Dernière mise à jour: 1 year ago
« BACK_TO_HOME