Advisory

GHSA-xqqc-c5gw-c5r5

Also known as: CVE-2022-23507

Summary

Tendermint light client verification not taking into account chain ID

Details

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

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-12-14 21:35 UTC
Modified
2023-11-08 04:08 UTC

Affected packages and fixes

tendermint-light-client-verifier

crates.io · All systems

Affected

  • introduced 0, fixed 0.28.0 (semver)

Fixed versions

0.28.0

Fix

  • Fixed version 0.28.0
    cargo update -p tendermint-light-client-verifier --precise 0.28.0

tendermint-light-client

crates.io · All systems

Affected

  • introduced 0, fixed 0.28.0 (semver)

Fixed versions

0.28.0

Fix

  • Fixed version 0.28.0
    cargo update -p tendermint-light-client --precise 0.28.0

tendermint-light-client-js

crates.io · All systems

Affected

  • introduced 0, fixed 0.28.0 (semver)

Fixed versions

0.28.0

Fix

  • Fixed version 0.28.0
    cargo update -p tendermint-light-client-js --precise 0.28.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences