Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Interchain | Cosmos Sdk | >= 0.43.0, < 0.44.2 |
Related Weaknesses (CWE)
References
- https://forum.cosmos.network/t/cosmos-sdk-vulnerability-retrospective-security-aExploitVendor Advisory
- https://github.com/cosmos/cosmos-sdk/commit/68ab790a761e80d3674f821794cf18ccbfedPatchThird Party Advisory
- https://github.com/cosmos/cosmos-sdk/security/advisories/GHSA-2p6r-37p9-89p2Third Party Advisory
- https://forum.cosmos.network/t/cosmos-sdk-vulnerability-retrospective-security-aExploitVendor Advisory
- https://github.com/cosmos/cosmos-sdk/commit/68ab790a761e80d3674f821794cf18ccbfedPatchThird Party Advisory
- https://github.com/cosmos/cosmos-sdk/security/advisories/GHSA-2p6r-37p9-89p2Third Party Advisory
FAQ
What is CVE-2021-41135?
CVE-2021-41135 is a vulnerability with a CVSS score of 6.5 (MEDIUM). 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 met...
How severe is CVE-2021-41135?
CVE-2021-41135 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-41135?
Check the references section above for vendor advisories and patch information. Affected products include: Interchain Cosmos Sdk.