Lucene search
+L

196 matches found

Code423n4
Code423n4
•added 2023/04/19 12:0 a.m.•11 views

Lack of zero address check throughout the codebase could lead to unwanted redeployments, address(0) ownership and onTokenTransfer unsuccessful.

Lines of code Vulnerability details Impact User defined address should always have zero address check. This checks SHOULD NOT BE MISSED IN CASE OF A FACTORY CONTRACT. This will lead to redeployments of contract and blockage of certain functionality as described below. It is also worth to note tha...

6.8AI score
SaveExploits0
vulnersOsv
vulnersOsv
•added 2023/04/18 10:29 p.m.•4 views

@aprilsacil/wallet (>=0.1.36 <=0.1.51), @chainfuse/react (>=0.0.46 <=0.1.0-dev.96) +40 more potentially affected by CVE-2023-30543 via @web3-react/walletconnect (>=8.0.23-beta.0 <=8.0.36-beta.0)

@web3-react/walletconnect NPM version =8.0.23-beta.0, =0.1.36, =0.0.46, =0.0.70, =1.0.0, =0.0.1, =1.0.0, =0.0.1, =1.1.0, =0.0.3, =1.0.0, =0.0.6-alpha.0, =0.0.12 - @huma-finance/widgets =0.0.6-alpha.0 - @huma-shan/shared =0.0.1 and more Source cves: CVE-2023-30543 Source advisory:...

5.7CVSS6.2AI score0.00378EPSS
SaveExploits0
vulnersOsv
vulnersOsv
•added 2023/04/18 10:29 p.m.•5 views

@aprilsacil/wallet (>=0.1.36 <=0.1.51), @bosonprotocol/react-kit (>=0.1.0-alpha.0 <=0.1.0-alpha.2) +43 more potentially affected by CVE-2023-30543 via @web3-react/metamask (>=8.0.14-beta.0 <=8.0.28-beta.0)

@web3-react/metamask NPM version =8.0.14-beta.0, =0.1.36, =0.1.0-alpha.0, =0.0.46, =0.0.70, =1.0.0, =1.0.0, =0.0.1, =1.1.0, =0.0.3, =1.0.0, =1.0.0, =0.0.6-alpha.0, =0.0.12 - @huma-finance/widgets =0.0.6-alpha.0 and more Source cves: CVE-2023-30543 Source advisory: OSV:GHSA-8PF3-6FGR-3G3G...

5.7CVSS6.2AI score0.00378EPSS
SaveExploits0
OSV
OSV
•added 2023/04/18 10:29 p.m.•49 views

GHSA-8PF3-6FGR-3G3G `chainId` may be outdated if user changes chains as part of connection in @web3-react

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

5.2CVSS5.2AI score0.00378EPSS
SaveExploits0References4
Code423n4
Code423n4
•added 2023/03/30 12:0 a.m.•16 views

poolPrice in Reth.sol can overflow and revert

Lines of code Vulnerability details Impact To determine the value of sqrtPriceX96 that will cause an overflow, we need to analyze the calculation in the function: sqrtPriceX96 uintsqrtPriceX96 1e18 96 2 The maximum value for a uint256 is 2^256 - 1. An overflow occurs when the result of the...

7AI score
SaveExploits0
Code423n4
Code423n4
•added 2023/03/30 12:0 a.m.•14 views

Reth slippage and fee stealing

Lines of code Vulnerability details Impact The Reth derivative contract calculates the maximum slippage for buying rETH from the Uniswap V3 pool by using the current price in the pool at runtime, without considering the price at which the user submitted the transaction to the mempool: uint...

6.7AI score
SaveExploits0
Code423n4
Code423n4
•added 2023/03/30 12:0 a.m.•11 views

Reth flashloan attack

Lines of code Vulnerability details Impact Using a flashloan to manipulate rETH/ETH price a hacker can receive more SafEth shares for the same amount of ether, thus draining all three derivative contracts rETH, SfrxEth and WstEth. Proof of Concept Reth.poolPrice depends on UniswapV3 pool.slot0...

6.6AI score
SaveExploits0
Code423n4
Code423n4
•added 2023/03/30 12:0 a.m.•15 views

Zero value used for sqrtPriceLimitX96

Lines of code Vulnerability details Impact In swapExactInputSingleHop in Reth.sol the sqrtPriceLimitX96 parameter is set to 0 which is useful for testing but can lead to price manipulation attacks. From the uniswap docs: In production, this value can be used to set the limit for the price the swa...

6.9AI score
SaveExploits0
Code423n4
Code423n4
•added 2023/03/30 12:0 a.m.•11 views

REth token price can be manipulated

Lines of code Vulnerability details Impact Currently, all deposit operations split the received ETH between derivatives. One of them is rETH, trading on Pool 0xa4e0faA58465A2D369aa21B3e42d43374c6F9613 with around 1500 ETH in liquidity for each side. The price calculation for splitting deposits in...

6.8AI score
SaveExploits0
Code423n4
Code423n4
•added 2023/03/30 12:0 a.m.•22 views

Burning rETH at the unstake might revert

Lines of code Vulnerability details Impact Unstaking is blocked. Proof of Concept When unstaking the withdraw of each derivative is called. Reth.withdraw withdraws by calling RocketTokenRETHInterfacerethAddress.burnamount. But RocketTokenRETH.burn reverts if the ETH balance is insufficient for th...

6.8AI score
SaveExploits0
Code423n4
Code423n4
•added 2023/03/30 12:0 a.m.•11 views

Reth griefing

Lines of code Vulnerability details Impact The maximum slippage when buying rETH from the Uniswap V3 pool is calculated in Reth derivative contract by taking the current price in the Uniswap V3 pool at runtime, without taking into account the price at which the user sent the transaction to the...

7AI score
SaveExploits0
Code423n4
Code423n4
•added 2023/02/20 12:0 a.m.•28 views

Function stabilize() might always revert because of overflow since Malt contract use solidity 0.8

Lines of code Vulnerability details Impact MaltDataLab fetched priceCumulative directly from Uniswap V2 pool to calculate price of Malt token. However, it is noticed that Uniswap V2 pool use Solidity 0.5.16, which does not revert when overflow happen. In addition, it is actually commented in...

7.2AI score
SaveExploits0
Code423n4
Code423n4
•added 2023/02/07 12:0 a.m.•18 views

FIRST ERC4626 DEPOSIT CAN BE EXPLOITED ON SHARE CALCULATION

Lines of code Vulnerability details Impact As also encountered by Uniswap V2 and other protocols, the first depositor of an ERC4626 vault can maliciously manipulate the share price by depositing as low as 1 wei of liquidity prior to deliberately inflating ERC4626.totalAssets to as high as 1:1e18...

6.8AI score
SaveExploits0
Code423n4
Code423n4
•added 2023/02/07 12:0 a.m.•9 views

First depositor can break minting of shares

Lines of code Vulnerability details Vulnerability details The calculation of exchange rate for shares in Popcorn Vault is done by dividing the total supply of shares by the totalAssets of the vault. The first depositor can mint a very small number of shares, then donate to the vault to manipulate...

6.7AI score
SaveExploits0
Code423n4
Code423n4
•added 2023/02/01 12:0 a.m.•20 views

Lack of slippage protection when swapping on Uniswap v2/v3

Lines of code Vulnerability details Impact Lack of slippage protection when swapping on Uniswap v2/v3. It'll create the potential to be sandwiched by MEV bots and result in user loss. Proof of Concept In the LendgineRouter.mint function, the contract would swap all the token0 to token1 in...

7.1AI score
SaveExploits0
Veracode
Veracode
•added 2023/01/16 10:36 a.m.•19 views

Improper Authorization

@uniswap/universal-router is vulnerable to Improper Authorization. The vulnerability exists due to the mishandling of reentrancy, which allows an attacker to steal funds...

7.5CVSS7.2AI score0.0076EPSS
SaveExploits1References6Affected Software1
vulnersOsv
vulnersOsv
•added 2023/01/04 6:31 p.m.•5 views

@uniswap/universal-router-sdk (>=1.1.0 <=1.1.1) potentially affected by CVE-2022-48216 via @uniswap/universal-router (=1.0.1)

@uniswap/universal-router NPM version =1.0.1 is affected by a known vulnerability. The following packages have a transitive dependency on @uniswap/universal-router and may be impacted: - @uniswap/universal-router-sdk =1.1.0, =1.1.1 Source cves: CVE-2022-48216 Source advisory: OSV:GHSA-7M37-CX35-Q...

7.5CVSS7.1AI score0.0076EPSS
SaveExploits1
Github Security Blog
Github Security Blog
•added 2023/01/04 6:31 p.m.•35 views

Uniswap Universal Router Incorrect Authorization vulnerability

Uniswap Universal Router before 1.1.0 mishandles reentrancy. This would have allowed theft of funds...

7.5CVSS7.3AI score0.0076EPSS
SaveExploits1References7Affected Software1
OSV
OSV
•added 2023/01/04 6:31 p.m.•49 views

GHSA-7M37-CX35-QGMR Uniswap Universal Router Incorrect Authorization vulnerability

Uniswap Universal Router before 1.1.0 mishandles reentrancy. This would have allowed theft of funds...

7.5CVSS7.4AI score0.0076EPSS
SaveExploits1References7
NVD
NVD
•added 2023/01/04 4:15 p.m.•19 views

CVE-2022-48216

Uniswap Universal Router before 1.1.0 mishandles reentrancy. This would have allowed theft of funds...

7.5CVSS7.5AI score0.0076EPSS
SaveExploits1References5
Rows per page
Query Builder