You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The files under the ./public/images is only expected to be served. Abusing this vulnerability, an attacker can access arbitrary files on the filesystem.
PoC
I've attached a demo app to showcase the bug.
Run it with npm run dev and issue the following HTTP request
GET /static/images/../../../../../../../etc/passwd HTTP/1.1
Host: localhost:3001
Content-Length: 2
This PR updates several dependencies in the yarn.lock file, including new versions for chokidar, fdir, picomatch, tinyglobby, and vite-plugin-static-copy. It also modifies some checksums and peer dependencies to ensure compatibility with the latest versions.
Detailed summary
Added chokidar@3.6.0
Updated fdir from 6.4.4 to 6.5.0
Updated picomatch to 4.0.3
Updated tinyglobby from 0.2.13 to 0.2.14
Updated vite-plugin-static-copy from 3.0.0 to 3.1.2
Adjusted peer dependencies for vite to include ^7.0.0
✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}
Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.
You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.
Comment @coderabbitai help to get the list of available commands and usage tips.
dependenciesPull requests that update a dependency file
1 participant
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs from Renovate will soon appear from 'Mend'. Learn more here.
This PR contains the following updates:
3.0.0
->3.1.2
GitHub Vulnerability Alerts
CVE-2025-57753
Summary
Files not included in
src
was possible to access with a crafted request.Impact
Only apps explicitly exposing the Vite dev server to the network (using --host or server.host config option) are affected.
Arbitrary files can be disclosed by exploiting this vulnerability.
Details
Consider the following configuration in used by
vite.config.ts
:The files under the
./public/images
is only expected to be served. Abusing this vulnerability, an attacker can access arbitrary files on the filesystem.PoC
I've attached a demo app to showcase the bug.
Run it with
npm run dev
and issue the following HTTP requestOR
Observe that the
/etc/passwd
file is included in the response.Release Notes
sapphi-red/vite-plugin-static-copy (vite-plugin-static-copy)
v3.1.2
Compare Source
Patch Changes
0bc6b49
Thanks @sapphi-red! - Files not included insrc
was possible to acess with a crafted request. See GHSA-pp7p-q8fx-2968 for more details.v3.1.1
Compare Source
Patch Changes
fc84156
Thanks @sapphi-red! - fix a bug that the content was not sent when multiple vite-plugin-static-copy instance was usedv3.1.0
Compare Source
Minor Changes
9c7cf2e
Thanks @MrRefactoring! - add Vite 7 to peer dep rangev3.0.2
Compare Source
Patch Changes
89458b2
Thanks @sapphi-red! - improved file grouping algorithm for better performancev3.0.1
Compare Source
Patch Changes
#166
60409c5
Thanks @sapphi-red! - fix absolute destination paths in copy targets incorrectly returning contents in dev#164
337f976
Thanks @sapphi-red! - fixes case-insensitive path conflicts causing copy failures (EEXIST error)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.
This PR was generated by Mend Renovate. View the repository job log.
PR-Codex overview
This PR updates several dependencies in the
yarn.lock
file, including new versions forchokidar
,fdir
,picomatch
,tinyglobby
, andvite-plugin-static-copy
. It also modifies some checksums and peer dependencies to ensure compatibility with the latest versions.Detailed summary
chokidar@3.6.0
fdir
from6.4.4
to6.5.0
picomatch
to4.0.3
tinyglobby
from0.2.13
to0.2.14
vite-plugin-static-copy
from3.0.0
to3.1.2
vite
to include^7.0.0