CVE-2021-41135

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:interchain:cosmos_sdk:*:*:*:*:*:*:*:*

History

07 Nov 2023, 03:38

Type Values Removed Values Added
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. 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.

25 Oct 2021, 16:04

Type Values Removed Values Added
CPE cpe:2.3:a:interchain:cosmos_sdk:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : 6.5
v2 : 4.0
v3 : 6.5
References (MISC) https://github.com/cosmos/cosmos-sdk/commit/68ab790a761e80d3674f821794cf18ccbfed45ee - (MISC) https://github.com/cosmos/cosmos-sdk/commit/68ab790a761e80d3674f821794cf18ccbfed45ee - Patch, Third Party Advisory
References (MISC) https://forum.cosmos.network/t/cosmos-sdk-vulnerability-retrospective-security-advisory-jackfruit-october-12-2021/5349 - (MISC) https://forum.cosmos.network/t/cosmos-sdk-vulnerability-retrospective-security-advisory-jackfruit-october-12-2021/5349 - Exploit, Vendor Advisory
References (CONFIRM) https://github.com/cosmos/cosmos-sdk/security/advisories/GHSA-2p6r-37p9-89p2 - (CONFIRM) https://github.com/cosmos/cosmos-sdk/security/advisories/GHSA-2p6r-37p9-89p2 - Third Party Advisory

20 Oct 2021, 18:15

Type Values Removed Values Added
New CVE

Information

Published : 2021-10-20 18:15

Updated : 2023-12-10 14:09


NVD link : CVE-2021-41135

Mitre link : CVE-2021-41135

CVE.ORG link : CVE-2021-41135


JSON object : View

Products Affected

interchain

  • cosmos_sdk
CWE
CWE-754

Improper Check for Unusual or Exceptional Conditions