{"id":"GHSA-xqqc-c5gw-c5r5","summary":"Tendermint light client verification not taking into account chain ID","details":"### Impact\n\nAnyone using the `tendermint-light-client` and related packages to perform light client verification (e.g. IBC-rs, Hermes).\n\nAt 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.\n\nThe attack vector is currently theoretical, and no proof-of-concept exists yet to exploit it on live networks.\n\n### Patches\n\nUsers of the light client-related crates can currently upgrade to `v0.28.0`.\n\n### Workarounds\n\nNone\n\n### References\n\n- [Light Client specification](https://github.com/tendermint/tendermint/tree/main/spec/light-client)","aliases":["CVE-2022-23507"],"modified":"2023-11-08T04:08:19.879804Z","published":"2022-12-14T21:35:24Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2022-12-14T21:35:24Z","nvd_published_at":"2022-12-15T19:15:00Z","cwe_ids":["CWE-347"],"severity":"MODERATE"},"references":[{"type":"WEB","url":"https://github.com/informalsystems/tendermint-rs/security/advisories/GHSA-xqqc-c5gw-c5r5"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-23507"},{"type":"WEB","url":"https://github.com/informalsystems/tendermint-rs/commit/5c32f31b97ac3172775699fe0d4ba6003ca4fb18"},{"type":"PACKAGE","url":"https://github.com/informalsystems/tendermint-rs"}],"affected":[{"package":{"name":"tendermint-light-client-verifier","ecosystem":"crates.io","purl":"pkg:cargo/tendermint-light-client-verifier"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.28.0"}]}],"database_specific":{"last_known_affected_version_range":"\u003c= 0.27.0","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/12/GHSA-xqqc-c5gw-c5r5/GHSA-xqqc-c5gw-c5r5.json"}},{"package":{"name":"tendermint-light-client","ecosystem":"crates.io","purl":"pkg:cargo/tendermint-light-client"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.28.0"}]}],"database_specific":{"last_known_affected_version_range":"\u003c= 0.27.0","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/12/GHSA-xqqc-c5gw-c5r5/GHSA-xqqc-c5gw-c5r5.json"}},{"package":{"name":"tendermint-light-client-js","ecosystem":"crates.io","purl":"pkg:cargo/tendermint-light-client-js"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.28.0"}]}],"database_specific":{"last_known_affected_version_range":"\u003c= 0.27.0","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/12/GHSA-xqqc-c5gw-c5r5/GHSA-xqqc-c5gw-c5r5.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N"}]}