-
Notifications
You must be signed in to change notification settings - Fork 0
chore(deps): update dependency vitest to v2.1.9 [security] #847
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
base: main
Are you sure you want to change the base?
Conversation
|
002056b to
aeb7c38
Compare
28df6f3 to
2b0a8b7
Compare
2b0a8b7 to
9e28aa7
Compare
Run report for 0f84fb4e
|
| Action | Time | Status | Info | |
|---|---|---|---|---|
| 🟩 | SyncWorkspace |
11.6ms | Passed | |
| 🟩 | SyncProject(claude-code) |
1.4ms | Passed | |
| 🟩 | SyncProject(vendir) |
1.9ms | Passed | |
| 🟩 | SyncProject(devenv) |
14.9ms | Passed | |
| 🟦 | RunTask(claude-code:build) |
7.3s | Cached | |
| 🟦 | RunTask(vendir:build) |
1m 29s | Cached | |
| 🟦 | RunTask(devenv:test) |
610.9ms | Cached |
Environment
OS: macOS
Matrix:
os = macos-latest
name = macOS
index = 0
total = 1
job_number = 1
Variables:
MOON_TOOLCHAIN_FORCE_GLOBALS = true
Touched files
apps/blueorange/package.json
Run report for 0f84fb4e
|
| Action | Time | Status | Info | |
|---|---|---|---|---|
| 🟩 | SyncWorkspace |
8.9ms | Passed |
Environment
OS: Linux
Matrix:
os = ubuntu-latest
name = Linux
index = 0
total = 2
job_number = 1
Variables:
MOON_TOOLCHAIN_FORCE_GLOBALS = true
Touched files
apps/blueorange/package.json
Run report for 0f84fb4e
|
| Action | Time | Status | Info | |
|---|---|---|---|---|
| 🟩 | SyncWorkspace |
8.9ms | Passed | |
| 🟩 | SyncProject(escaperoom) |
0.2ms | Passed | |
| 🟩 | SyncProject(blueorange) |
0.4ms | Passed | |
| 🟦 | RunTask(escaperoom:test) |
1.1s | Cached | |
| 🟥 | RunTask(blueorange:install) |
6.8s | Failed | |
| ⬛️ | RunTask(blueorange:test) |
0.1ms | Skipped | |
| ⬛️ | RunTask(blueorange:build) |
0.2ms | Skipped |
Environment
OS: Linux
Matrix:
os = ubuntu-latest
name = Linux
index = 1
total = 2
job_number = 2
Variables:
MOON_TOOLCHAIN_FORCE_GLOBALS = true
Touched files
apps/blueorange/package.json
d706164 to
88e4a18
Compare
88e4a18 to
0f84fb4
Compare
This PR contains the following updates:
2.1.5→2.1.9Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
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
apioption 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
saveTestFileAPI that can edit a test file andrerunAPI that can rerun the tests. An attacker can execute arbitrary code by injecting a code in a test file by thesaveTestFileAPI and then running that file by calling thererunAPI.https://github.com/vitest-dev/vitest/blob/9a581e1c43e5c02b11e2a8026a55ce6a8cb35114/packages/vitest/src/api/setup.ts#L66-L76
PoC
calcexecutable inPATHenv 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)
v2.1.9Compare Source
This release includes security patches for:
🐞 Bug Fixes
/__screenshot-error- by @hi-ogawa in #7343View changes on GitHub
v2.1.8Compare Source
🐞 Bug Fixes
View changes on GitHub
v2.1.7Compare Source
🐞 Bug Fixes
pnpm.overridesor yarn resolutions to override theviteversion in thevitestpackage - the APIs are compatible.View changes on GitHub
v2.1.6Compare Source
🚀 Features
View changes on GitHub
Configuration
📅 Schedule: Branch creation - "" (UTC), Automerge - "after 9am every weekday,before 5pm every weekday" (UTC).
🚦 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.