TROYANOSYVIRUS
Back to CVEs

CVE-2023-30543

MEDIUM
5.2

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.

CVE Details

CVSS v3.1 Score5.2
SeverityMEDIUM
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:H/A:L
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredHIGH
User InteractionREQUIRED
Published4/17/2023
Last Modified11/21/2024
Sourcenvd
Honeypot Sightings0

Affected Products

uniswap:web3-react_coinbase-walletuniswap:web3-react_eip1193uniswap:web3-react_metamaskuniswap:web3-react_walletconnect

Weaknesses (CWE)

CWE-362

IOC Correlations

No correlations recorded

This product uses data from the NVD API but is not endorsed or certified by the NVD.