| { |
| "schema_version": "1.3.1", |
| "id": "GO-2024-2638", |
| "modified": "0001-01-01T00:00:00Z", |
| "published": "0001-01-01T00:00:00Z", |
| "aliases": [ |
| "GHSA-95rx-m9m5-m94v" |
| ], |
| "summary": "ValidateVoteExtensions function in Cosmos SDK may allow incorrect voting power assumptions in github.com/cosmos/cosmos-sdk", |
| "details": "The default ValidateVoteExtensions helper function infers total voting power based on the injected VoteExtension, which are injected by the proposer.\n\nIf your chain utilizes the ValidateVoteExtensions helper in ProcessProposal, a dishonest proposer can potentially mutate voting power of each validator it includes in the injected VoteExtension, which could have potentially unexpected or negative consequences on modified state. Additional validation on injected VoteExtension data was added to confirm voting power against the state machine.", |
| "affected": [ |
| { |
| "package": { |
| "name": "github.com/cosmos/cosmos-sdk", |
| "ecosystem": "Go" |
| }, |
| "ranges": [ |
| { |
| "type": "SEMVER", |
| "events": [ |
| { |
| "introduced": "0.50.0" |
| }, |
| { |
| "fixed": "0.50.5" |
| } |
| ] |
| } |
| ], |
| "ecosystem_specific": { |
| "imports": [ |
| { |
| "path": "github.com/cosmos/cosmos-sdk/baseapp", |
| "symbols": [ |
| "ValidateVoteExtensions" |
| ] |
| } |
| ] |
| } |
| } |
| ], |
| "references": [ |
| { |
| "type": "ADVISORY", |
| "url": "https://github.com/cosmos/cosmos-sdk/security/advisories/GHSA-95rx-m9m5-m94v" |
| }, |
| { |
| "type": "FIX", |
| "url": "https://github.com/cosmos/cosmos-sdk/commit/4467110df40797ebe916c23ebfd45c9ee7583897" |
| }, |
| { |
| "type": "WEB", |
| "url": "https://github.com/cosmos/cosmos-sdk/releases/tag/v0.50.5" |
| } |
| ], |
| "database_specific": { |
| "url": "https://pkg.go.dev/vuln/GO-2024-2638", |
| "review_status": "REVIEWED" |
| } |
| } |