cve.bz

CVE-2023-30543 uniswap: Race Condition

5.7 mediumEPSS 0.4%Fix available

Medium (5.7) in uniswap. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in @web3-react/coinbase-wallet 8.0.35-beta.0.

On this page
@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.

Severity

CVSS 3.1

5.7 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 32nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-02-05. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization (Race Condition)
OWASP Top 10
A06:2025 Insecure Design
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-30543 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-30543?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-30543?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-30543 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
uniswap:web3-react_coinbase-walletfrom 6.0.0 through 6.2.14
uniswap:web3-react_coinbase-wallet7.0.0:alpha0
uniswap:web3-react_coinbase-wallet7.0.1:alpha0
uniswap:web3-react_coinbase-wallet7.0.2:alpha0
uniswap:web3-react_coinbase-wallet8.0.22:beta0
uniswap:web3-react_coinbase-wallet8.0.23:beta0
uniswap:web3-react_coinbase-wallet8.0.24:beta0
uniswap:web3-react_coinbase-wallet8.0.25:beta0
uniswap:web3-react_coinbase-wallet8.0.26:beta0
uniswap:web3-react_coinbase-wallet8.0.27:beta0
uniswap:web3-react_coinbase-wallet8.0.28:beta0
uniswap:web3-react_coinbase-wallet8.0.29:beta0
uniswap:web3-react_coinbase-wallet8.0.30:beta0
uniswap:web3-react_coinbase-wallet8.0.31:beta0
uniswap:web3-react_coinbase-wallet8.0.32:beta0
uniswap:web3-react_coinbase-wallet8.0.33:beta0
uniswap:web3-react_coinbase-wallet8.0.34:beta0
uniswap:web3-react_eip1193from 6.0.0 through 6.2.14
uniswap:web3-react_eip11937.0.0:alpha0
uniswap:web3-react_eip11937.0.1:alpha0
uniswap:web3-react_eip11937.0.2:alpha0
uniswap:web3-react_eip11938.0.0:beta0
uniswap:web3-react_eip11938.0.1:beta0
uniswap:web3-react_eip11938.0.2:beta0
uniswap:web3-react_eip11938.0.3:beta0
uniswap:web3-react_eip11938.0.4:beta0
uniswap:web3-react_eip11938.0.5:beta0
uniswap:web3-react_eip11938.0.6:beta0
uniswap:web3-react_eip11938.0.7:beta0
uniswap:web3-react_eip11938.0.8:beta0
uniswap:web3-react_eip11938.0.9:beta0
uniswap:web3-react_eip11938.0.10:beta0
uniswap:web3-react_eip11938.0.11:beta0
uniswap:web3-react_eip11938.0.12:beta0
uniswap:web3-react_eip11938.0.13:beta0
uniswap:web3-react_eip11938.0.14:beta0
uniswap:web3-react_eip11938.0.15:beta0
uniswap:web3-react_eip11938.0.16:beta0
uniswap:web3-react_eip11938.0.17:beta0
uniswap:web3-react_eip11938.0.18:beta0
uniswap:web3-react_eip11938.0.19:beta0
uniswap:web3-react_eip11938.0.20:beta0
uniswap:web3-react_eip11938.0.21:beta0
uniswap:web3-react_eip11938.0.22:beta0
uniswap:web3-react_eip11938.0.23:beta0
uniswap:web3-react_eip11938.0.24:beta0
uniswap:web3-react_eip11938.0.25:beta0
uniswap:web3-react_eip11938.0.26:beta0
uniswap:web3-react_metamaskfrom 6.0.0 through 6.2.14
uniswap:web3-react_metamask8.0.0:beta0
uniswap:web3-react_metamask8.0.1:beta0
uniswap:web3-react_metamask8.0.2:beta0
uniswap:web3-react_metamask8.0.3:beta0
uniswap:web3-react_metamask8.0.4:beta0
uniswap:web3-react_metamask8.0.5:beta0
uniswap:web3-react_metamask8.0.6:beta0
uniswap:web3-react_metamask8.0.7:beta0
uniswap:web3-react_metamask8.0.8:beta0
uniswap:web3-react_metamask8.0.9:beta0
uniswap:web3-react_metamask8.0.10:beta0
uniswap:web3-react_metamask8.0.11:beta0
uniswap:web3-react_metamask8.0.12:beta0
uniswap:web3-react_metamask8.0.13:beta0
uniswap:web3-react_metamask8.0.14:beta0
uniswap:web3-react_metamask8.0.15:beta0
uniswap:web3-react_metamask8.0.16:beta0
uniswap:web3-react_metamask8.0.17:beta0
uniswap:web3-react_metamask8.0.18:beta0
uniswap:web3-react_metamask8.0.19:beta0
uniswap:web3-react_metamask8.0.20:beta0
uniswap:web3-react_metamask8.0.21:beta0
uniswap:web3-react_metamask8.0.22:beta0
uniswap:web3-react_metamask8.0.23:beta0
uniswap:web3-react_metamask8.0.24:beta0
uniswap:web3-react_metamask8.0.25:beta0
uniswap:web3-react_metamask8.0.26:beta0
uniswap:web3-react_metamask8.0.27:beta0
uniswap:web3-react_metamask8.0.28:beta0
uniswap:web3-react_metamask8.0.29:beta0
uniswap:web3-react_walletconnectfrom 6.0.0 through 6.2.14
uniswap:web3-react_walletconnect7.0.0:alpha0
uniswap:web3-react_walletconnect7.0.1:alpha0
uniswap:web3-react_walletconnect7.0.2:alpha0
uniswap:web3-react_walletconnect8.0.0:beta0
uniswap:web3-react_walletconnect8.0.1:beta0
uniswap:web3-react_walletconnect8.0.2:beta0
uniswap:web3-react_walletconnect8.0.3:beta0
uniswap:web3-react_walletconnect8.0.4:beta0
uniswap:web3-react_walletconnect8.0.5:beta0
uniswap:web3-react_walletconnect8.0.6:beta0
uniswap:web3-react_walletconnect8.0.7:beta0
uniswap:web3-react_walletconnect8.0.8:beta0
uniswap:web3-react_walletconnect8.0.9:beta0
uniswap:web3-react_walletconnect8.0.10:beta0
uniswap:web3-react_walletconnect8.0.11:beta0
uniswap:web3-react_walletconnect8.0.12:beta0
uniswap:web3-react_walletconnect8.0.13:beta0
uniswap:web3-react_walletconnect8.0.14:beta0
uniswap:web3-react_walletconnect8.0.15:beta0
uniswap:web3-react_walletconnect8.0.16:beta0
uniswap:web3-react_walletconnect8.0.17:beta0
uniswap:web3-react_walletconnect8.0.18:beta0
uniswap:web3-react_walletconnect8.0.19:beta0
uniswap:web3-react_walletconnect8.0.20:beta0
uniswap:web3-react_walletconnect8.0.21:beta0
uniswap:web3-react_walletconnect8.0.22:beta0
uniswap:web3-react_walletconnect8.0.23:beta0
uniswap:web3-react_walletconnect8.0.24:beta0
uniswap:web3-react_walletconnect8.0.25:beta0
uniswap:web3-react_walletconnect8.0.26:beta0
uniswap:web3-react_walletconnect8.0.27:beta0
uniswap:web3-react_walletconnect8.0.28:beta0
uniswap:web3-react_walletconnect8.0.29:beta0
uniswap:web3-react_walletconnect8.0.30:beta0
uniswap:web3-react_walletconnect8.0.31:beta0
uniswap:web3-react_walletconnect8.0.32:beta0
uniswap:web3-react_walletconnect8.0.33:beta0
uniswap:web3-react_walletconnect8.0.34:beta0
uniswap:web3-react_walletconnect8.0.35:beta0
uniswap:web3-react_walletconnect8.0.36:beta0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-8pf3-6fgr-3g3gnpm@web3-react/coinbase-wallet>=6.0.0 <8.0.35-beta.08.0.35-beta.0
GHSA-8pf3-6fgr-3g3gnpm@web3-react/eip1193>=6.0.0 <8.0.27-beta8.0.27-beta
GHSA-8pf3-6fgr-3g3gnpm@web3-react/metamask>=6.0.0 <8.0.30-beta.08.0.30-beta.0
GHSA-8pf3-6fgr-3g3gnpm@web3-react/walletconnect>=6.0.0 <8.0.37-beta.08.0.37-beta.0

Attack patterns (CAPEC)

  • CAPEC-26 Leveraging Race Conditions Likelihood: High · Severity: High
  • CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON