Exposure of Sensitive Information to an Unauthorized Actor
CVE-2024-45811
Summary
Vite a frontend build tooling framework for JavaScript. In versions through 3.2.10, 4.0.0-alpha.0 through 4.5.3, 5.0.0-beta.0 through 5.1.7, 5.2.0-beta.0 through 5.2.13, 5.3.0-beta.0 through 5.3.5 and 5.4.0-beta.0 through 5.4.5, and 6.0.0-alpha.0 through 6.0.0-beta.0 the contents of arbitrary files can be returned to the browser. `@fs` denies access to files outside of Vite serving allow list. Adding `?import&raw` to the URL bypasses this limitation and returns the file content if it exists. Users are advised to upgrade. There are no known workarounds for this vulnerability.
- HIGH
- ADJACENT NETWORK
- NONE
- UNCHANGED
- REQUIRED
- NONE
- HIGH
- NONE
CWE-200 - Information Exposure
An information exposure vulnerability is categorized as an information flow (IF) weakness, which can potentially allow unauthorized access to otherwise classified information in the application, such as confidential personal information (demographics, financials, health records, etc.), business secrets, and the application's internal environment.
References
Advisory Timeline
- Published