BLS Signature "Malleability"
Moderate severity
GitHub Reviewed
Published
Apr 15, 2021
in
filecoin-project/lotus
•
Updated Feb 1, 2023
Description
Published by the National Vulnerability Database
Apr 15, 2021
Reviewed
May 20, 2021
Published to the GitHub Advisory Database
May 21, 2021
Last updated
Feb 1, 2023
Impact
The result of these issues is that it would be possible to punish miners for valid blocks, as there are two different valid block CIDs available for each block, even though this must be unique.
Patches
By switching from the go based
blst
bindings over to the bindings infilecoin-ffi
, the code paths now ensure that all signatures are compressed by size and the way they are deserialized.This happened in filecoin-project/lotus#5393
References
References