fix(security): bump pnpm.overrides.postcss 8.5.16 -> 8.5.18 to clear pnpm audit gate - #70
Merged
Merged
Conversation
…pnpm audit gate CVE: Path Traversal in postcss <=8.5.17 sourceMappingURL handling (HIGH severity). Transitively affects next@16.x, vite@6.x, vitest@3.x. Bumping the override in web/pnpm-workspace.yaml forces pnpm to resolve postcss >= 8.5.18 across the dep tree. Verified locally: pnpm exec tsc --noEmit -> 0 errors; pnpm audit --audit-level=high -> clean; pnpm list --depth=Infinity postcss resolves to 8.5.18 across next/vite/vitest transitively. CI impact: Lint Web step 11 (pnpm audit) on main will re-trigger to success after this PR is merged. Signed-off-by: RoddyGitHub <roddy@users.noreply.github.com>
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.
Closes Lint Web failure on main (pnpm audit HIGH: postcss <= 8.5.17 Path Traversal in sourceMappingURL).
What changes
web/pnpm-workspace.yaml: line bumppostcss: 8.5.16->postcss: 8.5.18(one line)web/pnpm-lock.yaml: regenerated bypnpm installto reflect the new overrideWhy this is the right fix
web/pnpm-workspace.yaml(notweb/package.json). The comment block above theoverrides:section specifically calls out this exact mechanism: patches are pinned here until Next.js/Vitest bump their own lower-bounds.8.5.18matches the existing line style (line 11 waspostcss: 8.5.16, also a hard pin).Verification
pnpm exec tsc --noEmit-> 0 errorspnpm audit --audit-level=high-> clean (postcss no longer flagged as HIGH)pnpm list postcss-> resolves to 8.5.18 across next, vite, vitest transitivelyRisk
Post-fix: can remove this override?
The comment block above the
overrides:section says: "These can be removed once Next.js and Vitest update their own dependency ranges to pull in the patched versions natively." When next@>=16.x and vitest@>=3.x ship their own postcss>=8.5.18 lower-bounds, this override can be removed in a future PR.