MEDIUM · 5.2

CVE-2023-30543

@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 `chai...

Vulnerability Description

@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 Score

5.2

MEDIUM

CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:H/A:L
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
HIGH
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
LOW

Affected Products

VendorProductVersions
UniswapWeb3-React Coinbase-Wallet>= 6.0.0, <= 6.2.14
UniswapWeb3-React Eip1193>= 6.0.0, <= 6.2.14
UniswapWeb3-React Metamask>= 6.0.0, <= 6.2.14
UniswapWeb3-React Walletconnect>= 6.0.0, <= 6.2.14

Related Weaknesses (CWE)

References

FAQ

What is CVE-2023-30543?

CVE-2023-30543 is a vulnerability with a CVSS score of 5.2 (MEDIUM). @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 `chai...

How severe is CVE-2023-30543?

CVE-2023-30543 has been rated MEDIUM with a CVSS base score of 5.2/10. Review the CVSS metrics above for detailed severity breakdown.

Is there a patch for CVE-2023-30543?

Check the references section above for vendor advisories and patch information. Affected products include: Uniswap Web3-React Coinbase-Wallet, Uniswap Web3-React Eip1193, Uniswap Web3-React Metamask, Uniswap Web3-React Walletconnect.