No check for signature malleability #38
Labels
0 (Non-critical)
Code style, clarity, syntax, versioning, off-chain monitoring (events etc), exclude gas optimisation
bug
Warden finding
resolved
Finding has been patched by sponsor (sponsor pls link to PR containing fix)
sponsor acknowledged
Technically the issue is correct, but we're not going to resolve it for XYZ reasons
Handle
cmichel
Vulnerability details
The
SignatureValidator.recoverAddrImpl
function does not check for malleable signatures.Without this check, anyone can derive a second, different but valid signature (for the same message).
Impact
As nonces are used and the signature bytes are never used themselves, not checking for malleability does not lead to issues.
Recommended Mitigation Steps
You might or might not want to implement these additional checks, depending on gas costs.
The text was updated successfully, but these errors were encountered: