{"answers":{"affected":"6 open source packages ship an affected version, including tendermint-light-client, tendermint-light-client-js and tendermint-light-client-verifier. It affects 3 products.","exploited":"There is no known exploitation of CVE-2022-23507 in the wild and no public exploit code.","fix":"Upgrade tendermint-light-client to 0.28.0 or later.","what":"CVE-2022-23507 is a medium-severity vulnerability in informalsystems tendermint-rs, published on 15 Dec 2022. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-23507 and fix it if it is affected.\n\nWhat it is: CVE-2022-23507 is a medium-severity vulnerability in informalsystems tendermint-rs, published on 15 Dec 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-23507 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- tendermint-light-client (crates.io): affected all versions; fixed in 0.28.0\n- tendermint-light-client (crates.io): affected all versions; fixed in 0.28.0\n- tendermint-light-client-js (crates.io): affected all versions; fixed in 0.28.0\n- tendermint-light-client-js (crates.io): affected all versions; fixed in 0.28.0\n- tendermint-light-client-verifier (crates.io): affected all versions; fixed in 0.28.0\n- tendermint-light-client-verifier (crates.io): affected all versions; fixed in 0.28.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-23507/ (Markdown: https://insights.sbomify.com/CVE-2022-23507/index.md)","id":"CVE-2022-23507","markdown":"https://insights.sbomify.com/CVE-2022-23507/index.md","name":"CVE-2022-23507","record":{"aliases":["GHSA-xqqc-c5gw-c5r5"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Tendermint light client","requires_auth":"none","summary":"Tendermint light client fails to verify chain IDs, allowing attackers to bypass verification with headers from other chains.","user_interaction":"not_required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"tendermint-light-client-js","vendor":"tendermint-light-client-js_project"},{"product":"tendermint-light-client-verifier","vendor":"tendermint-light-client-verifier_project"},{"product":"tendermint-light-client","vendor":"tendermint-light-client_project"}],"cvss":{"score":5.4,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-347","name":"Improper Verification of Cryptographic Signature"}],"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.","ecosystems":["crates.io"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Light client verification not taking into account chain ID","id":"CVE-2022-23507","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"crates.io","product":null,"products":[],"type":"security_feature_bypass","year":"2022"},"n_packages":6,"n_references":1,"next":{"headline":"GitOps Run allows for Kubernetes workload injection","id":"CVE-2022-23508"},"packages":[{"ecosystem":"crates.io","fixed":["0.28.0"],"introduced":["0"],"last_affected":[],"package":"tendermint-light-client","purl":null,"source":"GHSA-xqqc-c5gw-c5r5"},{"ecosystem":"crates.io","fixed":["0.28.0"],"introduced":["0"],"last_affected":[],"package":"tendermint-light-client","purl":"pkg:cargo/tendermint-light-client","source":"GHSA-xqqc-c5gw-c5r5"},{"ecosystem":"crates.io","fixed":["0.28.0"],"introduced":["0"],"last_affected":[],"package":"tendermint-light-client-js","purl":null,"source":"GHSA-xqqc-c5gw-c5r5"},{"ecosystem":"crates.io","fixed":["0.28.0"],"introduced":["0"],"last_affected":[],"package":"tendermint-light-client-js","purl":"pkg:cargo/tendermint-light-client-js","source":"GHSA-xqqc-c5gw-c5r5"},{"ecosystem":"crates.io","fixed":["0.28.0"],"introduced":["0"],"last_affected":[],"package":"tendermint-light-client-verifier","purl":null,"source":"GHSA-xqqc-c5gw-c5r5"},{"ecosystem":"crates.io","fixed":["0.28.0"],"introduced":["0"],"last_affected":[],"package":"tendermint-light-client-verifier","purl":"pkg:cargo/tendermint-light-client-verifier","source":"GHSA-xqqc-c5gw-c5r5"}],"prev":{"headline":"Spinnaker's Rosco microservice vulnerable to improper log masking on AWS Packer builds","id":"CVE-2022-23506"},"products":["tendermint-rs"],"published":"2022-12-15","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-04-18","vendors":["informalsystems"]},"summary":"Tendermint light client fails to verify chain IDs, allowing attackers to bypass verification with headers from other chains.","url":"https://insights.sbomify.com/CVE-2022-23507/"}