Skip to content

chore: update dependency vite to v5.4.21 [security] - autoclosed - #101

Closed
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/npm-vite-vulnerability
Closed

chore: update dependency vite to v5.4.21 [security] - autoclosed#101
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/npm-vite-vulnerability

Conversation

@renovate

@renovate renovate Bot commented Oct 23, 2025

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
vite (source) 5.4.20 -> 5.4.21 age confidence

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.host config 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
image

Release Notes

vitejs/vite (vite)

v5.4.21

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 is behind base branch, 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 the security label Oct 23, 2025
@renovate renovate Bot added the security label Oct 23, 2025
@github-actions github-actions Bot added the web label Oct 23, 2025
@renovate
renovate Bot force-pushed the renovate/npm-vite-vulnerability branch 3 times, most recently from 4de907e to 7bd8116 Compare November 27, 2025 08:19
@renovate
renovate Bot force-pushed the renovate/npm-vite-vulnerability branch from 7bd8116 to 09c93b1 Compare November 29, 2025 04:15
@renovate renovate Bot changed the title chore: update dependency vite to v5.4.21 [security] chore: update dependency vite to v5.4.21 [security] - autoclosed Dec 1, 2025
@renovate renovate Bot closed this Dec 1, 2025
@renovate
renovate Bot deleted the renovate/npm-vite-vulnerability branch December 1, 2025 00:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants