CVE-2021-41135

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-41135
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-41135.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-41135
Aliases
Related
Published
2021-10-20T18:15:07Z
Modified
2025-01-15T02:04:45.464227Z
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/cosmos/cosmos-sdk

Affected ranges

Type
GIT
Repo
https://github.com/cosmos/cosmos-sdk
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed

Affected versions

Other

goz-phase-1

v0.*

v0.10.0
v0.11.0
v0.12.0
v0.13.0
v0.13.1
v0.14.0
v0.14.1
v0.15.0
v0.15.0-rc0
v0.15.1
v0.16.0
v0.16.0-rc0
v0.17.0
v0.17.0-rc0
v0.17.1
v0.17.2
v0.17.3
v0.17.3-rc0
v0.17.4
v0.17.4-rc0
v0.17.5
v0.18.0
v0.18.0-rc0
v0.18.0-rc1
v0.19.0
v0.19.1-rc0
v0.19.1-rc1
v0.2.0
v0.20.0
v0.20.0-rc0
v0.20.0-rc1
v0.21.0
v0.21.1
v0.22.0
v0.23.0
v0.23.0-rc0
v0.23.1
v0.24.0
v0.24.0-rc0
v0.24.0-rc1
v0.24.1
v0.24.2
v0.24.2-rc0
v0.25.0
v0.25.0-rc0
v0.25.0-rc1
v0.26.0
v0.26.0-rc0
v0.26.1-rc0
v0.26.1-rc1
v0.27.0-rc0
v0.27.1
v0.28.0-rc1
v0.28.0-rc2
v0.28.1
v0.28.1-rc0
v0.29.0
v0.29.0-dev0
v0.29.0-dev1
v0.29.1
v0.29.1-rc0
v0.3.0
v0.3.1
v0.30.0
v0.30.0-dev0
v0.30.0-dev1
v0.30.0-dev2
v0.31.0
v0.31.0-rc0
v0.31.1
v0.31.2
v0.32.0
v0.32.0-rc0
v0.33.0
v0.33.1
v0.33.2
v0.34.0
v0.34.0-rc0
v0.34.0-rc1
v0.34.0-rc2
v0.34.1
v0.34.2
v0.34.3
v0.4.0
v0.4.1
v0.40.0-rc2
v0.40.0-rc3
v0.40.0-rc5
v0.40.0-rc6
v0.40.0-rc7
v0.42.0-alpha1
v0.43.0
v0.43.0-alpha1
v0.43.0-beta1
v0.43.0-rc0
v0.43.0-rc1
v0.43.0-rc2
v0.43.0-rc3
v0.44.0
v0.44.1
v0.5.0
v0.5.1
v0.5.2
v0.6.0
v0.6.1
v0.7.0
v0.7.1
v0.9.0