Vulnerability in Uniswap Web3-React

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

Vulnerability class: Race Condition

Published · last modified .

CVSS v3 metric

CVSS v3 base score 5.2 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:H/A:L.

EPSS exploit prediction

EPSS: 0.004 (29.4th percentile), scored .

Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 29th percentile — 29.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2023-30543: held from 0.004 to 0.004.

EPSS over last 30 days · oldest: 0.004 · newest: 0.004 · change: 0.000

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2023-30543?
CVE-2023-30543 is a medium-severity vulnerability in Uniswap Web3-React, classified under Concurrent Execution using Shared Resource with Improper Synchronization (Race Condition). CVSS score: 5.2/10. Published 2023-04-17.
How severe is CVE-2023-30543?
Medium severity. CVSS v3 base score is 5.2 out of 10.