Project

One World
NFTDeFi
15,000 USDC
View results
Submission Details
Severity: low
Invalid

Using `ecrecover` directly vulnerable to signature malleability

Summary

NativeMetaTransaction::verify call ecrecover directly but due to the symmetrical nature of the elliptic curve for every [v,r,s] there exists another [v,r,s] that returns the same valid result.

Impact

Usage of ecrecover directly is vulnerable to signature malleability.

Tools Used

Manual Review

Recommendations

Use OpenZeppelin's ECDSA library with a version of OpenZeppelin >= 4.7.3.

Updates

Lead Judging Commences

0xbrivan2 Lead Judge 12 months ago
Submission Judgement Published
Invalidated
Reason: Incorrect statement

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.