Skip to content

fix(deps): add node-forge resolution to fix 6 CVEs including 2 critical#606

Open
devin-ai-integration[bot] wants to merge 2 commits intomainfrom
devin/1777470465-fix-node-forge-cve
Open

fix(deps): add node-forge resolution to fix 6 CVEs including 2 critical#606
devin-ai-integration[bot] wants to merge 2 commits intomainfrom
devin/1777470465-fix-node-forge-cve

Conversation

@devin-ai-integration
Copy link
Copy Markdown

@devin-ai-integration devin-ai-integration Bot commented Apr 29, 2026

Summary

Adds a yarn resolution "**/node-forge": "^1.4.0" to force-upgrade node-forge from 1.3.1 to 1.4.0 across all transitive dependency paths (primarily mockttp > node-forge).

This fixes 6 CVEs:

CVE Severity CVSS Description
CVE-2026-33893 Critical 9.4 Improper Certificate Validation
CVE-2025-66029 Critical 9.3 Interpretation Conflict
CVE-2026-33895 High Additional vulnerability
CVE-2026-33891 High Additional vulnerability
CVE-2026-33894 High Additional vulnerability
CVE-2025-66031 High Additional vulnerability

Changes

  • package.json: Added "**/node-forge": "^1.4.0" to the existing resolutions block (45th resolution entry)
  • yarn.lock: Updated node-forge from 1.3.1 → 1.4.0 with correct registry URL and integrity hash

Compatibility

  • mockttp@^3.15.2 depends on node-forge@^1.2.1 — fully satisfied by 1.4.0
  • Other consumers (@expo/config-plugins, selfsigned) also use ^1.2.1 or ^1.3.1 ranges — all compatible with 1.4.0

Review & Testing Checklist for Human

  • Verify node-forge resolves to 1.4.0 after running yarn install and checking yarn why node-forge
  • Run the test suite to confirm no regressions from the node-forge upgrade (especially TLS/certificate-related tests)

Notes

  • All CI failures are pre-existing and unrelated to this change:
    • react-native-tcp GitHub tarball returns 404 (aprock/react-native-tcp repo/commit no longer accessible) — this blocks yarn install in CI for unit-tests, dedupe, git-safe-dependencies, audit, and js-bundle-size-check jobs
    • CLABot: missing cla-signatures branch in the fork
    • check-pr-labels: missing required team/QA labels (expected for bot PRs)
    • check-diff: Ruby 3.1.6 not available on macOS self-hosted runner
  • CI jobs that did pass: build, Snyk security, CodeQL, Semgrep OSS, Devin Review, run-bitrise-e2e-check/gate, run-security-scan
  • The check-pr-labels job ran yarn --immutable successfully (Done in 2.95s), confirming the yarn.lock is valid and consistent

Link to Devin session: https://app.devin.ai/sessions/0306cfe62b864f8fa23f2a6e61a487c7
Requested by: @abhay-codeium


Devin Review

Status Commit
⚪ Not started

💡 Connect your GitHub account to enable automatic code reviews.

Open in Devin Review (Staging)
Open in Devin Review

Add yarn resolution for node-forge ^1.4.0 to address:
- CVE-2026-33893 (Critical, CVSS 9.4): Improper Certificate Validation
- CVE-2025-66029 (Critical, CVSS 9.3): Interpretation Conflict
- CVE-2026-33895 (High): Additional vulnerability
- CVE-2026-33891 (High): Additional vulnerability
- CVE-2026-33894 (High): Additional vulnerability
- CVE-2025-66031 (High): Additional vulnerability

The transitive dependency via mockttp > node-forge was at 1.3.1.
This resolution forces all instances to use ^1.4.0.

Co-Authored-By: Abhay Aggarwal <abhay.aggarwal@codeium.com>
@devin-ai-integration
Copy link
Copy Markdown
Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

Copy link
Copy Markdown
Author

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Open in Devin Review

Co-Authored-By: Abhay Aggarwal <abhay.aggarwal@codeium.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant