Skip to main content
← All vulnerabilities
CVE-2024-31207GHSA-8JHW-289H-JH2G

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.9.18, 3.2.10, 4.5.3, 5.0.13, 5.1.7, and 1 more
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • vitejs vite

    From 2.7.0 · through 2.9.17; From 3.0.0 · through 3.2.8; From 4.0.0 · through 4.5.2; From 5.0.0 · through 5.0.12; From 5.1.0 · through 5.1.6; From 5.2.0 · through 5.2.5

  • vitenpm

    From 2.7.0 · fixed in 2.9.18

  • vitenpm

    From 3.0.0 · fixed in 3.2.10

  • vitenpm

    From 4.0.0 · fixed in 4.5.3

  • vitenpm

    From 5.0.0 · fixed in 5.0.13

  • vitenpm

    From 5.1.0 · fixed in 5.1.7

  • vitenpm

    From 5.2.0 · fixed in 5.2.6

References 7

GitHub · vitejs/vite