CVE-2023-34092Vitejs Vite
Alta 7.5 Sin autenticación
Seguir: esta CVE · Vitejs · Vitejs Vite Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 60
- CVSS 3.1
- 7.5
- EPSS
- 2.9% probabilidad de explotación en 30 días · percentil 88
- Requiere autenticación
- No
- Publicada
- 1 jun 2023
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- SSVC (CISA)
- Explotación: prueba de concepto · Automatizable: sí · Impacto técnico: parcial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Qué pasa
Vite provides frontend tooling. Prior to versions 2.9.16, 3.2.7, 4.0.5, 4.1.5, 4.2.3, and 4.3.9, Vite Server Options (`server.fs.deny`) can be bypassed using double forward-slash (//) allows any unauthenticated user to read file from the Vite root-path of the application including the default `fs.deny` settings (`['.env', '.env.*', '*.{crt,pem}']`). Only users explicitly exposing the Vite dev server to the network (using `--host` or `server.host` config option) are affected, and only files in the immediate Vite project root folder could be exposed. This issue is fixed in vite@4.3.9, vite@4.2.3, vite@4.1.5, vite@4.0.5, vite@3.2.7, and vite@2.9.16.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Vite.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| npm | vite |
< 2.9.16 |
2.9.16 |
npm install vite@2.9.16 |
| npm | vite |
≥ 3.0.2 < 3.2.7 |
3.2.7 |
npm install vite@3.2.7 |
| npm | vite |
≥ 4.0.0 < 4.0.5 |
4.0.5 |
npm install vite@4.0.5 |
| npm | vite |
≥ 4.1.0 < 4.1.5 |
4.1.5 |
npm install vite@4.1.5 |
| npm | vite |
≥ 4.2.0 < 4.2.3 |
4.2.3 |
npm install vite@4.2.3 |
| npm | vite |
≥ 4.3.0 < 4.3.9 |
4.3.9 |
npm install vite@4.3.9 |
Según OSV / GitHub Advisories (GHSA-353f-5xf4-qw67). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| vitejs | vite | ≥ 3.0.2 < 3.2.7 |
| vitejs | vite | ≥ 4.0.0 < 4.0.5 |
| vitejs | vite | ≥ 4.1.0 < 4.1.5 |
| vitejs | vite | ≥ 4.2.0 < 4.2.3 |
| vitejs | vite | ≥ 4.3.0 < 4.3.9 |
| vitejs | vite | 2.9.15 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Patch
- github.com Patch
- github.com Exploit Vendor Advisory