Lucene search
+L

144 matches found

Code423n4
Code423n4
•added 2023/02/01 12:0 a.m.•9 views

Economical games that can be played to gain MEV

Lines of code Vulnerability details Disclaimer: Developers did an extremely good job writing the protocol, however, these are some aspects that I think are missed in the design stage and can be considered. Look at it as a food for thought in future designs. Impact How the invariant works The...

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

Precision loss in the invariant function can lead to loss of funds

Lines of code Vulnerability details Impact An attacker can steal the funds without affecting the invariant. Proof of Concept We can say the function Pair.invariant is the heart of the protocol. All the malicious trades should be prevented by this function. Pair.sol 52: /// @inheritdoc IPair 53:...

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

ADDING UNBALANCED/MORE LIQUIDITY IS POSSIBLE TO MAKE INNOCENT USERS LOSS MONEY, AND BOTS CAN EARN FROM THE POOL

Lines of code Vulnerability details ADDING UNBALANCED/MORE LIQUIDITY IS POSSIBLE TO MAKE INNOCENT USERS LOSS MONEY, AND BOTS CAN EARN FROM THE POOL Impact In the linked file LendgineRouter.sol,the deposit function enable users to add liquidity at any proportion of token0 and token1. However, ther...

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

Mitigation of M-08: See comments

Lines of code Vulnerability details The PR applies the recommended mitigation from the finding, but the original finding's mitigation suggestion seems to indicated that the If two users place bids at the same price but with different quantities, the queue will pull from the bid with a higher...

6.7AI score
SaveExploits0
Code423n4
Code423n4
•added 2022/12/19 12:0 a.m.•14 views

xyk invariant does not hold after calls to buy() and sell()

Lines of code Vulnerability details Impact Functions buyQuote and sellQuote are defined like this in Pair.sol: /// @notice The amount of base tokens required to buy a given amount of fractional tokens. /// @dev Calculated using the xyk invariant and a 30bps fee. /// @param outputAmount The amount...

6.7AI score
SaveExploits0
Code423n4
Code423n4
•added 2022/10/23 12:0 a.m.•10 views

It's possible to steal a part of the funds in any pair contract and/or DOS a new pair

Lines of code Vulnerability details The function collectFeesaddress account, uint256 memory ids in LBPair.sol is supposed to calculate and transfer the fees owed to account. Since the protocol assumes that the pair contract itself cannot accumulate fees, this function is exploitable by passing th...

6.7AI score
SaveExploits0
Code423n4
Code423n4
•added 2022/09/08 12:0 a.m.•11 views

Stable/non-stable pair creation mistake could be abused

Lines of code Vulnerability details Impact Stable and non-stable pair use different formula to calculate the invariant k. If a non-stable pair is treated as stable, or vice versa. $x^3y+y^3x$ behave quite differently compare with $xy$, on the edge of relative stable price range, price volatility...

6.7AI score
SaveExploits0
Github Security Blog
Github Security Blog
•added 2022/06/17 12:16 a.m.•17 views

A malicious coder can get unsound access to TCell or TLCell memory

This is impossible to do by accident, but by carefully constructing marker types to be covariant, a malicious coder can cheat the singleton check in TCellOwner and TLCellOwner, giving unsound access to cell memory. This could take the form of getting two mutable references to the same memory, or ...

3.5AI score
SaveExploits0References3Affected Software1
OSV
OSV
•added 2022/06/17 12:16 a.m.•14 views

GHSA-9C9F-7X9P-4WQP A malicious coder can get unsound access to TCell or TLCell memory

This is impossible to do by accident, but by carefully constructing marker types to be covariant, a malicious coder can cheat the singleton check in TCellOwner and TLCellOwner, giving unsound access to cell memory. This could take the form of getting two mutable references to the same memory, or ...

7AI score
SaveExploits0References3
MongoDB
MongoDB
•added 2022/05/11 12:0 a.m.•62 views

MongoDB Server (mongod) may crash in response to unexpected requests

An authenticated user may trigger an invariant assertion during command dispatch due to incorrect validation on the $external database. This may result in mongod denial of service or server crash. This issue affects: MongoDB Inc. MongoDB Server v5.0 versions, prior to and including v5.0.6...

6.5CVSS4.2AI score0.00889EPSS
SaveExploits2References1Affected Software1
ATTACKERKB
ATTACKERKB
•added 2022/04/21 5:19 p.m.•53 views

CVE-2022-24272

An authenticated user may trigger an invariant assertion during command dispatch due to incorrect validation on the $external database. This may result in mongod denial of service or server crash. This issue affects: MongoDB Inc. MongoDB Server v5.0 versions, prior to and including v5.0.6...

6.5CVSS6.6AI score0.00889EPSS
SaveExploits2References2Affected Software1
UbuntuCve
UbuntuCve
•added 2022/04/21 11:15 a.m.•32 views

CVE-2022-24272

An authenticated user may trigger an invariant assertion during command dispatch due to incorrect validation on the $external database. This may result in mongod denial of service or server crash. This issue affects: MongoDB Inc. MongoDB Server v5.0 versions, prior to and including v5.0.6...

6.5CVSS6.6AI score0.00889EPSS
SaveExploits2References2
OSV
OSV
•added 2022/04/21 11:15 a.m.•15 views

UBUNTU-CVE-2022-24272

An authenticated user may trigger an invariant assertion during command dispatch due to incorrect validation on the $external database. This may result in mongod denial of service or server crash. This issue affects: MongoDB Inc. MongoDB Server v5.0 versions, prior to and including v5.0.6...

6.5CVSS5.8AI score0.00889EPSS
SaveExploits2References3
Prion
Prion
•added 2022/04/21 11:15 a.m.•27 views

Input validation

An authenticated user may trigger an invariant assertion during command dispatch due to incorrect validation on the $external database. This may result in mongod denial of service or server crash. This issue affects: MongoDB Inc. MongoDB Server v5.0 versions, prior to and including v5.0.6...

4CVSS6.4AI score0.00889EPSS
SaveExploits2References1Affected Software1
Cvelist
Cvelist
•added 2022/04/21 10:45 a.m.•30 views

CVE-2022-24272 MongoDB Server (mongod) may crash in response to unexpected requests

An authenticated user may trigger an invariant assertion during command dispatch due to incorrect validation on the $external database. This may result in mongod denial of service or server crash. This issue affects: MongoDB Inc. MongoDB Server v5.0 versions, prior to and including v5.0.6...

6.5CVSS6.7AI score0.00889EPSS
SaveExploits2References1
Debian CVE
Debian CVE
•added 2022/04/21 10:45 a.m.•77 views

CVE-2022-24272

Removed by vendor...

6.5CVSS6.5AI score0.00889EPSS
SaveExploits2
OSV
OSV
•added 2022/01/24 12:0 p.m.•17 views

RUSTSEC-2022-0007 A malicious coder can get unsound access to TCell or TLCell memory

This is impossible to do by accident, but by carefully constructing marker types to be covariant, a malicious coder can cheat the singleton check in TCellOwner and TLCellOwner, giving unsound access to cell memory. This could take the form of getting two mutable references to the same memory, or ...

7AI score
SaveExploits0References3
RustSec
RustSec
•added 2022/01/24 12:0 p.m.•16 views

A malicious coder can get unsound access to TCell or TLCell memory

This is impossible to do by accident, but by carefully constructing marker types to be covariant, a malicious coder can cheat the singleton check in TCellOwner and TLCellOwner, giving unsound access to cell memory. This could take the form of getting two mutable references to the same memory, or ...

3.5AI score
SaveExploits0Affected Software1
Code423n4
Code423n4
•added 2021/12/13 12:0 a.m.•7 views

Incorrect maintenance invariant check

Handle kenzo Vulnerability details In Collateral, maintenanceInvariant is used to check whether after withdrawal the user will have enough funds to cover the maintenance for his current position and for his next position. However, the modifier is wrongly checking this via a max function: if...

6.8AI score
SaveExploits0
Cvelist
Cvelist
•added 2021/11/24 10:40 a.m.•24 views

CVE-2021-32037 User may trigger invariant when allowed to send commands directly to shards

An authorized user may trigger an invariant which may result in denial of service or server exit if a relevant aggregation request is sent to a shard. Usually, the requests are sent via mongos and special privileges are required in order to know the address of the shards and to log in to the shar...

6.5CVSS6.6AI score0.01181EPSS
SaveExploits0References1
Rows per page
Query Builder