Read the docs
TI-2020-19403 Aliases GHSA-vg44-fw64-cpjx

Incorrect Account Used for Signing

Priority LOW 38CWE-287Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
Security bypass
Confidentiality · integrity · availability
—
Fix status
Fixed

No CVSS vector from any source. Fix status from GitHub. Impact type from CWE-287.

Summary

### Impact Anybody using this library to sign with a BIP44 account other than the first account may be affected. If a user is signing with the first account (i.e. the account at index `0`), or with the legacy MEW/MyCrypto HD path, they are not affected. The vulnerability impacts cases where the user signs a personal message or transaction without first adding the account. This includes cases where the user has already added the account in a previous session (i.e. they added the account, reset the application, then signed something). The serialization/deserialization process does restore a previously added account, but it doesn't restore the index instructing the keyring to use that account for signing. As a result, after serializing then deserializing the keyring state, the account at index `0` is always used for signing even if it isn't the current account. ### Patches This has been patched ([#14](https://github.com/MetaMask/eth-ledger-bridge-keyring/pull/14)) in version >=0.2.1 of [`eth-ledger-bridge-keyring`](https://www.npmjs.com/package/eth-ledger-bridge-keyring), and in version >=0.2.2 of [`@metamask/eth-ledger-bridge-keyring`](https://www.npmjs.com/package/@metamask/eth-ledger-bridge-keyring). Users are encouraged to migrate to the new package name. ### Workarounds To work around this problem without updating, you should remove then re-add the account before use. As long as the account was added during the lifetime of that process, signing with that account should work correctly. ### For more information If you have any questions or comments about this advisory: * Open an issue in [MetaMask/eth-ledger-bridge-keyring on GitHub](https://github.com/MetaMask/eth-ledger-bridge-keyring) * Email the MetaMask team at [[email protected]](mailto:[email protected])

Why it matters now

Fix Fixed eth-ledger-bridge-keyring (npm): 0.2.1@metamask/eth-ledger-bridge-keyring (npm): 0.2.2

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—eth-ledger-bridge-keyring (npm)before 0.2.10.2.1Patch availableGHSA-vg44-fw64-cpjx
—@metamask/eth-ledger-bridge-keyring (npm)before 0.2.20.2.2Patch availableGHSA-vg44-fw64-cpjx
  • eth-ledger-bridge-keyring (npm) Vendor— Affected before 0.2.1 Fixed in 0.2.1 Patch available GHSA-vg44-fw64-cpjx
  • @metamask/eth-ledger-bridge-keyring (npm) Vendor— Affected before 0.2.2 Fixed in 0.2.2 Patch available GHSA-vg44-fw64-cpjx

Remediation

  • Fix · GHSA-vg44-fw64-cpjx eth-ledger-bridge-keyring (npm) Fixed in 0.2.1 Advisory →
  • Fix · GHSA-vg44-fw64-cpjx @metamask/eth-ledger-bridge-keyring (npm) Fixed in 0.2.2 Advisory →

Timeline

  1. 2026-10-03 Threatist record created from GHSA-vg44-fw64-cpjx

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences