| Package | Affected versions | Patched versions |
|---|---|---|
| web3-react coinbase-wallet | = 7.0.0= 7.0.1= 7.0.2= 8.0.22= 8.0.23= 8.0.24= 8.0.25= 8.0.26= 8.0.27= 8.0.28= 8.0.29= 8.0.30= 8.0.31= 8.0.32= 8.0.33= 8.0.34≥ 6.0.0, ≤ 6.2.14 | |
| web3-react eip1193 | = 7.0.0= 7.0.1= 7.0.2= 8.0.0= 8.0.1= 8.0.10= 8.0.11= 8.0.12= 8.0.13= 8.0.14= 8.0.15= 8.0.16= 8.0.17= 8.0.18= 8.0.19= 8.0.2= 8.0.20= 8.0.21= 8.0.22= 8.0.23= 8.0.24= 8.0.25= 8.0.26= 8.0.3= 8.0.4= 8.0.5= 8.0.6= 8.0.7= 8.0.8= 8.0.9≥ 6.0.0, ≤ 6.2.14 | |
| web3-react metamask | = 8.0.0= 8.0.1= 8.0.10= 8.0.11= 8.0.12= 8.0.13= 8.0.14= 8.0.15= 8.0.16= 8.0.17 |
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 is a common approach when using other foundational libraries like ethers, and most users of v8 will want to upgrade past the affected versions.
Patched in https://github.com/Uniswap/web3-react/pull/749. Users of [email protected] should upgrade to at least:
N/A
N/A
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free= 8.0.18= 8.0.19= 8.0.2= 8.0.20= 8.0.21= 8.0.22= 8.0.23= 8.0.24= 8.0.25= 8.0.26= 8.0.27= 8.0.28= 8.0.29= 8.0.3= 8.0.4= 8.0.5= 8.0.6= 8.0.7= 8.0.8= 8.0.9≥ 6.0.0, ≤ 6.2.14| web3-react walletconnect | = 7.0.0= 7.0.1= 7.0.2= 8.0.0= 8.0.1= 8.0.10= 8.0.11= 8.0.12= 8.0.13= 8.0.14= 8.0.15= 8.0.16= 8.0.17= 8.0.18= 8.0.19= 8.0.2= 8.0.20= 8.0.21= 8.0.22= 8.0.23= 8.0.24= 8.0.25= 8.0.26= 8.0.27= 8.0.28= 8.0.29= 8.0.3= 8.0.30= 8.0.31= 8.0.32= 8.0.33= 8.0.34= 8.0.35= 8.0.36= 8.0.4= 8.0.5= 8.0.6= 8.0.7= 8.0.8= 8.0.9≥ 6.0.0, ≤ 6.2.14 |
| @web3-react/coinbase-wallet | ≥ 6.0.0, < 8.0.35-beta.0 | 8.0.35-beta.0 |
| @web3-react/eip1193 | ≥ 6.0.0, < 8.0.27-beta | 8.0.27-beta |
| @web3-react/metamask | ≥ 6.0.0, < 8.0.30-beta.0 | 8.0.30-beta.0 |
| @web3-react/walletconnect | ≥ 6.0.0, < 8.0.37-beta.0 | 8.0.37-beta.0 |