CVE Catalog

CVE-2023-34092

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

High risk
3.15%

86th percentile - higher than 86% of all known CVEs

Summary

Vite, a frontend tooling, has a vulnerability that allows bypassing server options (`server.fs.deny`) using double forward-slash (//). This enables unauthenticated users to read files from the Vite application's root path, including default `fs.deny` settings.

Risk Assessment

Organizations exposing the Vite dev server to the network may be at risk of leaking sensitive files, potentially leading to the disclosure of configuration data and certificates.

Recommendation

It is recommended to update Vite to versions 4.3.9, 4.2.3, 4.1.5, 4.0.5, 3.2.7, or 2.9.16 to mitigate this vulnerability. Additionally, avoid exposing the dev server to the public network.

Other vulnerabilities in Vite

See all
Original NVD description (English source)

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 [email protected], [email protected], [email protected], [email protected], [email protected], and [email protected].

Vulnerability data from NVD (NIST) · CISA KEV · EPSS