CVE-2021-21405 Details
Description
Lotus is an Implementation of the Filecoin protocol written in Go. BLS signature validation in lotus uses blst library method VerifyCompressed. This method accepts signatures in 2 forms: "serialized", and "compressed", meaning that BLS signatures can be provided as either of 2 unique byte arrays. Lotus block validation functions perform a uniqueness check on provided blocks. Two blocks are considered distinct if the CIDs of their blockheader do not match. The CID method for blockheader includes the BlockSig of the block. 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. 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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://gist.github.com/wadeAlexC/2490d522e81a796af9efcad1686e6754 | CVE | ExploitThird Party Advisory |
| https://github.com/filecoin-project/lotus/pull/5393 | CVE | PatchThird Party Advisory |
| https://github.com/filecoin-project/lotus/security/advisories/GHSA-4g52-pqcj-phvh | CVE | PatchThird Party Advisory |
| https://gist.github.com/wadeAlexC/2490d522e81a796af9efcad1686e6754 | [email protected] | ExploitThird Party Advisory |
| https://github.com/filecoin-project/lotus/pull/5393 | [email protected] | PatchThird Party Advisory |
| https://github.com/filecoin-project/lotus/security/advisories/GHSA-4g52-pqcj-phvh | [email protected] | PatchThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-347 | Improper Verification of Cryptographic Signature | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| filecoin lotus | < 1.5.0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Apr 23, 2021 | Initial Analysis | [email protected] |