Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2024-45811
September 17, 2024
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.
Affected Packages
vite (NPM):
Affected version(s) >=5.2.0 <5.2.14
Fix Suggestion:
Update to version 5.2.14
vite (NPM):
Affected version(s) >=0.1.0 <3.2.11
Fix Suggestion:
Update to version 3.2.11
vite (NPM):
Affected version(s) >=5.4.0 <5.4.6
Fix Suggestion:
Update to version 5.4.6
vite (NPM):
Affected version(s) >=5.3.0 <5.3.6
Fix Suggestion:
Update to version 5.3.6
vite (NPM):
Affected version(s) >=5.0.0 <5.1.8
Fix Suggestion:
Update to version 5.1.8
Do you need more information?
Contact Us
CVSS v4
Base Score:
5.9
Attack Vector
ADJACENT
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
4.8
Attack Vector
ADJACENT
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
Exposure of Sensitive Information to an Unauthorized Actor
Improper Access Control
EPSS
Base Score:
0.01