CVE-2023-30543 `chainId` may be outdated if user changes chains as part of connection in @web3-react
설명
@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.
영향 받는 제품 제품 1개
-
Uniswap
web3-react
영향 받는 버전
- 버전 정보 확인 필요
해결 버전
해결된 버전 정보가 없습니다.
패키지 기준 해결 버전 패키지 4개
-
해결 버전 있음
npm · @web3-react/coinbase-wallet
영향 받는 버전 · 해결 버전
- 영향 6.0.0 이상 8.0.35-beta.0 미만 · 해결 8.0.35-beta.0 이상
-
해결 버전 있음
npm · @web3-react/eip1193
영향 받는 버전 · 해결 버전
- 영향 6.0.0 이상 8.0.27-beta 미만 · 해결 8.0.27-beta 이상
-
해결 버전 있음
npm · @web3-react/metamask
영향 받는 버전 · 해결 버전
- 영향 6.0.0 이상 8.0.30-beta.0 미만 · 해결 8.0.30-beta.0 이상
-
해결 버전 있음
npm · @web3-react/walletconnect
영향 받는 버전 · 해결 버전
- 영향 6.0.0 이상 8.0.37-beta.0 미만 · 해결 8.0.37-beta.0 이상
출처: GitHub Advisory Database · CC-BY 4.0