Commit b10e6c1
authored
chore(deps): update dependency vite to v6.2.4 [security] (main) (#7168)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [vite](https://vite.dev)
([source](https://redirect.github.com/vitejs/vite/tree/HEAD/packages/vite))
| [`6.2.3` ->
`6.2.4`](https://renovatebot.com/diffs/npm/vite/6.2.3/6.2.4) |
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
### GitHub Vulnerability Alerts
####
[CVE-2025-31125](https://redirect.github.com/vitejs/vite/security/advisories/GHSA-4r4m-qw57-chr8)
### Summary
The contents of arbitrary files can be returned to the browser.
### Impact
Only apps explicitly exposing the Vite dev server to the network (using
`--host` or [`server.host` config
option](https://vitejs.dev/config/server-options.html#server-host)) are
affected.
### Details
- base64 encoded content of non-allowed files is exposed using
`?inline&import` (originally reported as `?import&?inline=1.wasm?init`)
- content of non-allowed files is exposed using `?raw?import`
`/@​fs/` isn't needed to reproduce the issue for files inside the
project root.
### PoC
Original report (check details above for simplified cases):
The ?import&?inline=1.wasm?init ending allows attackers to read
arbitrary files and returns the file content if it exists. Base64
decoding needs to be performed twice
```
$ npm create vite@latest
$ cd vite-project/
$ npm install
$ npm run dev
```
Example full URL
`http://localhost:5173/@​fs/C:/windows/win.ini?import&?inline=1.wasm?init`
---
### Release Notes
<details>
<summary>vitejs/vite (vite)</summary>
###
[`v6.2.4`](https://redirect.github.com/vitejs/vite/releases/tag/v6.2.4)
[Compare
Source](https://redirect.github.com/vitejs/vite/compare/v6.2.3...v6.2.4)
Please refer to
[CHANGELOG.md](https://redirect.github.com/vitejs/vite/blob/v6.2.4/packages/vite/CHANGELOG.md)
for details.
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "" (UTC), Automerge - At any time (no
schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/SAP/ui5-webcomponents-react).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMDcuMSIsInVwZGF0ZWRJblZlciI6IjM5LjIwNy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>1 parent a7feb21 commit b10e6c1
File tree
4 files changed
+15
-15
lines changed- examples
- react-router-ts
- vite-ts
- templates/vite-ts
4 files changed
+15
-15
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24617 | 24617 | | |
24618 | 24618 | | |
24619 | 24619 | | |
24620 | | - | |
24621 | | - | |
| 24620 | + | |
| 24621 | + | |
24622 | 24622 | | |
24623 | 24623 | | |
24624 | 24624 | | |
| |||
24655 | 24655 | | |
24656 | 24656 | | |
24657 | 24657 | | |
24658 | | - | |
| 24658 | + | |
24659 | 24659 | | |
24660 | 24660 | | |
24661 | 24661 | | |
24662 | 24662 | | |
24663 | | - | |
24664 | | - | |
| 24663 | + | |
| 24664 | + | |
24665 | 24665 | | |
24666 | 24666 | | |
24667 | 24667 | | |
| |||
24707 | 24707 | | |
24708 | 24708 | | |
24709 | 24709 | | |
24710 | | - | |
| 24710 | + | |
24711 | 24711 | | |
24712 | 24712 | | |
24713 | 24713 | | |
| |||
0 commit comments