chore(deps): update dependency vitest to v2.1.9 [security]#847
Open
renovate[bot] wants to merge 1 commit intomainfrom
Open
chore(deps): update dependency vitest to v2.1.9 [security]#847renovate[bot] wants to merge 1 commit intomainfrom
renovate[bot] wants to merge 1 commit intomainfrom
Conversation
Contributor
Author
|
002056b to
aeb7c38
Compare
28df6f3 to
2b0a8b7
Compare
2b0a8b7 to
9e28aa7
Compare
Run report for 320e2674
|
| Action | Time | Status | Info | |
|---|---|---|---|---|
| 🟩 | SyncWorkspace |
12.4ms | Passed | |
| 🟩 | SyncProject(vendir) |
0.6ms | Passed | |
| 🟩 | SyncProject(devenv) |
1.2ms | Passed | |
| 🟦 | RunTask(vendir:build) |
1m 13s | Cached | |
| 🟦 | RunTask(devenv:test) |
1s | 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
apps/verjaardag-hilde/package.json
Run report for 320e2674
|
| Action | Time | Status | Info | |
|---|---|---|---|---|
| 🟩 | SyncWorkspace |
9.3ms | Passed | |
| 🟩 | SyncProject(devcontainer) |
0.7ms | Passed | |
| 🟩 | SyncProject(blueorange) |
0.4ms | Passed | |
| 🟩 | SyncProject(verjaardag-hilde) |
0.4ms | Passed | |
| 🟦 | RunTask(talos-image:generate-sha) |
628.5ms | Cached | |
| 🟩 | RunTask(docker:buildx_run) |
2.5s | Passed | |
| 🟦 | RunTask(devcontainers-cli:build) |
2.7s | Cached | |
| 🟥 | RunTask(blueorange:install) |
6.5s | Failed | |
| ⬛️ | RunTask(blueorange:build) |
0.1ms | Skipped | |
| ⬛️ | RunTask(blueorange:test) |
0.2ms | Skipped | |
| 🟩 | RunTask(verjaardag-hilde:install) |
13.6s | Passed | |
| 🟦 | RunTask(verjaardag-hilde:test) |
545.6ms | Cached | |
| 🟦 | RunTask(verjaardag-hilde:build) |
3.1s | Cached | |
| 🟦 | RunTask(vendir:build) |
35.8s | Cached | |
| 🟦 | RunTask(vendir:test) |
422.6ms | Cached | |
| 🟦 | RunTask(devenv:test) |
896.8ms | Cached | |
| 🟦 | RunTask(talos-image:generate-profile) |
1.2s | Cached | |
| 🟩 | RunTask(devcontainer:build) |
15.4s | Passed | |
| 🟩 | RunTask(devcontainer:test) |
44s | 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
apps/verjaardag-hilde/package.json
Run report for 320e2674
|
| Action | Time | Status | Info | |
|---|---|---|---|---|
| 🟩 | SyncWorkspace |
8.6ms | Passed | |
| 🟩 | SyncProject(verjaardag-hilde) |
1ms | Passed | |
| 🟩 | SyncProject(devcontainer) |
1.4ms | Passed | |
| 🟩 | SyncProject(escaperoom) |
0.3ms | Passed | |
| 🟩 | SyncProject(blueorange) |
0.3ms | Passed | |
| 🟦 | RunTask(talos-image:generate-sha) |
894ms | Cached | |
| 🟩 | RunTask(docker:buildx_run) |
1.5s | Passed | |
| 🟦 | RunTask(escaperoom:test) |
918ms | Cached | |
| 🟦 | RunTask(devcontainers-cli:build) |
5.1s | Cached | |
| 🟥 | RunTask(blueorange:install) |
6.1s | Failed | |
| ⬛️ | RunTask(blueorange:build) |
0.1ms | Skipped | |
| ⬛️ | RunTask(blueorange:test) |
0.2ms | Skipped | |
| 🟩 | RunTask(verjaardag-hilde:install) |
16s | Passed | |
| 🟦 | RunTask(verjaardag-hilde:test) |
920.7ms | Cached | |
| 🟦 | RunTask(verjaardag-hilde:build) |
5.1s | Cached | |
| 🟦 | RunTask(vendir:build) |
1m 13s | Cached | |
| 🟦 | RunTask(vendir:test) |
153.9ms | Cached | |
| 🟦 | RunTask(talos-image:generate-profile) |
315.2ms | Cached | |
| 🟦 | RunTask(devenv:test) |
340.5ms | Cached | |
| 🟩 | RunTask(devcontainer:build) |
12s | Passed |
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
apps/verjaardag-hilde/package.json
0f84fb4 to
2ff7281
Compare
f206886 to
6e4c012
Compare
e6c7cce to
5d73764
Compare
077e9fb to
e6bfd99
Compare
56969f7 to
e2049dc
Compare
e2049dc to
320e267
Compare
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
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.