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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
- https://github.com/vitejs/vite/security/advisories/GHSA-8jhw-289h-jh2g vendor-advisory
- https://github.com/vitejs/vite/commit/011bbca350e447d1b499d242804ce62738c12bc0 patch
- https://github.com/vitejs/vite/commit/5a056dd2fc80dbafed033062fe6aaf4717309f48 patch
- https://github.com/vitejs/vite/commit/89c7c645f09d16a38f146ef4a1528f218e844d67 patch
- https://github.com/vitejs/vite/commit/96a7f3a41ef2f9351c46f3ab12489bb4efa03cc9 patch
- https://github.com/vitejs/vite/commit/ba5269cca81de3f5fbb0f49d58a1c55688043258 patch
- https://github.com/vitejs/vite/commit/d2db33f7d4b96750b35370c70dd2c35ec3b9b649 patch
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product