CVE-2024-45811

MEDIUMCVSS 4.8/10EPSS 1.03%

Last modified

CVE-2024-45811 is a medium-severity vulnerability rated 4.8/10 on the CVSS scale. Vite a frontend build tooling framework for javascript. In affected versions the contents of arbitrary files can be returned to the browser. EPSS estimates a 1.03% chance of exploitation in the next 30 days.

Description

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.

Metrics

CVSS 3.1
4.8/10

CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N

EPSS Probability
1.03%

59.3th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

References

Timeline

Published
Last Modified
Status
Deferred

Frequently Asked Questions

What is CVE-2024-45811?
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.
How severe is CVE-2024-45811?
CVE-2024-45811 has a CVSS score of 4.8/10 (MEDIUM severity). The EPSS model estimates a 1.03% probability of exploitation in the next 30 days.
How do I fix CVE-2024-45811?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2024-45811?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST