Skip to content

build(deps): bump tar from 7.5.11 to 7.5.22 via root override (critical security fix) - #304

Open
mbret wants to merge 1 commit into
masterfrom
chore/dep-updates-2026-08-10-tar
Open

build(deps): bump tar from 7.5.11 to 7.5.22 via root override (critical security fix)#304
mbret wants to merge 1 commit into
masterfrom
chore/dep-updates-2026-08-10-tar

Conversation

@mbret

@mbret mbret commented Aug 10, 2026

Copy link
Copy Markdown
Owner

The update

tar 7.5.11 → 7.5.22 (patch-level, security-motivated).

npm audit reports the tree's only critical advisory against tar@7.5.11:

All are fixed in tar@7.5.21+.

Why an override instead of a plain lockfile bump: tar is transitive — lerna@9.0.7 (already the latest release) pins it to the exact version 7.5.11, so no in-range update can move it; npm audit fix only offers a nonsensical --force downgrade to lerna@6. This PR intentionally overrides that exact pin (a root overrides: { "tar": "^7.5.22" }) because it is a security fix. The override can be dropped once lerna ships a release with a patched pin.

After this change: npm ls tar resolves 7.5.22 everywhere (lerna, pacote, node-gyp, arborist) and the audit drops from 30 vulnerabilities (1 critical) to 29 (0 critical).

Gates

Baseline was recorded on a clean master checkout, then re-run with the update applied — no new failures:

  • npm run format / npm run lint (biome): clean, before and after
  • npm run build (18 projects): green, before and after
  • npm run tsc (8 projects): green, before and after
  • npm test unit suites (vitest): all 14 suites pass, before and after
  • Playwright e2e: identical result before and after (fails in the sandbox used for this run because the pinned Playwright browser builds aren't installable there; CI installs its own browsers)

Pending queue (other updates found this run)

Remaining security advisories — all transitive, 29 total (20 high, 9 moderate), most fixable via in-range lockfile refreshes in future runs:

  • high: axios (via nx), brace-expansion (many paths), fast-uri, undici, image-size (via metro), postcss
  • moderate: uuid (via the xcode/@expo/config-plugins chain)

Patch:

  • @chakra-ui/react 3.36.0 → 3.36.1
  • @tanstack/react-query 5.101.2 → 5.101.4
  • @types/react 19.2.17 → 19.2.18
  • @types/react-dom 19.2.3 → 19.2.4
  • @vitejs/plugin-react 6.0.3 → 6.0.5
  • @zip.js/zip.js 2.8.34 → 2.8.36
  • react / react-dom 19.2.7 → 19.2.8

Minor:

Major (still coming — flagged for review):

Needs manual attention

Nothing this run — the chosen update passed all gates. Note the remaining image-size/uuid advisories sit behind the expo/metro dependency chains and may need coordinated expo upgrades rather than single-package bumps.


Generated by Claude Code

lerna pins tar to the exact version 7.5.11, which is affected by the
critical GHSA-vmf3-w455-68vh advisory (tar parser interpretation
differential / file smuggling) and five further DoS advisories fixed in
7.5.21+. An npm override moves the whole tree to the patched 7.5.x line
until lerna ships a release with a fixed pin.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01213s5boGTvKKmY9xzAKyjf
@vercel

vercel Bot commented Aug 10, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
prose-reader-demo Ready Ready Preview Aug 10, 2026 7:45am
prose-reader-front Ready Ready Preview Aug 10, 2026 7:45am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants