Skip to content

fix(deps): bump bitcoinjs-lib to 6.1.8 - #10158

Merged
pranavjain97 merged 1 commit into
masterfrom
pranavjain/wcn-4493-bump-bitcoinjs-lib-to-fix-cve-blocking
Nov 10, 2026
Merged

pranavjain97 merged 1 commit into
masterfrom
pranavjain/wcn-4493-bump-bitcoinjs-lib-to-fix-cve-blocking

Conversation

@pranavjain97

Copy link
Copy Markdown
Contributor

Description

Bumps the lockfile resolution of bitcoinjs-lib from 6.1.7 to 6.1.8 to fix CVE-2026-107846 / GHSA-8vv3-6qpc-gpw6 (CVSS 9.3, undetected Merkle node duplication in block root computation), which is blocking BitGoJS releases.

Both runtime consumers (@bitgo/utxo-staking, @bitgo/babylonlabs-io-btc-staking-ts) specify ^6.1.7, which 6.1.8 satisfies, so this is a lockfile-only change with no package.json edits. 6.1.8 declares the same dependency set as 6.1.7.

Issue Number

WCN-4493

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

  • yarn install --frozen-lockfile passes and leaves the lockfile unchanged, confirming the edit is consistent.
  • Both @bitgo/utxo-staking and @bitgo/babylonlabs-io-btc-staking-ts resolve bitcoinjs-lib@6.1.8 at runtime.
  • yarn unit-test in modules/utxo-staking: 62 passing, 1 pending.
  • Reran the release OSV scan locally with osv-scanner v2.3.8 (same as CI) using osv-scanner.toml and the osv-severity-gate counting logic: TOTAL=54 advisory groups, BLOCKING_GROUPS_GE_7=0, and GHSA-8vv3-6qpc-gpw6 no longer appears.

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • My commits follow Conventional Commits and I have properly described any BREAKING CHANGES
  • The ticket or github issue was included in the commit message as a reference
  • New and existing unit tests pass locally with my changes

Fixes CVE-2026-107846 (GHSA-8vv3-6qpc-gpw6), undetected Merkle
node duplication in bitcoinjs-lib 6.1.7, which blocks BitGoJS
releases. Lockfile-only bump; package.json ranges (^6.1.7)
already allow 6.1.8.

Refs: WCN-4493
@pranavjain97
pranavjain97 requested a review from a team as a code owner November 10, 2026 22:45

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Claude Code Review

This repository is configured for manual code reviews. Comment @claude review for a one-time review, or @claude review always to subscribe this PR to a review on every future push.

Tip: disable this comment in your organization's Code Review settings.

@linear-code

linear-code Bot commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

WCN-4493

@github-actions

Copy link
Copy Markdown
Contributor

⚠️ Compatibility checks are failing on Node.js 27-nightly (experimental, non-blocking). This does not block merge, but it signals an incompatibility to fix before this release becomes supported.

View run

@danielpeng1

Copy link
Copy Markdown
Contributor

@claude

@pranavjain97
pranavjain97 merged commit 780611d into master Nov 10, 2026
27 checks 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.

4 participants