Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2023-30543

published medium CVSS 3.1 · 5.2

`chainId` may be outdated if user changes chains as part of connection in @web3-react

Published
17 Apr 2023, 21:02:20 UTC
Updated
05 Feb 2025, 20:44:45 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Uniswap — web3-react@web3-react/coinbase-wallet: >= 6, < 8.0.35-beta.0 · @web3-react/eip1193: >= 6, < 8.0.27-beta.0 · @web3-react/metamask: >= 6, < 8.0.30-beta.0 · @web3-react/walletconnect: >= 6, < 8.0.37-beta.0 Affected Not stated GitHub_M

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.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
5.2 / 10
Severity
medium
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:H/A:L

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Uniswap web3-react @web3-react/coinbase-wallet: >= 6, < 8.0.35-beta.0 (affected)@web3-react/eip1193: >= 6, < 8.0.27-beta.0 (affected)@web3-react/metamask: >= 6, < 8.0.30-beta.0 (affected)@web3-react/walletconnect: >= 6, < 8.0.37-beta.0 (affected) GitHub_M · cna

Weaknesses

1
  • CWE-362 CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') (GitHub_M · cna)

References

2

Provider assertions

3

GitHub_M · cna

`chainId` may be outdated if user changes chains as part of connection in @web3-react

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
83a1efeccb3e2fdd9aa20f1c9818661d8fe01c0631398c6931b2341e345cce74
Ingested
23 Sep 2026, 08:08:27 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected