CVE-2024-31207: vitejs vite
CVSS: 5.9v3.1MediumDeferred
AliasesGHSA-8jhw-289h-jh2g
Published 04-04-2024Last modified 02-08-2024
Vulnerability summary
CVE-2024-31207 is a medium (CVSS 5.9) vulnerability in vitejs vite. EPSS estimates a 0.71% chance of exploitation in the next 30 days, higher than 52.7% of scored vulnerabilities.
CVSS score
5.9/10
010
Medium · v3.1 (CVE.org)EPSS score
0.71%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Advisory lineage
Upstream 0 · Downstream 1 · Related 1Timeline
- 04-04-2024PublishedVulnerability first disclosed.
- 02-08-2024Last modifiedVulnerability information updated.
Description
Vite (French word for "quick", pronounced /vit/, like "veet") is a frontend build tooling to improve the frontend development experience.`server.fs.deny` does not deny requests for patterns with directories. This vulnerability has been patched in version(s) 5.2.6, 5.1.7, 5.0.13, 4.5.3, 3.2.10 and 2.9.18.
CVSS metrics
3 scores · 3 sources · 1 versionMedium 5.9Preferred score · CVE.org (CNA)
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:NSourcesAll 3 agree
- OSV · NpmEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
- NVDNIST5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS trend
Probability
0.71%
Chance of exploitation in the next 30 days
Percentile
53%
Versus all other CVEs
30-day change
0.00 pp
From 0.71% on 20-09-2026
20-09-202620-10-2026
EPSS score0.71%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-200Exposure of Sensitive Information to an Unauthorized ActorThe product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.
- CWE-284Improper Access ControlThe product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.
Affected systems
Npm1 product
- vite≥ 2.7.0, < 2.9.18 | ≥ 3.0.0, < 3.2.10 | ≥ 4.0.0, < 4.5.3 | ≥ 5.0.0, < 5.0.13 | ≥ 5.1.0, < 5.1.7 | ≥ 5.2.0, < 5.2.6
Vitejs1 product
- vite≥ 2.7.0, ≤ 2.9.17 | ≥ 3.0.0, ≤ 3.2.8 | ≥ 4.0.0, ≤ 4.5.2 | ≥ 5.0.0, ≤ 5.0.12 | ≥ 5.1.0, ≤ 5.1.6 | ≥ 5.2.0, ≤ 5.2.5
2 vendors · 2 products
References
9 links- github.com/vitejs/vitePACKAGE