Vite is a frontend tooling framework for JavaScript. From 7.1.0 to before 7.3.2 and 8.0.5, on the Vite dev server, files that should be blocked by server.fs.deny (e.g., .env, *.crt) can be retrieved with HTTP 200 responses when query parameters such as ?raw, ?import&raw, or ?import&url&inline are appended. This vulnerability is fixed in 7.3.2 and 8.0.5.
Attack Parameters
Impact Assessment
CVSS Vector v4.0
Weakness Type (CWE)
Vulnerable Products 3
| Configuration | From (including) | Up to (excluding) |
|---|---|---|
|
Vitejs Vite
cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:*
|
7.0.0
|
<= 7.3.1
|
|
Vitejs Vite
cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:*
|
8.0.0
|
<= 8.0.4
|
|
Voidzero Vite\+
cpe:2.3:a:voidzero:vite\+:*:*:*:*:*:node.js:*:*
|
— |
<= 0.1.15
|