Improper Input Validation Affecting github.com/cosmos/cosmos-sdk/baseapp package, versions >=0.50.0 <0.50.5


Severity

Recommended
0.0
high
0
10

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

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 Learn

Learn about Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMCOSMOSCOSMOSSDKBASEAPP-6424687
  • published12 Mar 2024
  • disclosed12 Mar 2024
  • creditUnknown

Introduced: 12 Mar 2024

CVE NOT AVAILABLE CWE-20  (opens in a new tab)

How to fix?

Upgrade github.com/cosmos/cosmos-sdk/baseapp to version 0.50.5 or higher.

Overview

github.com/cosmos/cosmos-sdk/baseapp is a framework for building high value public blockchains.

Affected versions of this package are vulnerable to Improper Input Validation via the ValidateVoteExtensions helper function. An attacker can manipulate the voting power of validators included in the VoteExtension by proposing altered VoteExtension data, potentially leading to unexpected or adverse effects on the modified state. Exploiting this vulnerability is possible if the chain utilizes the ValidateVoteExtensions helper in ProcessProposal.

CVSS Scores

version 3.1