Vulnerability in Cosmos Cosmos-Sdk

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.

EPSS: 0.017 (74.2th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2021-41135?
CVE-2021-41135 is a medium-severity vulnerability in Cosmos Cosmos-Sdk, classified under Improper Check for Unusual or Exceptional Conditions. CVSS score: 6.5/10. Published 2021-10-20.
How severe is CVE-2021-41135?
Medium severity. CVSS v3 base score is 6.5 out of 10.