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.13
vitenpm
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.4

Details

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

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.