Skip to content

Conversation

@renovate
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.3 -> 4.5.14 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

v4.5.13

Compare Source

Please refer to CHANGELOG.md for details.

v4.5.12

Compare Source

Please refer to CHANGELOG.md for details.

v4.5.11

Compare Source

Please refer to CHANGELOG.md for details.

v4.5.10

Compare Source

Please refer to CHANGELOG.md for details.

v4.5.9

Compare Source

Please refer to CHANGELOG.md for details.

v4.5.8

Compare Source

Please refer to CHANGELOG.md for details.

v4.5.7

Compare Source

Please refer to CHANGELOG.md for details.

v4.5.6

Compare Source

This version contains a breaking change due to security fixes. See GHSA-vg6x-rcgg-rjx6 for more details.

Please refer to CHANGELOG.md for details.

v4.5.5

Compare Source

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.

@renovate renovate bot added dependencies Pull requests that update a dependency file deps: patches labels Apr 30, 2025
@chinosu chinosu force-pushed the dev branch 2 times, most recently from df22599 to 83f1981 Compare May 7, 2025 17:17
@renovate renovate bot force-pushed the renovate/npm-vite-vulnerability branch from df03b64 to 9cf370d Compare May 19, 2025 21:13
@renovate renovate bot force-pushed the renovate/npm-vite-vulnerability branch 2 times, most recently from 83b40d2 to e36afbe Compare June 4, 2025 12:52
@renovate renovate bot force-pushed the renovate/npm-vite-vulnerability branch from e36afbe to b87771e Compare June 22, 2025 13:44
@dqna64 dqna64 merged commit 4fe3173 into dev Jun 28, 2025
1 check passed
@dqna64 dqna64 deleted the renovate/npm-vite-vulnerability branch June 28, 2025 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file deps: patches

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants