{"id":"CVE-2023-46132","published":"2023-11-14T20:23:15Z","modified":"2024-08-29T20:19:53Z","title":"Crosslinking transaction attack in hyperledger/fabric","vendor":"hyperledger","product":"fabric","tier":"tail","description":{"text":"Hyperledger Fabric is an open source permissioned distributed ledger framework. Combining two molecules to one another, called \"cross-linking\" results in a molecule with a chemical formula that is composed of all atoms of the original two molecules. In Fabric, one can take a block of transactions and cross-link the transactions in a way that alters the way the peers parse the transactions. If a first peer receives a block B and a second peer receives a block identical to B but with the transactions being cross-linked, the second peer will parse transactions in a different way and thus its world state will deviate from the first peer. Orderers or peers cannot detect that a block has its transactions cross-linked, because there is a vulnerability in the way Fabric hashes the transactions of blocks. It simply and naively concatenates them, which is insecure and lets an adversary craft a \"cross-linked block\" (block with cross-linked transactions) which alters the way peers process transactions. For example, it is possible to select a transaction and manipulate a peer to completely avoid processing it, without changing the computed hash of the block. Additional validations have been added in v2.2.14 and v2.5.5 to detect potential cross-linking issues before processing blocks. Users are advised to upgrade. There are no known workarounds for this vulnerability.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00596,"percentile":0.4251,"provenance":"source"},"cwes":[{"id":"CWE-362","name":"Concurrent Execution using Shared Resource with Improper Synchronization"}],"references":[{"url":"https://github.com/hyperledger/fabric/security/advisories/GHSA-v9w2-543f-h69m","tags":["x_refsource_CONFIRM"]}],"priority":{"score":13.5,"factors":[{"name":"EPSS percentile","points":8.5},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"hyperledger","affectedVersions":[{"vendor":"hyperledger","product":"fabric","versions":[">= 1.0.0, < 2.2.14",">= 2.3.0, < 2.5.5"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-08-29T20:19:34.464828Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/hyperledger/fabric","vulnerableRanges":[">=1.0.0-alpha, <2.2.14",">=2.3.0, <2.5.5"],"patched":["2.2.14","2.5.5"],"from":["GHSA-v9w2-543f-h69m"],"provenance":"source"}],"summary":{"text":"The Hyperledger Fabric permissioned distributed ledger framework fails to securely hash block transactions, because it simply concatenates them. An attacker with network access and low-privilege credentials can craft a cross-linked block that makes peers parse transactions differently, causing a peer's world state to diverge from others and allowing a chosen transaction to be skipped without changing the block's computed hash; no user interaction is required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:38:14Z"},"euvd":{"id":"EUVD-2023-3042","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-hyperledger-fabric-cve-2021-43667","parents":[{"from":"CVE-2021-43667","to":"CVE-2023-46132","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["protoutil/commonutils.go"],"commits":["https://github.com/hyperledger/fabric/commit/ebf94b10ecc86d3a91619b98befc52277b1e3474","https://github.com/hyperledger/fabric/commit/389b2e66de9a6fbc6043216d554c97bbbdf0e008","https://github.com/hyperledger/fabric/commit/93bef10bd3ce3c54d7f3b064f765dbde61da7def"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2021-43669","published":"2021-11-18","fixed":"2.4.0","kev":false},{"cve":"CVE-2022-31121","published":"2022-07-07","fixed":"2.4.5","kev":false,"link":{"from":"CVE-2022-31121","to":"CVE-2023-46132","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/hyperledger/fabric","fromFixed":"2.2.7","toFixed":"2.2.14","daysApart":495}]}},{"cve":"CVE-2022-36023","published":"2022-08-18","fixed":"2.4.6","kev":false,"link":{"from":"CVE-2022-36023","to":"CVE-2023-46132","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/hyperledger/fabric","fromFixed":"2.4.6","toFixed":"2.5.5","daysApart":453}]}},{"cve":"CVE-2023-46132","published":"2023-11-14","fixed":"2.5.5","kev":false}],"package":"Go:github.com/hyperledger/fabric"}}