Skip to content
CVE Tracker
  • Newest CVEsPage
  • Recently added to KEVPage
  • Rising exploitation (EPSS)Page
  • Weekly digestPage
  • StatisticsPage
  • WatchlistPage
  • API documentationPage
  • MCP serverPage
  • Data sourcesPage
  • ChangelogPage
  • AboutPage
  • How it's builtPage
Back

CVE-2024-31207

Vite's `server.fs.deny` did not deny requests for patterns with directories

Medium5.9EPSS 0.71%
Published
Updated
Reserved
Assigned by
GitHub_M

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.

Scores

CVSS scores of CVE-2024-31207, by who scored it
Scored byCVSSScoreVector
GitHub_MCNA (assigner)3.1Medium5.9CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
NVDNVD · Deferred3.1Medium5.9CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS (exploitation in 30 days)
0.71% · top 46% of all CVEs (6 Nov 2026)
CISA SSVC
Exploitation: none · Automatable: no · Technical impact: partial
Loading the EPSS history…

The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.9.

Weakness

Affected products

  • vitejs · vite

    • affected >= 2.7.0, <= 2.9.17
    • affected >= 3.0.0, <= 3.2.8
    • affected >= 4.0.0, <= 4.5.2
    • affected >= 5.0.0, <= 5.0.12
    • affected >= 5.1.0, <= 5.1.6
    • affected >= 5.2.0, <= 5.2.5

Affected packages

From reviewed advisories of the GitHub Advisory Database.

References (7)

Sources

The same CVE in the primary databases and aggregators, to check against.

Badge for a README or a ticket

CVE-2024-31207 badge
[![CVE-2024-31207](https://trackcve.app/badge/CVE-2024-31207.svg)](https://trackcve.app/cve/CVE-2024-31207)

Record last updated .