Skip to main content
← All vulnerabilities
CVE-2021-41135GHSA-2P6R-37P9-89P2

Authz Module Non-Determinism

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.44.2
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • cosmos cosmos-sdk

    From 0.43.0 · fixed in 0.44.2

  • github.com/cosmos/cosmos-sdkGo

    From 0.43.0 · fixed in 0.44.2

References 3

GitHub · cosmos/cosmos-sdk

forum.cosmos.network