Skip to content

fix(deps): bump js-yaml and nanoid to resolve CVE-2026-59870 and GHSA-2v37-7h3g-55p8 - #14

Merged
ashirman merged 1 commit into
mainfrom
fix/cve-2026-59870-js-yaml-nanoid
Aug 20, 2026
Merged

fix(deps): bump js-yaml and nanoid to resolve CVE-2026-59870 and GHSA-2v37-7h3g-55p8#14
ashirman merged 1 commit into
mainfrom
fix/cve-2026-59870-js-yaml-nanoid

Conversation

@revopushbot

Copy link
Copy Markdown
Contributor

Summary

  • Bumps js-yaml 3.15.0 → 3.15.1 and the two nested 4.3.0 copies → 4.3.1, resolving CVE-2026-59870 / GHSA-5p4m-2wfm-xmqj (quadratic CPU consumption in !!omap resolution).
  • Bumps nanoid 3.3.16 → 3.3.18, resolving GHSA-2v37-7h3g-55p8 (custom generators can loop indefinitely when size is zero).

All new versions fit the existing semver ranges (^3.13.1, ^4.1.0/^4.1.1, ^3.3.16), so this is a lockfile-only change in both package-lock.json and yarn.lock — no package.json edits needed.

Not included (no fix available)

The remaining 8 npm audit high findings are all one chain rooted in image-size (no fixed npm release exists; tracked in REV-98). metro removed image-size in 0.84.5 / 0.83.8 on 2026-08-19, but @expo/metro@56.0.0 still pins metro to exactly 0.84.4, so that fix lands as a follow-up lockfile bump once Expo repins. A daily routine now watches for that release.

Verification

  • yarn install --frozen-lockfile — passes
  • yarn build — passes
  • npm audit — high findings drop from 10 to 8; js-yaml and nanoid no longer reported

🤖 Generated with Claude Code

…-2v37-7h3g-55p8

js-yaml 3.15.0 -> 3.15.1 and the two nested 4.3.0 copies -> 4.3.1
(quadratic CPU consumption in !!omap resolution, CVE-2026-59870 /
GHSA-5p4m-2wfm-xmqj); nanoid 3.3.16 -> 3.3.18 (custom generators can
loop indefinitely when size is zero, GHSA-2v37-7h3g-55p8).

All bumps fit the existing semver ranges, so this is lockfile-only in
both package-lock.json and yarn.lock, no package.json changes.

Verified with `yarn install --frozen-lockfile` and `yarn build`.
npm audit drops from 10 to 8 high findings; the remaining 8 are all
the unfixable image-size chain tracked in REV-98 (metro 0.84.5
removed image-size on 2026-08-19, pending an Expo repin).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@ashirman
ashirman merged commit 65bb8dd into main Aug 20, 2026
1 check passed
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