Skip to content

Bump vite [SECURITY] #46050

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 25, 2025
Merged

Bump vite [SECURITY] #46050

merged 1 commit into from
Jun 25, 2025

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 30, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
vite (source) 4.5.13 -> 4.5.14 age adoption passing confidence
vite (source) 5.4.18 -> 5.4.19 age adoption passing confidence

GitHub Vulnerability Alerts

CVE-2025-46565

Summary

The contents of files in the project root that are denied by a file matching pattern 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) are affected.
Only files that are under project root and are denied by a file matching pattern can be bypassed.

  • Examples of file matching patterns: .env, .env.*, *.{crt,pem}, **/.env
  • Examples of other patterns: **/.git/**, .git/**, .git/**/*

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 for files under root by using a combination of slash and dot (/.).

PoC

npm create vite@latest
cd vite-project/
cat "secret" > .env
npm install
npm run dev
curl --request-target /.env/. http://localhost:5173

image
image


Release Notes

vitejs/vite (vite)

v4.5.14

Compare Source

Please refer to CHANGELOG.md for details.


Configuration

📅 Schedule: Branch creation - "" in timezone 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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies Update of dependencies label Apr 30, 2025
@mui-bot
Copy link

mui-bot commented Apr 30, 2025

Netlify deploy preview

https://deploy-preview-46050--material-ui.netlify.app/

Bundle size report

Bundle Parsed Size Gzip Size
@mui/material 0B(0.00%) 0B(0.00%)
@mui/lab 0B(0.00%) 0B(0.00%)
@mui/system 0B(0.00%) 0B(0.00%)
@mui/utils 0B(0.00%) 0B(0.00%)

Details of bundle changes

Generated by 🚫 dangerJS against 7b7f716

@renovate renovate bot force-pushed the renovate/npm-vite-vulnerability branch from ee23011 to 4583b95 Compare May 1, 2025 23:56
@renovate renovate bot changed the title Bump vite to v6.1.6 [SECURITY] Bump vite [SECURITY] May 1, 2025
@renovate renovate bot force-pushed the renovate/npm-vite-vulnerability branch 7 times, most recently from 6f96f46 to 5875dcb Compare May 7, 2025 23:28
@oliviertassinari oliviertassinari added the security Pull requests that address a security vulnerability label May 9, 2025
@github-actions github-actions bot added the PR: out-of-date The pull request has merge conflicts and can't be merged label Jun 3, 2025
@renovate renovate bot force-pushed the renovate/npm-vite-vulnerability branch from 74cf35b to aff0ce4 Compare June 18, 2025 12:53
@github-actions github-actions bot added PR: out-of-date The pull request has merge conflicts and can't be merged and removed PR: out-of-date The pull request has merge conflicts and can't be merged labels Jun 18, 2025
@renovate renovate bot force-pushed the renovate/npm-vite-vulnerability branch from aff0ce4 to 7b7f716 Compare June 23, 2025 11:31
@github-actions github-actions bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged label Jun 23, 2025
@Janpot Janpot merged commit 56b2648 into master Jun 25, 2025
20 checks passed
@Janpot Janpot deleted the renovate/npm-vite-vulnerability branch June 25, 2025 11:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Update of dependencies security Pull requests that address a security vulnerability
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants