fix: patch Vite arbitrary file read vulnerability (GHSA-p9ff-h696-f583) #51
+2
-1
@@ -51,7 +51,8 @@
|
||||
],
|
||||
"overrides": {
|
||||
"tar": "^7.5.11",
|
||||
"undici": "^7.24.3"
|
||||
"undici": "^7.24.3",
|
||||
"vite": ">=6.4.2"
|
||||
},
|
||||
|
|
||||
"dependencies": {
|
||||
"node-forge": "^1.4.0"
|
||||
|
||||
Generated
+1086
-672
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user
The constraint
>=6.4.2technically satisfies pnpm with any Vite version>=6.4.2, which includes the 7.x range7.0.0–7.3.1. Those versions are also vulnerable to GHSA-p9ff-h696-f583 (the advisory listsv7.3.2as a separate fix release alongsidev6.4.2andv8.0.5).In the current lockfile this doesn't bite because pnpm resolves
6.4.2and7.3.2— both patched — but a futurepnpm update viteor a newly added transitive dep that constrains vite to^7.0.0could resolve a vulnerable 7.x version and still satisfy the override.A more precise constraint would be:
This explicitly excludes the entire vulnerable 7.0.0–7.3.1 window while still allowing patched 7.3.2+ and any 8.x release.
Prompt To Fix With AI