Katalog CVE

CVE-2026-112947

ŚrednieCVSS 6.3
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Streszczenie

Vite w wersjach od 8.2.0 do 8.2.4 oraz 8.3.3 pozwala na zwrócenie do przeglądarki pierwszych 4 bajtów plików spoza ustawienia server.fs poprzez żądanie zawierające parametr ?vite-wasm-instance. Wewnętrzny plugin Wasm usuwa parametr i odczytuje ścieżkę bezpośrednio z dysku, nie stosując kontroli server.fs, a błąd parsowania WebAssembly ujawnia pierwsze 4 bajty pliku.

Ocena ryzyka

Możliwe jest częściowe ujawnienie zawartości plików spoza dozwolonego katalogu, co może pomóc atakującemu w rozpoznaniu systemu. Ryzyko dotyczy serwerów deweloperskich Vite dostępnych sieciowo.

Rekomendacja

Zaktualizuj Vite do wersji 8.2.4 lub 8.3.3 (lub nowszej). Ogranicz dostęp sieciowy do serwerów deweloperskich.

Inne podatności w Vite

Zobacz wszystkie
Oryginalny opis (angielski, źródło NVD)

Vite is a frontend tooling framework for JavaScript. From 8.2.0 until 8.2.4 and 8.3.3, the first 4 bytes of files outside of server.fs setting can be returned to the browser by a request containing ?vite-wasm-instance. Requests containing the ?vite-wasm-instance query are handled by the internal Wasm plugin's load hook. The hook removes the query and reads the resulting path directly from disk, but the server.fs checks were not applied. After reading the file, Vite attempts to parse it as WebAssembly. When that parse fails, Node and deno throws an error that contains the first 4 bytes of the file. This vulnerability is fixed in 8.2.4 and 8.3.3.

Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS