-
Notifications
You must be signed in to change notification settings - Fork 626
[GHSA-5xrq-8626-4rwp] When Vitest UI server is listening, arbitrary file can be read and executed #7883
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: joevin-slq-docto/advisory-improvement-7883
Are you sure you want to change the base?
[GHSA-5xrq-8626-4rwp] When Vitest UI server is listening, arbitrary file can be read and executed #7883
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -1,7 +1,7 @@ | ||||||||||||||||||
| { | ||||||||||||||||||
| "schema_version": "1.4.0", | ||||||||||||||||||
| "id": "GHSA-5xrq-8626-4rwp", | ||||||||||||||||||
| "modified": "2026-06-01T14:09:53Z", | ||||||||||||||||||
| "modified": "2026-06-01T14:09:54Z", | ||||||||||||||||||
| "published": "2026-06-01T14:09:53Z", | ||||||||||||||||||
| "aliases": [ | ||||||||||||||||||
| "CVE-2026-47429" | ||||||||||||||||||
|
|
@@ -33,6 +33,44 @@ | |||||||||||||||||
| ] | ||||||||||||||||||
| } | ||||||||||||||||||
| ] | ||||||||||||||||||
| }, | ||||||||||||||||||
| { | ||||||||||||||||||
| "package": { | ||||||||||||||||||
| "ecosystem": "npm", | ||||||||||||||||||
| "name": "vitest" | ||||||||||||||||||
| }, | ||||||||||||||||||
| "ranges": [ | ||||||||||||||||||
| { | ||||||||||||||||||
| "type": "ECOSYSTEM", | ||||||||||||||||||
| "events": [ | ||||||||||||||||||
| { | ||||||||||||||||||
| "introduced": "0" | ||||||||||||||||||
| }, | ||||||||||||||||||
| { | ||||||||||||||||||
| "fixed": "4.1.0" | ||||||||||||||||||
| } | ||||||||||||||||||
| ] | ||||||||||||||||||
| } | ||||||||||||||||||
| ] | ||||||||||||||||||
| }, | ||||||||||||||||||
| { | ||||||||||||||||||
| "package": { | ||||||||||||||||||
| "ecosystem": "npm", | ||||||||||||||||||
| "name": "vitest" | ||||||||||||||||||
| }, | ||||||||||||||||||
| "ranges": [ | ||||||||||||||||||
| { | ||||||||||||||||||
| "type": "ECOSYSTEM", | ||||||||||||||||||
| "events": [ | ||||||||||||||||||
| { | ||||||||||||||||||
| "introduced": "0" | ||||||||||||||||||
| }, | ||||||||||||||||||
| { | ||||||||||||||||||
| "fixed": "3.2.5" | ||||||||||||||||||
|
Comment on lines
+66
to
+69
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is 4.1.0 accurate? Other tools report 4.1.6 for the fixed version: https://security.snyk.io/package/npm/vitest/versions?page=1 |
||||||||||||||||||
| } | ||||||||||||||||||
| ] | ||||||||||||||||||
| } | ||||||||||||||||||
| ] | ||||||||||||||||||
| } | ||||||||||||||||||
|
Comment on lines
+36
to
74
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, we should have this: "affected": [
{
"package": {
"ecosystem": "npm",
"name": "vitest"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.2.5"
}
]
}
]
},
{
"package": {
"ecosystem": "npm",
"name": "vitest"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.0.0"
},
{
"fixed": "4.1.0"
}
]
}
]
}
], |
||||||||||||||||||
| ], | ||||||||||||||||||
| "references": [ | ||||||||||||||||||
|
|
||||||||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.