Skip to content

fix(deps): bump vulnerable dependencies - #72

Merged
charIeszhao merged 1 commit into
masterfrom
simeng-fix-bump-vulnerable-dependencies-round-2
Oct 28, 2026
Merged

charIeszhao merged 1 commit into
masterfrom
simeng-fix-bump-vulnerable-dependencies-round-2

Conversation

@simeng-li

Copy link
Copy Markdown
Contributor

Summary

Bumps the dependencies behind the open security advisories. pnpm audit on master goes from 19 → 4 (1 critical, 5 high, 9 moderate, 4 low → 2 high, 1 moderate, 1 low). The 4 left have no fix on their installed major line (see "Not fixed").

@logto/rn's published dependencies and peerDependencies are unchanged. The only manifest change in that package is the vitest dev dependency.

Applied

Package From To Change Reached via
vitest / @vitest/* 4.1.11 4.1.12 packages/rn devDependency ^4.1.11 → ^4.1.12 packages/rn tests
vite 6.4.3 6.4.5 override widened to vite@<=6.4.3: ^6.4.4 vitest
shell-quote 1.10.0 1.12.0 override widened to shell-quote@<1.11.0: ^1.11.0 @silverhand/eslint-config > eslint-plugin-sql > pg-formatter
compression 1.8.0 1.8.2 new override expo > @expo/cli (Metro dev server)
source-map-js 1.2.1 1.2.2 new override postcss (stylelint / @silverhand/eslint-config-react)
fast-uri 3.1.8 3.1.9 override widened to fast-uri@>=3.0.0 <3.1.9: ^3.1.9 @commitlint/cli > ajv
postcss-selector-parser 6.x 6.1.4 6.1.5 override widened to postcss-selector-parser@>=6.1.0 <6.1.5: ^6.1.5 packages/rn-sample > stylelint 15

Override values stay ^-capped on the installed major line, and keys stay sorted.

Not fixed

Package Installed Advisory Reason
zod 3.25.76 GHSA-mrhx-c7xc-m3w5 (high) The fix ships only in zod 4.6.6, and no 3.x release has it. @expo/cli requires zod ^3.25.76. It is reached only through the Expo CLI.
node-forge 1.4.0 GHSA-86w9-cpqp-85rv (high) The advisory records no patched version. node-forge 1.4.1 and 1.4.2 were published on 2026-10-27, and the 1.4.1 changelog fixes the same DigestAlgorithm signature forgery under another advisory ID. 1.4.1 reworks a lot of ASN.1/PEM parsing and already needed 1.4.2 for a regression. @expo/cli uses it to parse Apple signing certificates in expo run:ios, which isn't covered here. Revisit once the release settles or the advisory lists a fix.
uuid 7.0.3 GHSA-w5hq-g745-h8pq (moderate) The fix is uuid 11, four majors up, and Expo's xcode dependency requires uuid ^7. The flaw is in v3/v5/v6 with a caller-supplied buffer, while xcode only calls uuid.v4().
deepmerge 4.3.1 GHSA-gcqx-w48m-w2h4 (low) No fix exists, because the latest release (4.3.1) is still in the vulnerable range. It is reached through @expo/config.

Reviewer notes

  • In vitest 4, vite is an auto-installed peer. pnpm kept the locked vite@6.4.3 even after the override raised the range, so the stale lockfile entry was dropped and pnpm re-resolved it to 6.4.5. The override still keeps vite on the 6.x line.
  • compression is used only by the Expo dev server, and only for .bundle and .map responses. expo start still serves the sample's iOS bundle gzip-compressed with 1.8.2.

Testing

Tested locally

Checklist

  • .changeset
  • unit tests
  • integration tests
  • necessary TSDoc comments

@charIeszhao
charIeszhao merged commit 540144a into master Oct 28, 2026
2 checks passed
@charIeszhao
charIeszhao deleted the simeng-fix-bump-vulnerable-dependencies-round-2 branch October 28, 2026 09:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants