@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
and a user has changed chains as part of their connection flow the application could cause the user to send funds to the incorrect address when wrapping. This issue has been addressed in PR #749 and is available in updated npm artifacts. There are no known workarounds for this issue. Users are advised to upgrade.
The product contains a code sequence that can run concurrently with other code, and the code sequence requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence that is operating concurrently.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Web3-react_coinbase-wallet | Uniswap | 6.0.0 (including) | 6.2.14 (including) |
Web3-react_coinbase-wallet | Uniswap | 7.0.0-alpha0 (including) | 7.0.0-alpha0 (including) |
Web3-react_coinbase-wallet | Uniswap | 7.0.1-alpha0 (including) | 7.0.1-alpha0 (including) |
Web3-react_coinbase-wallet | Uniswap | 7.0.2-alpha0 (including) | 7.0.2-alpha0 (including) |
Web3-react_coinbase-wallet | Uniswap | 8.0.22-beta0 (including) | 8.0.22-beta0 (including) |
Web3-react_coinbase-wallet | Uniswap | 8.0.23-beta0 (including) | 8.0.23-beta0 (including) |
Web3-react_coinbase-wallet | Uniswap | 8.0.24-beta0 (including) | 8.0.24-beta0 (including) |
Web3-react_coinbase-wallet | Uniswap | 8.0.25-beta0 (including) | 8.0.25-beta0 (including) |
Web3-react_coinbase-wallet | Uniswap | 8.0.26-beta0 (including) | 8.0.26-beta0 (including) |
Web3-react_coinbase-wallet | Uniswap | 8.0.27-beta0 (including) | 8.0.27-beta0 (including) |
Web3-react_coinbase-wallet | Uniswap | 8.0.28-beta0 (including) | 8.0.28-beta0 (including) |
Web3-react_coinbase-wallet | Uniswap | 8.0.29-beta0 (including) | 8.0.29-beta0 (including) |
Web3-react_coinbase-wallet | Uniswap | 8.0.30-beta0 (including) | 8.0.30-beta0 (including) |
Web3-react_coinbase-wallet | Uniswap | 8.0.31-beta0 (including) | 8.0.31-beta0 (including) |
Web3-react_coinbase-wallet | Uniswap | 8.0.32-beta0 (including) | 8.0.32-beta0 (including) |
Web3-react_coinbase-wallet | Uniswap | 8.0.33-beta0 (including) | 8.0.33-beta0 (including) |
Web3-react_coinbase-wallet | Uniswap | 8.0.34-beta0 (including) | 8.0.34-beta0 (including) |
Web3-react_eip1193 | Uniswap | 6.0.0 (including) | 6.2.14 (including) |
Web3-react_eip1193 | Uniswap | 7.0.0-alpha0 (including) | 7.0.0-alpha0 (including) |
Web3-react_eip1193 | Uniswap | 7.0.1-alpha0 (including) | 7.0.1-alpha0 (including) |
Web3-react_eip1193 | Uniswap | 7.0.2-alpha0 (including) | 7.0.2-alpha0 (including) |
Web3-react_eip1193 | Uniswap | 8.0.0-beta0 (including) | 8.0.0-beta0 (including) |
Web3-react_eip1193 | Uniswap | 8.0.1-beta0 (including) | 8.0.1-beta0 (including) |
Web3-react_eip1193 | Uniswap | 8.0.2-beta0 (including) | 8.0.2-beta0 (including) |
Web3-react_eip1193 | Uniswap | 8.0.3-beta0 (including) | 8.0.3-beta0 (including) |
Web3-react_eip1193 | Uniswap | 8.0.4-beta0 (including) | 8.0.4-beta0 (including) |
Web3-react_eip1193 | Uniswap | 8.0.5-beta0 (including) | 8.0.5-beta0 (including) |
Web3-react_eip1193 | Uniswap | 8.0.6-beta0 (including) | 8.0.6-beta0 (including) |
Web3-react_eip1193 | Uniswap | 8.0.7-beta0 (including) | 8.0.7-beta0 (including) |
Web3-react_eip1193 | Uniswap | 8.0.8-beta0 (including) | 8.0.8-beta0 (including) |
Web3-react_eip1193 | Uniswap | 8.0.9-beta0 (including) | 8.0.9-beta0 (including) |
Web3-react_eip1193 | Uniswap | 8.0.10-beta0 (including) | 8.0.10-beta0 (including) |
Web3-react_eip1193 | Uniswap | 8.0.11-beta0 (including) | 8.0.11-beta0 (including) |
Web3-react_eip1193 | Uniswap | 8.0.12-beta0 (including) | 8.0.12-beta0 (including) |
Web3-react_eip1193 | Uniswap | 8.0.13-beta0 (including) | 8.0.13-beta0 (including) |
Web3-react_eip1193 | Uniswap | 8.0.14-beta0 (including) | 8.0.14-beta0 (including) |
Web3-react_eip1193 | Uniswap | 8.0.15-beta0 (including) | 8.0.15-beta0 (including) |
Web3-react_eip1193 | Uniswap | 8.0.16-beta0 (including) | 8.0.16-beta0 (including) |
Web3-react_eip1193 | Uniswap | 8.0.17-beta0 (including) | 8.0.17-beta0 (including) |
Web3-react_eip1193 | Uniswap | 8.0.18-beta0 (including) | 8.0.18-beta0 (including) |
Web3-react_eip1193 | Uniswap | 8.0.19-beta0 (including) | 8.0.19-beta0 (including) |
Web3-react_eip1193 | Uniswap | 8.0.20-beta0 (including) | 8.0.20-beta0 (including) |
Web3-react_eip1193 | Uniswap | 8.0.21-beta0 (including) | 8.0.21-beta0 (including) |
Web3-react_eip1193 | Uniswap | 8.0.22-beta0 (including) | 8.0.22-beta0 (including) |
Web3-react_eip1193 | Uniswap | 8.0.23-beta0 (including) | 8.0.23-beta0 (including) |
Web3-react_eip1193 | Uniswap | 8.0.24-beta0 (including) | 8.0.24-beta0 (including) |
Web3-react_eip1193 | Uniswap | 8.0.25-beta0 (including) | 8.0.25-beta0 (including) |
Web3-react_eip1193 | Uniswap | 8.0.26-beta0 (including) | 8.0.26-beta0 (including) |
Web3-react_metamask | Uniswap | 6.0.0 (including) | 6.2.14 (including) |
Web3-react_metamask | Uniswap | 8.0.0-beta0 (including) | 8.0.0-beta0 (including) |
Web3-react_metamask | Uniswap | 8.0.1-beta0 (including) | 8.0.1-beta0 (including) |
Web3-react_metamask | Uniswap | 8.0.2-beta0 (including) | 8.0.2-beta0 (including) |
Web3-react_metamask | Uniswap | 8.0.3-beta0 (including) | 8.0.3-beta0 (including) |
Web3-react_metamask | Uniswap | 8.0.4-beta0 (including) | 8.0.4-beta0 (including) |
Web3-react_metamask | Uniswap | 8.0.5-beta0 (including) | 8.0.5-beta0 (including) |
Web3-react_metamask | Uniswap | 8.0.6-beta0 (including) | 8.0.6-beta0 (including) |
Web3-react_metamask | Uniswap | 8.0.7-beta0 (including) | 8.0.7-beta0 (including) |
Web3-react_metamask | Uniswap | 8.0.8-beta0 (including) | 8.0.8-beta0 (including) |
Web3-react_metamask | Uniswap | 8.0.9-beta0 (including) | 8.0.9-beta0 (including) |
Web3-react_metamask | Uniswap | 8.0.10-beta0 (including) | 8.0.10-beta0 (including) |
Web3-react_metamask | Uniswap | 8.0.11-beta0 (including) | 8.0.11-beta0 (including) |
Web3-react_metamask | Uniswap | 8.0.12-beta0 (including) | 8.0.12-beta0 (including) |
Web3-react_metamask | Uniswap | 8.0.13-beta0 (including) | 8.0.13-beta0 (including) |
Web3-react_metamask | Uniswap | 8.0.14-beta0 (including) | 8.0.14-beta0 (including) |
Web3-react_metamask | Uniswap | 8.0.15-beta0 (including) | 8.0.15-beta0 (including) |
Web3-react_metamask | Uniswap | 8.0.16-beta0 (including) | 8.0.16-beta0 (including) |
Web3-react_metamask | Uniswap | 8.0.17-beta0 (including) | 8.0.17-beta0 (including) |
Web3-react_metamask | Uniswap | 8.0.18-beta0 (including) | 8.0.18-beta0 (including) |
Web3-react_metamask | Uniswap | 8.0.19-beta0 (including) | 8.0.19-beta0 (including) |
Web3-react_metamask | Uniswap | 8.0.20-beta0 (including) | 8.0.20-beta0 (including) |
Web3-react_metamask | Uniswap | 8.0.21-beta0 (including) | 8.0.21-beta0 (including) |
Web3-react_metamask | Uniswap | 8.0.22-beta0 (including) | 8.0.22-beta0 (including) |
Web3-react_metamask | Uniswap | 8.0.23-beta0 (including) | 8.0.23-beta0 (including) |
Web3-react_metamask | Uniswap | 8.0.24-beta0 (including) | 8.0.24-beta0 (including) |
Web3-react_metamask | Uniswap | 8.0.25-beta0 (including) | 8.0.25-beta0 (including) |
Web3-react_metamask | Uniswap | 8.0.26-beta0 (including) | 8.0.26-beta0 (including) |
Web3-react_metamask | Uniswap | 8.0.27-beta0 (including) | 8.0.27-beta0 (including) |
Web3-react_metamask | Uniswap | 8.0.28-beta0 (including) | 8.0.28-beta0 (including) |
Web3-react_metamask | Uniswap | 8.0.29-beta0 (including) | 8.0.29-beta0 (including) |
Web3-react_walletconnect | Uniswap | 6.0.0 (including) | 6.2.14 (including) |
Web3-react_walletconnect | Uniswap | 7.0.0-alpha0 (including) | 7.0.0-alpha0 (including) |
Web3-react_walletconnect | Uniswap | 7.0.1-alpha0 (including) | 7.0.1-alpha0 (including) |
Web3-react_walletconnect | Uniswap | 7.0.2-alpha0 (including) | 7.0.2-alpha0 (including) |
Web3-react_walletconnect | Uniswap | 8.0.0-beta0 (including) | 8.0.0-beta0 (including) |
Web3-react_walletconnect | Uniswap | 8.0.1-beta0 (including) | 8.0.1-beta0 (including) |
Web3-react_walletconnect | Uniswap | 8.0.2-beta0 (including) | 8.0.2-beta0 (including) |
Web3-react_walletconnect | Uniswap | 8.0.3-beta0 (including) | 8.0.3-beta0 (including) |
Web3-react_walletconnect | Uniswap | 8.0.4-beta0 (including) | 8.0.4-beta0 (including) |
Web3-react_walletconnect | Uniswap | 8.0.5-beta0 (including) | 8.0.5-beta0 (including) |
Web3-react_walletconnect | Uniswap | 8.0.6-beta0 (including) | 8.0.6-beta0 (including) |
Web3-react_walletconnect | Uniswap | 8.0.7-beta0 (including) | 8.0.7-beta0 (including) |
Web3-react_walletconnect | Uniswap | 8.0.8-beta0 (including) | 8.0.8-beta0 (including) |
Web3-react_walletconnect | Uniswap | 8.0.9-beta0 (including) | 8.0.9-beta0 (including) |
Web3-react_walletconnect | Uniswap | 8.0.10-beta0 (including) | 8.0.10-beta0 (including) |
Web3-react_walletconnect | Uniswap | 8.0.11-beta0 (including) | 8.0.11-beta0 (including) |
Web3-react_walletconnect | Uniswap | 8.0.12-beta0 (including) | 8.0.12-beta0 (including) |
Web3-react_walletconnect | Uniswap | 8.0.13-beta0 (including) | 8.0.13-beta0 (including) |
Web3-react_walletconnect | Uniswap | 8.0.14-beta0 (including) | 8.0.14-beta0 (including) |
Web3-react_walletconnect | Uniswap | 8.0.15-beta0 (including) | 8.0.15-beta0 (including) |
Web3-react_walletconnect | Uniswap | 8.0.16-beta0 (including) | 8.0.16-beta0 (including) |
Web3-react_walletconnect | Uniswap | 8.0.17-beta0 (including) | 8.0.17-beta0 (including) |
Web3-react_walletconnect | Uniswap | 8.0.18-beta0 (including) | 8.0.18-beta0 (including) |
Web3-react_walletconnect | Uniswap | 8.0.19-beta0 (including) | 8.0.19-beta0 (including) |
Web3-react_walletconnect | Uniswap | 8.0.20-beta0 (including) | 8.0.20-beta0 (including) |
Web3-react_walletconnect | Uniswap | 8.0.21-beta0 (including) | 8.0.21-beta0 (including) |
Web3-react_walletconnect | Uniswap | 8.0.22-beta0 (including) | 8.0.22-beta0 (including) |
Web3-react_walletconnect | Uniswap | 8.0.23-beta0 (including) | 8.0.23-beta0 (including) |
Web3-react_walletconnect | Uniswap | 8.0.24-beta0 (including) | 8.0.24-beta0 (including) |
Web3-react_walletconnect | Uniswap | 8.0.25-beta0 (including) | 8.0.25-beta0 (including) |
Web3-react_walletconnect | Uniswap | 8.0.26-beta0 (including) | 8.0.26-beta0 (including) |
Web3-react_walletconnect | Uniswap | 8.0.27-beta0 (including) | 8.0.27-beta0 (including) |
Web3-react_walletconnect | Uniswap | 8.0.28-beta0 (including) | 8.0.28-beta0 (including) |
Web3-react_walletconnect | Uniswap | 8.0.29-beta0 (including) | 8.0.29-beta0 (including) |
Web3-react_walletconnect | Uniswap | 8.0.30-beta0 (including) | 8.0.30-beta0 (including) |
Web3-react_walletconnect | Uniswap | 8.0.31-beta0 (including) | 8.0.31-beta0 (including) |
Web3-react_walletconnect | Uniswap | 8.0.32-beta0 (including) | 8.0.32-beta0 (including) |
Web3-react_walletconnect | Uniswap | 8.0.33-beta0 (including) | 8.0.33-beta0 (including) |
Web3-react_walletconnect | Uniswap | 8.0.34-beta0 (including) | 8.0.34-beta0 (including) |
Web3-react_walletconnect | Uniswap | 8.0.35-beta0 (including) | 8.0.35-beta0 (including) |
Web3-react_walletconnect | Uniswap | 8.0.36-beta0 (including) | 8.0.36-beta0 (including) |
This can have security implications when the expected synchronization is in security-critical code, such as recording whether a user is authenticated or modifying important state information that should not be influenced by an outsider. A race condition occurs within concurrent environments, and is effectively a property of a code sequence. Depending on the context, a code sequence may be in the form of a function call, a small number of instructions, a series of program invocations, etc. A race condition violates these properties, which are closely related:
A race condition exists when an “interfering code sequence” can still access the shared resource, violating exclusivity. Programmers may assume that certain code sequences execute too quickly to be affected by an interfering code sequence; when they are not, this violates atomicity. For example, the single “x++” statement may appear atomic at the code layer, but it is actually non-atomic at the instruction layer, since it involves a read (the original value of x), followed by a computation (x+1), followed by a write (save the result to x). The interfering code sequence could be “trusted” or “untrusted.” A trusted interfering code sequence occurs within the product; it cannot be modified by the attacker, and it can only be invoked indirectly. An untrusted interfering code sequence can be authored directly by the attacker, and typically it is external to the vulnerable product.