CVE-2021-41135

Medium

Description

The Cosmos-SDK is a framework for building blockchain applications in Golang. Affected versions of the SDK were vulnerable to a consensus halt due to non-deterministic behaviour in a ValidateBasic method in the x/authz module. The MsgGrant of the x/authz module contains a Grant field which includes a user-defined expiration time for when the authorization grant expires. In Grant.ValidateBasic(), that time is compared to the node’s local clock time. Any chain running an affected version of the SDK with the authz module enabled could be halted by anyone with the ability to send transactions on that chain. Recovery would require applying the patch and rolling back the latest block. Users are advised to update to version 0.44.2.

SeverityMedium
CVSS6.5
Exploit probability77. percentile1.7%
ProductInterchain Cosmos Sdk
PublishedOct 20, 2021
First seenOct 20, 2021
Weakness typeCWE-754CWE-754

How to fix

Update
  • interchain cosmos_sdk0.44.2 or later
  • github.com/cosmos/cosmos-sdk0.44.2 or later

Affected products

ProductAffected versionsFixed in
interchain cosmos_sdk0.43.0 ≤ v < 0.44.20.44.2
github.com/cosmos/cosmos-sdkGo0.43.0 ≤ v < 0.44.20.44.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.