-
-
Notifications
You must be signed in to change notification settings - Fork 366
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
[skip netlify] Update dependency vitest to v1.6.1 [SECURITY] #11393
base: main
Are you sure you want to change the base?
Conversation
Deploying koda-art-prod with
|
Latest commit: |
5ffa58f
|
Status: | ✅ Deploy successful! |
Preview URL: | https://6d9ded31.kodaart-production.pages.dev |
Branch Preview URL: | https://renovate-npm-vitest-vulnerab.kodaart-production.pages.dev |
lgtm |
36ff7d6
to
6535a49
Compare
9aad1c9
to
b74ceac
Compare
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
314f72f
to
17308e2
Compare
Deploying koda-art-prod with
|
Latest commit: |
17308e2
|
Status: | ✅ Deploy successful! |
Preview URL: | https://81e5c0eb.kodaart-production.pages.dev |
Branch Preview URL: | https://renovate-npm-vitest-vulnerab.kodaart-production.pages.dev |
17308e2
to
5e442eb
Compare
Deploying koda-art-prod with
|
Latest commit: |
5e442eb
|
Status: | ✅ Deploy successful! |
Preview URL: | https://cf2aed70.kodaart-production.pages.dev |
Branch Preview URL: | https://renovate-npm-vitest-vulnerab.kodaart-production.pages.dev |
5e442eb
to
1c75464
Compare
1c75464
to
5ffa58f
Compare
|
Bumped minor version of packages, check if builds are still passing, please 🥺
This PR contains the following updates:
1.6.0
->1.6.1
GitHub Vulnerability Alerts
CVE-2025-24964
Summary
Arbitrary remote Code Execution when accessing a malicious website while Vitest API server is listening by Cross-site WebSocket hijacking (CSWSH) attacks.
Details
When
api
option is enabled (Vitest UI enables it), Vitest starts a WebSocket server. This WebSocket server did not check Origin header and did not have any authorization mechanism and was vulnerable to CSWSH attacks.https://github.com/vitest-dev/vitest/blob/9a581e1c43e5c02b11e2a8026a55ce6a8cb35114/packages/vitest/src/api/setup.ts#L32-L46
This WebSocket server has
saveTestFile
API that can edit a test file andrerun
API that can rerun the tests. An attacker can execute arbitrary code by injecting a code in a test file by thesaveTestFile
API and then running that file by calling thererun
API.https://github.com/vitest-dev/vitest/blob/9a581e1c43e5c02b11e2a8026a55ce6a8cb35114/packages/vitest/src/api/setup.ts#L66-L76
PoC
calc
executable inPATH
env var (you'll likely have it if you are running on Windows), that application will be executed.Impact
This vulnerability can result in remote code execution for users that are using Vitest serve API.
Release Notes
vitest-dev/vitest (vitest)
v1.6.1
Compare Source
🐞 Bug Fixes
View changes on GitHub
Configuration
📅 Schedule: Branch creation - "" in timezone Europe/Berlin, Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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.