Amenazas en vivo

Todas las CVE / Vitejs

CVE-2023-34092Vitejs Vite

Alta 7.5 Sin autenticación

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
Debilidad (CWE)
CWE-50, CWE-200, CWE-706
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.

Texto original de NVD, en inglés. La traducción y el resumen en español llegan pronto.

Qué hacer

  1. Aplica la actualización de seguridad del fabricante para Vite.
  2. Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.

Paquetes afectados

EcosistemaPaqueteVersiones afectadasCorregida enCó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)

FabricanteProductoVersiones
vitejsvite≥ 3.0.2 < 3.2.7
vitejsvite≥ 4.0.0 < 4.0.5
vitejsvite≥ 4.1.0 < 4.1.5
vitejsvite≥ 4.2.0 < 4.2.3
vitejsvite≥ 4.3.0 < 4.3.9
vitejsvite2.9.15

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.