CVE-2021-41135
Summary
| CVE | CVE-2021-41135 |
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2021-10-20 18:15:00 UTC |
| Updated | 2023-11-07 03:38:00 UTC |
| 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. |
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|
| Cosmos-SDK Vulnerability Retrospective: Security Advisory Jackfruit, October 12, 2021 - Security - Cosmos Forum |
MISC |
forum.cosmos.network |
|
| Authz Module Non-Determinism · Advisory · cosmos/cosmos-sdk · GitHub |
CONFIRM |
github.com |
|
| Merge pull request from GHSA-2p6r-37p9-89p2 · cosmos/cosmos-sdk@68ab790 · GitHub |
MISC |
github.com |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 980340 Go (go) Security Update for github.com/cosmos/cosmos-sdk (GHSA-2p6r-37p9-89p2)