4.8

CVE-2024-45811: vitejs vite

CVSS: 4.8v3.1MediumDeferred
AliasesCGA-7c99-fr97-893hCGA-7xqq-wmp8-52pxGHSA-9cwx-2883-4wfx
Published 17-09-2024Last modified 18-09-2024

Vulnerability summary

CVE-2024-45811 is a medium (CVSS 4.8) vulnerability in vitejs vite. EPSS estimates a 1.10% chance of exploitation in the next 30 days, higher than 65% of scored vulnerabilities.

Overall risk
19/100
0100
Low · default modelHow is this calculated?
CVSS score
4.8/10
010
Medium · v3.1 (CVE.org)
EPSS score
1.10%
0%100%
Low · +0.04 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 1 · Related 3

Timeline

  1. 17-09-2024
    PublishedVulnerability first disclosed.
  2. 18-09-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

6 scores · 5 sources · 2 versions

EPSS trend

Probability

1.10%

Chance of exploitation in the next 30 days

Percentile

65%

Versus all other CVEs

30-day change

+0.04 pp

From 1.06% on 20-09-2026

20-09-202620-10-2026
EPSS score
1.10%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Chainguard1 product
  • vite< 5.4.6-r0
Npm1 product
  • vite≥ 5.4.0, < 5.4.6 | ≥ 5.3.0, < 5.3.6 | ≥ 5.2.0, < 5.2.14 | ≥ 4.0.0, < 4.5.4 | < 3.2.11 | ≥ 5.0.0, < 5.1.8
Vitejs1 product
  • vite≥ 5.4.0, < 5.4.6 | ≥ 5.3.0, < 5.3.6 | ≥ 5.0.0, < 5.2.14 | ≥ 4.0.0, < 4.5.5 | < 3.2.11
Wolfi1 product
  • vite< 5.4.6-r0

4 vendors · 4 products

References

9 links