Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS03cTc0LWc3NzQtN3gzZ84AA_Vd

Interchain Security: The signers of ICS messages do not need to match the provider address

Context

ICS has the following four messages that enable validators on the provider chain to perform different actions:

Normally, only the respective validators are allowed to perform these actions.

Issue

The upgrade to SDK 0.50, introduced a signer field to these messages. This field is used to authenticate the user sending the message to the system. However, there was no validation on the ICS side to check if the signer matches the provider address.

As a result, any user could opt-in, opt-out, change the commission rate, or change what public key a validator uses on a consumer chain.

For more context, check out the code:

Severity assessment

The severity assessment is based on this framework.

Potential impact: Catastrophic

Likelihood: Rare

Permalink: https://github.com/advisories/GHSA-7q74-g774-7x3g
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS03cTc0LWc3NzQtN3gzZ84AA_Vd
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: 3 months ago
Updated: 3 months ago


Identifiers: GHSA-7q74-g774-7x3g
References: Repository: https://github.com/cosmos/interchain-security
Blast Radius: 0.0

Affected Packages

go:github.com/cosmos/interchain-security/v4
Dependent packages: 12
Dependent repositories: 0
Downloads:
Affected Version Ranges: > 0
No known fixed version
All affected versions: 4.0.0, 4.1.0, 4.1.1, 4.2.0, 4.3.0, 4.3.1, 4.4.0, 4.4.1, 4.5.0
go:github.com/cosmos/interchain-security/v3
Dependent packages: 51
Dependent repositories: 1
Downloads:
Affected Version Ranges: > 0
No known fixed version
All affected versions: 3.0.0, 3.1.0, 3.2.0, 3.3.0
go:github.com/cosmos/interchain-security/v2
Dependent packages: 5
Dependent repositories: 2
Downloads:
Affected Version Ranges: > 0
No known fixed version
All affected versions: 2.0.0
go:github.com/cosmos/interchain-security
Dependent packages: 41
Dependent repositories: 9
Downloads:
Affected Version Ranges: > 0
No known fixed version
All affected versions: 1.0.0, 1.1.0, 1.1.1, 1.2.0, 1.2.1
go:github.com/cosmos/interchain-security/v5
Dependent packages: 5
Dependent repositories: 0
Downloads:
Affected Version Ranges: >= 5.1.0, < 5.2.0
Fixed in: 5.2.0
All affected versions: 5.1.0, 5.1.1
All unaffected versions: 5.0.0, 5.2.0