github.com/filecoin-project/lotus
Affected
- introduced
0, fixed1.5.0(semver)
Fixed versions
1.5.0
Fix
- Fixed version
1.5.0go get github.com/filecoin-project/[email protected]
Advisory
Also known as: CVE-2021-21405, GO-2022-0905
BLS Signature "Malleability"
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 in filecoin-ffi, the code paths now ensure that all signatures are compressed by size and the way they are deserialized.
This happened in https://github.com/filecoin-project/lotus/pull/5393
References
Medium Basis: The source's own band: MODERATE
0, fixed 1.5.0 (semver)1.5.0
1.5.0go get github.com/filecoin-project/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0