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.14Fix Suggestion:
Update to version 5.2.14vite (NPM):
Affected version(s) >=0.1.0 <3.2.11Fix Suggestion:
Update to version 3.2.11vite (NPM):
Affected version(s) >=5.4.0 <5.4.6Fix Suggestion:
Update to version 5.4.6vite (NPM):
Affected version(s) >=5.3.0 <5.3.6Fix Suggestion:
Update to version 5.3.6vite (NPM):
Affected version(s) >=5.0.0 <5.1.8Fix Suggestion:
Update to version 5.1.8Related ResourcesĀ (8)
Do you need more information?
Contact UsCVSS 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)
EPSS
Base Score:
0.01