Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS14cXFjLWM1Z3ctYzVyNc4AAwWv
Tendermint light client verification not taking into account chain ID
Impact
Anyone using the tendermint-light-client
and related packages to perform light client verification (e.g. IBC-rs, Hermes).
At present, the light client does not check that the chain IDs of the trusted and untrusted headers match, resulting in a possible attack vector where someone who finds a header from an untrusted chain that satisfies all other verification conditions (e.g. enough overlapping validator signatures) could fool a light client.
The attack vector is currently theoretical, and no proof-of-concept exists yet to exploit it on live networks.
Patches
Users of the light client-related crates can currently upgrade to v0.28.0
.
Workarounds
None
References Permalink: https://github.com/advisories/GHSA-xqqc-c5gw-c5r5
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS14cXFjLWM1Z3ctYzVyNc4AAwWv
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: almost 2 years ago
Updated: almost 2 years ago
CVSS Score: 5.4
CVSS vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
Identifiers: GHSA-xqqc-c5gw-c5r5, CVE-2022-23507
References:
- https://github.com/informalsystems/tendermint-rs/security/advisories/GHSA-xqqc-c5gw-c5r5
- https://github.com/informalsystems/tendermint-rs/commit/5c32f31b97ac3172775699fe0d4ba6003ca4fb18
- https://nvd.nist.gov/vuln/detail/CVE-2022-23507
- https://github.com/advisories/GHSA-xqqc-c5gw-c5r5
Blast Radius: 8.9
Affected Packages
cargo:tendermint-light-client-js
Dependent packages: 0Dependent repositories: 0
Downloads: 25,834 total
Affected Version Ranges: <= 0.27.0
Fixed in: 0.28.0
All affected versions: 0.19.0, 0.20.0, 0.21.0, 0.22.0, 0.23.0, 0.23.1, 0.23.2, 0.23.3, 0.23.4, 0.23.5, 0.23.6, 0.23.7, 0.23.8, 0.23.9, 0.25.0, 0.26.0, 0.27.0
All unaffected versions: 0.28.0, 0.29.0, 0.29.1, 0.30.0, 0.31.0, 0.31.1, 0.32.0, 0.32.2, 0.33.0, 0.33.1, 0.33.2, 0.34.0, 0.34.1, 0.35.0, 0.36.0, 0.37.0, 0.38.0, 0.38.1, 0.39.0, 0.39.1, 0.40.0
cargo:tendermint-light-client
Dependent packages: 7Dependent repositories: 38
Downloads: 300,670 total
Affected Version Ranges: <= 0.27.0
Fixed in: 0.28.0
All affected versions: 0.15.0, 0.16.0, 0.17.0, 0.17.1, 0.18.0, 0.18.1, 0.19.0, 0.20.0, 0.21.0, 0.22.0, 0.23.0, 0.23.1, 0.23.2, 0.23.3, 0.23.4, 0.23.5, 0.23.6, 0.23.7, 0.23.8, 0.23.9, 0.25.0, 0.26.0, 0.27.0
All unaffected versions: 0.28.0, 0.29.0, 0.29.1, 0.30.0, 0.31.0, 0.31.1, 0.32.0, 0.32.1, 0.32.2, 0.33.0, 0.33.1, 0.33.2, 0.34.0, 0.34.1, 0.35.0, 0.36.0, 0.37.0, 0.38.0, 0.38.1, 0.39.0, 0.39.1, 0.40.0
cargo:tendermint-light-client-verifier
Dependent packages: 11Dependent repositories: 44
Downloads: 565,046 total
Affected Version Ranges: <= 0.27.0
Fixed in: 0.28.0
All affected versions: 0.23.5, 0.23.6, 0.23.7, 0.23.8, 0.23.9, 0.25.0, 0.26.0, 0.27.0
All unaffected versions: 0.28.0, 0.29.0, 0.29.1, 0.30.0, 0.31.0, 0.31.1, 0.32.0, 0.32.1, 0.32.2, 0.33.0, 0.33.1, 0.33.2, 0.34.0, 0.34.1, 0.35.0, 0.36.0, 0.37.0, 0.38.0, 0.38.1, 0.39.0, 0.39.1, 0.40.0