fix(security): resolve all pnpm audit vulnerabilities#66
Merged
Conversation
- Upgrade vite ^7.0.4 → ^7.3.6 (fixes 4 vite dev-server CVEs + 5 advisories)
- Add pnpm.overrides to pin patched transitive deps:
rollup >=4.59.0 (path traversal in vite>rollup)
postcss >=8.5.10 (XSS in vite>postcss)
vite>picomatch ^4.0.4 (ReDoS in vite>picomatch)
micromatch>picomatch ^2.3.2 (ReDoS in changesets>picomatch)
tmp >=0.2.6 (path traversal in exceljs>tmp)
uuid >=11.1.1 (buffer bounds in exceljs>uuid)
glob>minimatch ^3.1.4, readdir-glob>minimatch ^5.1.8 (ReDoS in exceljs>archiver)
brace-expansion@1 ^1.1.13, brace-expansion@2 ^2.0.3 (DoS in exceljs>archiver)
@changesets/parse>js-yaml ^3.15.0, read-yaml-file>js-yaml ^4.2.0 (DoS in changesets)
@vitejs/plugin-react>@babel/core ^7.29.6 (arbitrary file read via sourceMappingURL)
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
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.
Summary
vitefrom^7.0.4→^7.3.6, patching 4 dev-server CVEs (server.fs.deny bypass ×2, arbitrary file read via WebSocket, NTLMv2 hash disclosure) and 1 path traversal in optimised depspnpm.overridesto pin patched transitive deps that can't be fixed by upgrading direct dependencies:rollupvite>rollup>=4.59.0(arbitrary file write via path traversal)postcssvite>postcss>=8.5.10(XSS via unescaped</style>)picomatchvite>picomatch^4.0.4(ReDoS via extglob quantifiers)picomatchmicromatch>picomatch^2.3.2(ReDoS + POSIX class injection, changesets only)tmpexceljs>tmp>=0.2.6(path traversal via unsanitised prefix)uuidexceljs>uuid>=11.1.1(missing buffer bounds check)minimatchglob>minimatch^3.1.4(ReDoS, exceljs archiver chain)minimatchreaddir-glob>minimatch^5.1.8(ReDoS, exceljs archiver chain)brace-expansion@1exceljs>archiver>…^1.1.13(zero-step sequence DoS)brace-expansion@2exceljs>archiver>…^2.0.3(zero-step sequence DoS)js-yaml@changesets/parse>js-yaml^3.15.0(quadratic-complexity DoS)js-yamlread-yaml-file>js-yaml^4.2.0(quadratic-complexity DoS)@babel/core@vitejs/plugin-react>@babel/core^7.29.6(arbitrary file read via sourceMappingURL)Result:
pnpm audit→ No known vulnerabilities found (was 24: 13 high, 10 moderate, 1 low)Test plan
pnpm auditreturns "No known vulnerabilities found"pnpm buildsucceeds