Improper Check for Unusual or Exceptional Conditions Affecting github.com/spacemeshos/go-spacemesh package, versions <1.5.2-hotfix1


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.05% (17th 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 ID SNYK-GOLANG-GITHUBCOMSPACEMESHOSGOSPACEMESH-6836784
  • published 12 May 2024
  • disclosed 10 May 2024
  • credit Unknown

How to fix?

Upgrade github.com/spacemeshos/go-spacemesh to version 1.5.2-hotfix1 or higher.

Overview

github.com/spacemeshos/go-spacemesh is a decentralized blockchain computer using a new race-free consensus protocol that doesn't involve energy-wasteful proof of work.

Affected versions of this package are vulnerable to Improper Check for Unusual or Exceptional Conditions due to the incorrect referencing of previous activation transactions (ATXs). An attacker can manipulate the reward system by referencing an earlier ATX, thereby bypassing the protocol's requirement to maintain PoST data for a full epoch.

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
8.2 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    Low
  • Availability (A)
    None