CVE-2023-30543: @web3-react is a framework for building Ethereum Apps
26
Routine
MEDIUM 5.2UPGRADEUPGRADEUPGRADE
CVE-2023-30543 is a medium-severity flaw (CVSS 5.2) affecting web3-react coinbase-wallet, web3-react eip1193, web3-react metamask. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
@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
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official sourceNVD · CVE Program · Report a problem with this page Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2023-30543?
web3-react coinbase-wallet: upgrade to newer than 6.2.14; web3-react eip1193: upgrade to newer than 6.2.14; web3-react metamask: upgrade to newer than 6.2.14. Exact commands for each OS are on this page.
Is CVE-2023-30543 being exploited?
CVE-2023-30543 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2023-30543 affect?
CVE-2023-30543 affects web3-react coinbase-wallet, web3-react eip1193, web3-react metamask. Severity is medium (CVSS 5.2). @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