Skip to content

CVE-2024-31207 Vite's `server.fs.deny` did not deny requests for patterns with directories

MediumCVSS 5.9 EPSS 0.71%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
npm vite(npm) >= 2.7.0, < 2.9.18; >= 2.7.0, <= 2.9.17; >= 3.0.0, < 3.2.10; >= 3.0.0, <= 3.2.8 +8 more 2.9.18, 3.2.10, 4.5.3, 5.0.13, 5.1.7, 5.2.6 Fixed
vitejs 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 +2 more No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
npm vite(npm) >= 2.7.0, <= 2.9.17 No fix listed
npm vite(npm) >= 3.0.0, <= 3.2.8 No fix listed
npm vite(npm) >= 4.0.0, <= 4.5.2 No fix listed
npm vite(npm) >= 5.0.0, <= 5.0.12 No fix listed
npm vite(npm) >= 5.1.0, <= 5.1.6 No fix listed
npm vite(npm) >= 5.2.0, <= 5.2.5 No fix listed
vitejs vite = >= 2.7.0, <= 2.9.17 No fix listed
vitejs vite = >= 3.0.0, <= 3.2.8 No fix listed
vitejs vite = >= 4.0.0, <= 4.5.2 No fix listed
vitejs vite = >= 5.0.0, <= 5.0.12 No fix listed
vitejs vite = >= 5.1.0, <= 5.1.6 No fix listed
vitejs vite = >= 5.2.0, <= 5.2.5 No fix listed
npm vite(npm) >= 2.7.0, < 2.9.18 2.9.18
npm vite(npm) >= 3.0.0, < 3.2.10 3.2.10
npm vite(npm) >= 4.0.0, < 4.5.3 4.5.3
npm vite(npm) >= 5.0.0, < 5.0.13 5.0.13
npm vite(npm) >= 5.1.0, < 5.1.7 5.1.7
npm vite(npm) >= 5.2.0, < 5.2.6 5.2.6

References