Information disclosure in Vitejs Vite
CVE-2023-34092
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS: 0.031 (87.7th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 88th percentile — 87.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.031 · newest: 0.031 · change: 0.000
Affected products
- Vitejs Vite — versions >= 4.1.0, < 4.1.5, >= 4.2.0, < 4.2.3, >= 4.3.0, < 4.3.9
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/vitejs/vite/security/advisories/GHSA-353f-5xf4-qw67 (Exploit, Vendor Advisory)
- github.com/vitejs/vite/pull/13348 (Patch)
- github.com/vitejs/vite/commit/813ddd6155c3d54801e264ba832d8347f6f66b32 (Patch)
Frequently asked questions
- What is CVE-2023-34092?
- CVE-2023-34092 is a high-severity vulnerability in Vitejs Vite, classified under CWE-50. CVSS score: 7.5/10. Published 2023-06-01.
- How severe is CVE-2023-34092?
- High severity. CVSS v3 base score is 7.5 out of 10.
- Is CVE-2023-34092 known to be exploited?
- 3 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.