Skip to content

Bump node-forge to 1.4.2 - #136

Merged
amyevans merged 1 commit into
mainfrom
claude-bumpNodeForgeTo1.4.2
Nov 2, 2026
Merged

amyevans merged 1 commit into
mainfrom
claude-bumpNodeForgeTo1.4.2

Conversation

@MelvinBot

Copy link
Copy Markdown
Contributor

Details

Bumps transitive node-forge 1.4.0 → 1.4.2 in package-lock.json and apps/expo-example/package-lock.json. Parents already allow ^1.3.3, so only the lockfiles change.

Why: Dependabot alerts 320 and 117 (GHSA-86w9-cpqp-85rv) still flag 1.4.0. The 1.4.0 fix for RSA PKCS#1 v1.5 signature forgery was incomplete. Upstream fixed it in 1.4.1 (tracked upstream as GHSA-2g46-22mc-6gwp). 1.4.2 fixes a 1.4.1 regression in pem.decode() for Buffer input. GitHub's advisory still lists no patched version, so the alerts may need to be dismissed as fixed after this merges.

Usage: Not imported by the library. It's a transitive dep of @expo/cli (via expo-module-scripts at root, expo in expo-example). Not shipped in the published package.

Heads-up: .npmrc sets min-release-age=7. 1.4.2 was published 2026-10-27 14:09 UTC, so npm may refuse to resolve it before 2026-11-03 14:09 UTC. The lockfiles were edited directly for that reason.

Change Log

1.4.2 (changelog)

  • Fixed: pem.decode() converts non-string input to a string again (1.4.1 regression).

1.4.1

  • Security: multiple fixes, including RSA PKCS#1 v1.5 signature forgery via extra elements in the nested DigestAlgorithm sequence, and a PEM ReDoS fix.

Related Issues

$ https://github.com/Expensify/Expensify/issues/695834

Manual Tests

No unit tests: lockfile-only bump. Verified with npm ls node-forge --package-lock-only (root and apps/expo-example) that both resolve to 1.4.2. node-forge has no dependencies, so no other lockfile entries change.

// TODO: The human co-author must fill out the tests you ran before marking this PR as "ready for review"

Linked PRs

Co-authored-by: Ionatan Wiznia <iwiznia@users.noreply.github.com>
@iwiznia
iwiznia marked this pull request as ready for review November 2, 2026 16:46
@amyevans
amyevans merged commit 22e0b11 into main Nov 2, 2026
7 of 9 checks passed
@amyevans
amyevans deleted the claude-bumpNodeForgeTo1.4.2 branch November 2, 2026 17:02
@os-botify

os-botify Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

🚀 Published to npm in 0.3.2 🎉

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.

3 participants