-
Notifications
You must be signed in to change notification settings - Fork 2
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
chore(deps): update dependency vite to v5.0.13 [security] #565
Open
plural-renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/npm-vite-vulnerability
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains 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
plural-renovate
bot
force-pushed
the
renovate/npm-vite-vulnerability
branch
3 times, most recently
from
January 26, 2024 01:33
86060f4
to
aa147c4
Compare
plural-renovate
bot
force-pushed
the
renovate/npm-vite-vulnerability
branch
3 times, most recently
from
February 6, 2024 19:35
96c2371
to
7305fca
Compare
plural-renovate
bot
force-pushed
the
renovate/npm-vite-vulnerability
branch
from
February 14, 2024 19:01
7305fca
to
cc979e1
Compare
plural-renovate
bot
force-pushed
the
renovate/npm-vite-vulnerability
branch
from
March 8, 2024 14:32
cc979e1
to
68aeeb2
Compare
⚠ Artifact update problemRenovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below: File name: yarn.lock
|
plural-renovate
bot
force-pushed
the
renovate/npm-vite-vulnerability
branch
3 times, most recently
from
March 15, 2024 20:08
32351f9
to
8d86543
Compare
plural-renovate
bot
force-pushed
the
renovate/npm-vite-vulnerability
branch
2 times, most recently
from
April 3, 2024 22:31
4fb6434
to
ef44c84
Compare
plural-renovate
bot
changed the title
chore(deps): update dependency vite to v5.0.12 [security]
chore(deps): update dependency vite to v5.0.13 [security]
Apr 3, 2024
plural-renovate
bot
force-pushed
the
renovate/npm-vite-vulnerability
branch
3 times, most recently
from
April 11, 2024 12:45
6e8e3cf
to
9281fed
Compare
plural-renovate
bot
force-pushed
the
renovate/npm-vite-vulnerability
branch
2 times, most recently
from
April 25, 2024 03:04
844ace8
to
377e1b6
Compare
plural-renovate
bot
force-pushed
the
renovate/npm-vite-vulnerability
branch
3 times, most recently
from
May 1, 2024 03:58
607d113
to
b2d1f0a
Compare
plural-renovate
bot
force-pushed
the
renovate/npm-vite-vulnerability
branch
from
May 6, 2024 20:03
b2d1f0a
to
fcf65e6
Compare
plural-renovate
bot
force-pushed
the
renovate/npm-vite-vulnerability
branch
4 times, most recently
from
May 17, 2024 18:23
b1e1322
to
f53ee9a
Compare
plural-renovate
bot
force-pushed
the
renovate/npm-vite-vulnerability
branch
from
May 24, 2024 18:02
f53ee9a
to
332a1d0
Compare
plural-renovate
bot
force-pushed
the
renovate/npm-vite-vulnerability
branch
3 times, most recently
from
May 29, 2024 08:59
5dffffc
to
052be22
Compare
plural-renovate
bot
force-pushed
the
renovate/npm-vite-vulnerability
branch
7 times, most recently
from
June 10, 2024 16:28
58f6ddb
to
aa45435
Compare
plural-renovate
bot
force-pushed
the
renovate/npm-vite-vulnerability
branch
5 times, most recently
from
June 18, 2024 19:40
92baec6
to
26936cc
Compare
plural-renovate
bot
force-pushed
the
renovate/npm-vite-vulnerability
branch
7 times, most recently
from
June 28, 2024 16:34
c9b4771
to
ea1460d
Compare
plural-renovate
bot
force-pushed
the
renovate/npm-vite-vulnerability
branch
from
July 5, 2024 15:52
ea1460d
to
aadbd15
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
None yet
0 participants
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.
This PR contains the following updates:
5.0.10
->5.0.13
GitHub Vulnerability Alerts
CVE-2024-23331
Summary
Vite dev server option
server.fs.deny
can be bypassed on case-insensitive file systems using case-augmented versions of filenames. Notably this affects servers hosted on Windows.This bypass is similar to https://nvd.nist.gov/vuln/detail/CVE-2023-34092 -- with surface area reduced to hosts having case-insensitive filesystems.
Patches
Fixed in [email protected], [email protected], [email protected], [email protected]
Details
Since
picomatch
defaults to case-sensitive glob matching, but the file server doesn't discriminate; a blacklist bypass is possible.See
picomatch
usage, wherenocase
is defaulted tofalse
: https://github.com/vitejs/vite/blob/v5.1.0-beta.1/packages/vite/src/node/server/index.ts#L632By requesting raw filesystem paths using augmented casing, the matcher derived from
config.server.fs.deny
fails to block access to sensitive files.PoC
Setup
npm create vite@latest
on a Standard Azure hosted Windows 10 instance.npm run dev -- --host 0.0.0.0
custom.secret
andproduction.pem
vite.config.js
withReproduction
curl -s http://20.12.242.81:5173/@​fs//
curl -s http://20.12.242.81:5173/@​fs/C:/Users/darbonzo/Desktop/vite-project/vite.config.js
curl -s http://20.12.242.81:5173/@​fs/C:/Users/darbonzo/Desktop/vite-project/custom.sEcReT
Proof
Impact
Who
What
server.fs.deny
are both discoverable, and accessibleCVE-2024-31207
Summary
Vite dev server option
server.fs.deny
did not deny requests for patterns with directories. An example of such a pattern is/foo/**/*
.Impact
Only apps setting a custom
server.fs.deny
that includes a pattern with directories, and explicitly exposing the Vite dev server to the network (using--host
orserver.host
config option) are affected.Patches
Fixed in [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
Details
server.fs.deny
uses picomatch with the config of{ matchBase: true }
. matchBase only matches the basename of the file, not the path due to a bug (https://github.com/micromatch/picomatch/issues/89). The vite config docs read like you should be able to set fs.deny to glob with picomatch. Vite also does not set{ dot: true }
and that causes dotfiles not to be denied unless they are explicitly defined.Reproduction
Set fs.deny to
['**/.git/**']
and then curl for/.git/config
.matchBase: true
, you can get any file under.git/
(config, HEAD, etc).matchBase: false
, you cannot get any file under.git/
(config, HEAD, etc).Release Notes
vitejs/vite (vite)
v5.0.13
Compare Source
Please refer to CHANGELOG.md for details.
v5.0.12
Compare Source
Please refer to CHANGELOG.md for details.
v5.0.11
Compare Source
__vite__mapDeps
code before sourcemap file comment (#15483) (d2aa096), closes #15483,
inside base64 value ofsrcset
attribute (#15422) (8de7bd2), closes #15422Configuration
📅 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.
This PR has been generated by Renovate Bot.