chore(deps): update dependency vite to v6.4.1 [security]
This PR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| vite (source) | 6.3.6 -> 6.4.1 |
GitHub Vulnerability Alerts
CVE-2025-62522
Summary
Files denied by server.fs.deny were sent if the URL ended with \ when the dev server is running on Windows.
Impact
Only apps that match the following conditions are affected:
- explicitly exposes the Vite dev server to the network (using --host or
server.hostconfig option) - running the dev server on Windows
Details
server.fs.deny can contain patterns matching against files (by default it includes .env, .env.*, *.{crt,pem} as such patterns). These patterns were able to bypass by using a back slash(\). The root cause is that fs.readFile('/foo.png/') loads /foo.png.
PoC
npm create vite@latest
cd vite-project/
cat "secret" > .env
npm install
npm run dev
curl --request-target /.env\ http://localhost:5173
Release Notes
vitejs/vite (vite)
v6.4.1
Please refer to CHANGELOG.md for details.
v6.4.0
Please refer to CHANGELOG.md for details.
v6.3.7
Please refer to CHANGELOG.md for details.
Configuration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.
Deploy Preview for papaya-valkyrie-395400 canceled.
| Name | Link |
|---|---|
| Latest commit | f2130a68507dffb0b366c2cd384f5748eb72a6c4 |
| Latest deploy log | https://app.netlify.com/projects/papaya-valkyrie-395400/deploys/69304f421e2ec40008ae057f |