Vite is a frontend tooling framework for JavaScript. From 8.2.0 until 8.2.4 and 8.3.3, the first 4 bytes of files outside of server.fs setting can be...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:16.04:LTSvite |
All versions→ Not listed |
Not listed |
| Ubuntu:18.04:LTSvite |
All versions→ Not listed |
Not listed |
| Ubuntu:20.04:LTSvite |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSvite |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSvite |
All versions→ Not listed |
Not listed |
| Ubuntu:26.10vite |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSvite |
All versions→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
Vite is a frontend tooling framework for JavaScript. From 8.2.0 until 8.2.4 and 8.3.3, the first 4 bytes of files outside of server.fs setting can be returned to the browser by a request containing ?vite-wasm-instance. Requests containing the ?vite-wasm-instance query are handled by the internal Wasm plugin's load hook. The hook removes the query and reads the resulting path directly from disk, but the server.fs checks were not applied. After reading the file, Vite attempts to parse it as WebAssembly. When that parse fails, Node and deno throws an error that contains the first 4 bytes of the file. This vulnerability is fixed in 8.2.4 and 8.3.3.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- report ubuntu.com
- report cve.org
- report github.com
- report github.com
- report github.com
- report github.com
- report github.com
- report nvd.nist.gov
- report github.com
- report advisory.echohq.com