Advisories for Npm/@Web3-React/Coinbase-Wallet package

2023

Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

@web3-react is a framework for building Ethereum Apps . In affected versions the chainId may be outdated if the user changes chains as part of the connection flow. This means that the value of chainId returned by useWeb3React() may be incorrect. In an application, this means that any data derived from chainId could be incorrect. For example, if a swapping application derives a wrapped token contract address from the chainId …