@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.
References
Link | Resource |
---|---|
https://github.com/Uniswap/web3-react/pull/749 | Issue Tracking Patch |
https://github.com/Uniswap/web3-react/security/advisories/GHSA-8pf3-6fgr-3g3g | Vendor Advisory |
https://github.com/Uniswap/web3-react/pull/749 | Issue Tracking Patch |
https://github.com/Uniswap/web3-react/security/advisories/GHSA-8pf3-6fgr-3g3g | Vendor Advisory |
Configurations
Configuration 1 (hide)
|
History
21 Nov 2024, 08:00
Type | Values Removed | Values Added |
---|---|---|
CVSS |
v2 : v3 : |
v2 : unknown
v3 : 5.2 |
References | () https://github.com/Uniswap/web3-react/pull/749 - Issue Tracking, Patch | |
References | () https://github.com/Uniswap/web3-react/security/advisories/GHSA-8pf3-6fgr-3g3g - Vendor Advisory |
Information
Published : 2023-04-17 22:15
Updated : 2024-11-21 08:00
NVD link : CVE-2023-30543
Mitre link : CVE-2023-30543
CVE.ORG link : CVE-2023-30543
JSON object : View
Products Affected
uniswap
- web3-react_eip1193
- web3-react_metamask
- web3-react_coinbase-wallet
- web3-react_walletconnect
CWE
CWE-362
Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')