CVE-2024-31207 – Vite's `server.fs.deny` did not deny requests for patterns with directories
https://notcve.org/view.php?id=CVE-2024-31207
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. Vite (palabra francesa para "rápido", pronunciada /vit/, como "veet") es una herramienta de construcción de frontend para mejorar la experiencia de desarrollo de frontend. `server.fs.deny` no niega solicitudes de patrones con directorios. • https://github.com/vitejs/vite/commit/011bbca350e447d1b499d242804ce62738c12bc0 https://github.com/vitejs/vite/commit/5a056dd2fc80dbafed033062fe6aaf4717309f48 https://github.com/vitejs/vite/commit/89c7c645f09d16a38f146ef4a1528f218e844d67 https://github.com/vitejs/vite/commit/96a7f3a41ef2f9351c46f3ab12489bb4efa03cc9 https://github.com/vitejs/vite/commit/ba5269cca81de3f5fbb0f49d58a1c55688043258 https://github.com/vitejs/vite/commit/d2db33f7d4b96750b35370c70dd2c35ec3b9b649 https://github.com/vitejs/vite/security/advisories/GHSA-8jhw-289h-jh2g • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor CWE-284: Improper Access Control •
CVE-2024-23331 – Vite dev server option `server.fs.deny` can be bypassed when hosted on case-insensitive filesystem
https://notcve.org/view.php?id=CVE-2024-23331
Vite is a frontend tooling framework for javascript. The Vite dev server option `server.fs.deny` can be bypassed on case-insensitive file systems using case-augmented versions of filenames. Notably this affects servers hosted on Windows. This bypass is similar to CVE-2023-34092 -- with surface area reduced to hosts having case-insensitive filesystems. Since `picomatch` defaults to case-sensitive glob matching, but the file server doesn't discriminate; a blacklist bypass is possible. • https://github.com/vitejs/vite/commit/91641c4da0a011d4c5352e88fc68389d4e1289a5 https://github.com/vitejs/vite/security/advisories/GHSA-c24v-8rfc-w8vw https://vitejs.dev/config/server-options.html#server-fs-deny • CWE-178: Improper Handling of Case Sensitivity CWE-200: Exposure of Sensitive Information to an Unauthorized Actor CWE-284: Improper Access Control •
CVE-2022-35204
https://notcve.org/view.php?id=CVE-2022-35204
Vitejs Vite before v2.9.13 was discovered to allow attackers to perform a directory traversal via a crafted URL to the victim's service. Se ha detectado que Vitejs Vite versiones anteriores a v2.9.13, permitía a atacantes llevar a cabo un salto de directorio por medio de una URL diseñada al servicio de la víctima. • https://github.com/vitejs/vite/issues/8498 https://github.com/vitejs/vite/releases/tag/v2.9.13 https://github.com/vitejs/vite/releases/tag/v3.0.0-beta.4 • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') •