Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
Uniswap web3-react
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

web3-react是用于构建现代以太坊 dApp 的简单、最大可扩展、依赖最小化的框架。 web3-react存在竞争条件问题漏洞,该漏洞源于如果用户在连接流程中更改链,则从chainId派生的任何数据都可能不正确。

CVSS 5.2 · Medium EPSS 0.38% · P30

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2023-30543

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
`chainId` may be outdated if user changes chains as part of connection in @web3-react
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:H/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
使用共享资源的并发执行不恰当同步问题(竞争条件)
Source: CVE Program / CVE List V5
Vulnerability Title
web3-react 竞争条件问题漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
web3-react是用于构建现代以太坊 dApp 的简单、最大可扩展、依赖最小化的框架。 web3-react存在竞争条件问题漏洞,该漏洞源于如果用户在连接流程中更改链,则从chainId派生的任何数据都可能不正确。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Uniswap web3-react @web3-react/coinbase-wallet: >= 6, < 8.0.35-beta.0 -

II. Public POCs for CVE-2023-30543

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2023-30543

请登录查看更多情报信息。

Patches & Fixes for CVE-2023-30543 (1)

Vendor Advisories for CVE-2023-30543 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2023-30543

No comments yet


Leave a comment