Opis (engleski)
Vite is a frontend tooling framework for JavaScript. In 8.4.0-beta.1, a network-exposed development server can register a request-chosen file outside server.fs.allow in config.environments.client.safeModulePaths when processing ?worker&import or ?sharedworker&import, while ?wasm, ?init&import, and ?source&import can register request-chosen .wasm files through the same mechanism. An unauthenticated attacker can first request an outside path with one of the applicable queries and then request the same path normally, causing the safe-path check to bypass server.fs.allow and disclose the file unless server.fs.deny matches it. This issue is fixed in 8.4.0-beta.2.
Zahvaćeni proizvodi i verzije
CVSS vektor, objašnjeno
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:H/SI:N/SA:N
- Put napada
- Preko mreže (s interneta)
- Složenost napada
- Niska
- Preduvjeti napada
- Postoje
- Potrebne ovlasti
- Bez prijave
- Interakcija korisnika
- Nije potrebna
- Povjerljivost
- Nizak utjecaj
- Integritet
- Bez utjecaja
- Dostupnost
- Bez utjecaja
Vrsta slabosti (CWE)
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
Reference
- github.com/vitejs/vite/security/advisories/GHSA-qppr-rxr4-jjq2
- github.com/vitejs/vite/pull/23168
- github.com/vitejs/vite/pull/24206
- github.com/vitejs/vite/commit/a78fb8a28db01e83611120012bd5d1189bab68aa
- github.com/vitejs/vite/commit/e258ce140eef64cf89ff38c410125abd8726f274
- github.com/vitejs/vite/releases/tag/v8.4.0-beta.2
Izvori: CVE.org (CNA i CISA ADP), CISA KEV, FIRST EPSS. Uvijek provjerite službenu objavu proizvođača.