CVE-2022-23507 Light client verification not taking into account chain ID
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
Description
Tendermint is a high-performance blockchain consensus engine for Byzantine fault tolerant applications. Versions prior to 0.28.0 contain a potential attack via Improper Verification of Cryptographic Signature, affecting anyone using the tendermint-light-client and related packages to perform light client verification (e.g. IBC-rs, Hermes). 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. This issue is patched in version 0.28.0. There are no workarounds.
Upgrade path
7 packages: 6 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io tendermint-light-client(crates.io) | < 0.28.0; <= 0.27.0 | 0.28.0 | Fixed |
| crates.io tendermint-light-client-js(crates.io) | < 0.28.0; <= 0.27.0 | 0.28.0 | Fixed |
| crates.io tendermint-light-client-verifier(crates.io) | < 0.28.0; <= 0.27.0 | 0.28.0 | Fixed |
| tendermint-light-client project tendermint-light-client | < 0.28.0 | 0.28.0 | Fixed |
| tendermint-light-client-js project tendermint-light-client-js | < 0.28.0 | 0.28.0 | Fixed |
| tendermint-light-client-verifier project tendermint-light-client-verifier | < 0.28.0 | 0.28.0 | Fixed |
| informalsystems tendermint-rs | = 0.28.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io tendermint-light-client-verifier(crates.io) | <= 0.27.0 | No fix listed |
| crates.io tendermint-light-client(crates.io) | <= 0.27.0 | No fix listed |
| crates.io tendermint-light-client-js(crates.io) | <= 0.27.0 | No fix listed |
| crates.io tendermint-light-client-verifier(crates.io) | < 0.28.0 | 0.28.0 |
| crates.io tendermint-light-client(crates.io) | < 0.28.0 | 0.28.0 |
| crates.io tendermint-light-client-js(crates.io) | < 0.28.0 | 0.28.0 |
| informalsystems tendermint-rs | = 0.28.0 | No fix listed |
| tendermint-light-client-js project tendermint-light-client-js | < 0.28.0 | 0.28.0 |
| tendermint-light-client-verifier project tendermint-light-client-verifier | < 0.28.0 | 0.28.0 |
| tendermint-light-client project tendermint-light-client | < 0.28.0 | 0.28.0 |
References
- https://github.com/informalsystems/tendermint-rs/security/advisories/GHSA-xqqc-c5gw-c5r5 third-party-advisory vendor-advisory
- github.com patch
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product