SCA: security update for github.com/filecoin-project/lotus (GHSA-4g52-pqcj-phvh)

high Tenable Self-Hosted Container Security Plugin ID 410162

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2021-21405)

See Also

https://github.com/advisories/GHSA-4g52-pqcj-phvh

Plugin Details

Severity: High

ID: 410162

Version: Revision 1.5

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.18

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.9

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:P/A:N

CVSS Score Source: CVE-2021-21405

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.7

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 5/21/2021

Vulnerability Publication Date: 4/15/2021

Reference Information

CVE: CVE-2021-21405

cwe: CWE-347