7.5

CVE-2021-21405: filecoin-project lotus

CVSS: 7.5v3.1HighModified
AliasesGHSA-4g52-pqcj-phvhGO-2022-0905
Published 15-04-2021Last modified 03-08-2024

Vulnerability summary

CVE-2021-21405 is a high (CVSS 7.5) vulnerability in filecoin-project lotus. EPSS estimates a 0.98% chance of exploitation in the next 30 days, higher than 61.5% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
40/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.5/10
010
High · v3.1 (NVD)
EPSS score
0.98%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github

Timeline

  1. 15-04-2021
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

0.98%

Chance of exploitation in the next 30 days

Percentile

62%

Versus all other CVEs

30-day change

0.00 pp

From 0.98% on 20-09-2026

20-09-202620-10-2026
EPSS score
0.98%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    2490D522E81A796Af9Efcad1686E6754

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Filecoin1 product
Filecoin-project1 product
Github.com/filecoin-project1 product
  • lotus< 1.5.0

3 vendors · 3 products

References

4 links