code-423n4 / 2023-05-maia-findings

20 stars 12 forks source link

RootPort.addBridgeAgentFactory() is taking bridgeAgentLenght into account rather than bridgeAgentFactoriesLength #847

Closed code423n4 closed 1 year ago

code423n4 commented 1 year ago

Lines of code

https://github.com/code-423n4/2023-05-maia/blob/cfed0dfa3bebdac0993b1b42239b4944eb0b196c/src/ulysses-omnichain/RootPort.sol#L405-L411

Vulnerability details

Impact

Proof of Concept

https://github.com/code-423n4/2023-05-maia/blob/cfed0dfa3bebdac0993b1b42239b4944eb0b196c/src/ulysses-omnichain/RootPort.sol#L405-L411

Tools Used

Manual Review

Recommended Mitigation Steps

Assessed type

Error

c4-judge commented 1 year ago

trust1995 marked the issue as duplicate of #372

c4-judge commented 1 year ago

trust1995 marked the issue as satisfactory

c4-judge commented 1 year ago

trust1995 changed the severity to 2 (Med Risk)

c4-judge commented 1 year ago

trust1995 marked the issue as partial-50