← back
CVE-2023-30543

`chainId` may be outdated if user changes chains as part of connection in @web3-react

CVSS 5.2 MEDIUMEPSS 0.4%CWE-362
Vexday Risk Score
13Low
SSVC decision (CISA)
Track
No exploitation signal → monitor
CVSS 5.2EPSS 0.4%KEV nãoPoC Nuclei Metasploit Patch
Lifecycle
17 Apr 2023Published on NVD
Recommendation: Monitor — no exploitation signal at the moment.
@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.
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:H/A:L
Affected products
Uniswap · web3-react

Want to know if your infrastructure is exposed to this?

Talk to TrueHacking →