HighGHSA-mv48-hcvh-8jj8CVE-2022-35204
Vite before v2.9.13 vulnerable to directory traversal via crafted URL to victim's service
Published 19 Aug 2022 · Updated 23 Sept 2024
Affected packages
vitenpm
- Affected
- <2.9.13
- Fixed in
- 2.9.13
Update to the fixed version for your release line, for example:
npm install vite@2.9.13vitenpm
- Affected
- >=3.0.0-alpha.0 <3.0.0-beta.4
- Fixed in
- 3.0.0-beta.4
Update to the fixed version for your release line, for example:
npm install vite@3.0.0-beta.4Details
Vite before v2.9.13 was discovered to allow attackers to perform a directory traversal via a crafted URL to the victim's service.
Is GHSA-mv48-hcvh-8jj8 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected vite, and gives you the command that fixes it.
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2022-35204
- Linkgithub.com/vitejs/vite/issues/8498
- Linkgithub.com/vitejs/vite/commit/6851009e6725b17608113a5a63474280075cae1c
- Linkgithub.com/vitejs/vite/commit/e109d64331d9fa57753832762c3573c3532a6947
- Packagegithub.com/vitejs/vite
- Linkgithub.com/vitejs/vite/releases/tag/v2.9.13
- Linkgithub.com/vitejs/vite/releases/tag/v3.0.0-beta.4
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.