vitejs Vite up to 5.4.5 File Content information disclosure
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 3.6 | $0-$5k | 0.00 |
Summary
A vulnerability marked as problematic has been reported in vitejs Vite up to 3.2.10/4.5.4/5.2.13/5.3.5/5.4.5. Impacted is an unknown function of the component File Content Handler. The manipulation leads to information disclosure. This vulnerability is traded as CVE-2024-45811. Access to the local network is required for this attack to succeed. There is no exploit available. It is suggested to upgrade the affected component.
Details
A vulnerability was found in vitejs Vite up to 3.2.10/4.5.4/5.2.13/5.3.5/5.4.5 and classified as problematic. This issue affects an unknown code of the component File Content Handler. The manipulation with an unknown input leads to a information disclosure vulnerability. Using CWE to declare the problem leads to CWE-200. The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. Impacted is confidentiality. The summary by CVE is:
Vite a frontend build tooling framework for javascript. In affected versions 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. This issue has been patched in versions 5.4.6, 5.3.6, 5.2.14, 4.5.5, and 3.2.11. Users are advised to upgrade. There are no known workarounds for this vulnerability.
It is possible to read the advisory at github.com. The identification of this vulnerability is CVE-2024-45811 since 09/09/2024. The exploitation is known to be difficult. The attack needs to be initiated within the local network. No form of authentication is needed for a successful exploitation. It demands that the victim is doing some kind of user interaction. The technical details are unknown and an exploit is not publicly available. The attack technique deployed by this issue is T1592 according to MITRE ATT&CK.
Upgrading to version 3.2.11, 4.5.5, 5.2.14, 5.3.6 or 5.4.6 eliminates this vulnerability. Applying the patch 6820bb3b9a54334f3268fc5ee1e967d2e1c0db34 is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
Be aware that VulDB is the high quality source for vulnerability data.
Product
Vendor
Name
Version
- 3.2.0
- 3.2.1
- 3.2.2
- 3.2.3
- 3.2.4
- 3.2.5
- 3.2.6
- 3.2.7
- 3.2.8
- 3.2.9
- 3.2.10
- 4.5.0
- 4.5.1
- 4.5.2
- 4.5.3
- 4.5.4
- 5.2.0
- 5.2.1
- 5.2.2
- 5.2.3
- 5.2.4
- 5.2.5
- 5.2.6
- 5.2.7
- 5.2.8
- 5.2.9
- 5.2.10
- 5.2.11
- 5.2.12
- 5.2.13
- 5.3.0
- 5.3.1
- 5.3.2
- 5.3.3
- 5.3.4
- 5.3.5
- 5.4.0
- 5.4.1
- 5.4.2
- 5.4.3
- 5.4.4
- 5.4.5
License
Website
- Product: https://github.com/vitejs/vite/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 3.7VulDB Meta Temp Score: 3.6
VulDB Base Score: 2.6
VulDB Temp Score: 2.5
VulDB Vector: 🔍
VulDB Reliability: 🔍
CNA Base Score: 4.8
CNA Vector (GitHub_M): 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Information disclosureCWE: CWE-200 / CWE-284 / CWE-266
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Partially
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: Vite 3.2.11/4.5.5/5.2.14/5.3.6/5.4.6
Patch: 6820bb3b9a54334f3268fc5ee1e967d2e1c0db34
Timeline
09/09/2024 🔍09/17/2024 🔍
09/17/2024 🔍
03/10/2025 🔍
Sources
Product: github.comAdvisory: GHSA-9cwx-2883-4wfx
Status: Confirmed
CVE: CVE-2024-45811 (🔍)
GCVE (CVE): GCVE-0-2024-45811
GCVE (VulDB): GCVE-100-277799
Entry
Created: 09/17/2024 23:03Updated: 03/10/2025 01:37
Changes: 09/17/2024 23:03 (67), 09/18/2024 18:08 (1), 03/10/2025 01:37 (3)
Complete: 🔍
Cache ID: 216::103
Be aware that VulDB is the high quality source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.