Improper Input Validation Affecting github.com/filecoin-project/lotus/chain/gen package, versions <1.5.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.19% (57th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMFILECOINPROJECTLOTUSCHAINGEN-1296314
  • published23 May 2021
  • disclosed21 May 2021
  • creditUnknown

Introduced: 21 May 2021

CVE-2021-21405  (opens in a new tab)
CWE-347  (opens in a new tab)

How to fix?

Upgrade github.com/filecoin-project/lotus/chain/gen to version 1.5.0 or higher.

Overview

Affected versions of this package are vulnerable to Improper Input Validation. The ffi uses blst as the signature backend, matching the existing functionality. This allows to simplify the ffi contexts, and remove the git submodule for blst.

References

CVSS Scores

version 3.1