{"id":"CVE-2022-31121","aliases":["BIT-hyperledger-fabric-orderer-2022-31121","BIT-hyperledger-fabric-peer-2022-31121","BIT-hyperledger-fabric-tools-2022-31121","EUVD-2022-6271","GHSA-72x4-cq6r-jp4p"],"status":"published","title":"Improper Input Validation in fabric hyperledger","description":"Hyperledger Fabric is a permissioned distributed ledger framework. In affected versions if a consensus client sends a malformed consensus request to an orderer it may crash the orderer node. A fix has been added in commit 0f1835949 which checks for missing consensus messages and returns an error to the consensus client should the message be missing. Users are advised to upgrade to versions 2.2.7 or v2.4.5. There are no known workarounds for this issue.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.02136,"percentile":0.82142,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-20"],"published":"2022-07-07T18:00:14Z","modified":"2026-10-28T02:30:28Z","fixes":[{"ecosystem":"Go","package":"github.com/hyperledger/fabric","fixed_in":["2.2.7","2.4.5"],"sources":["ghsa","osv"]},{"ecosystem":"Bitnami","package":"hyperledger-fabric-orderer","fixed_in":["2.2.7","2.4.5"],"sources":["osv"]},{"ecosystem":"Bitnami","package":"hyperledger-fabric-peer","fixed_in":["2.2.7","2.4.5"],"sources":["osv"]},{"ecosystem":"Bitnami","package":"hyperledger-fabric-tools","fixed_in":["2.2.7","2.4.5"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/hyperledger/fabric","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.7"}]}]},{"source":"ghsa","ecosystem":"Go","package":"github.com/hyperledger/fabric","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.3.0"},{"fixed":"2.4.5"}]}]},{"source":"osv","ecosystem":"Bitnami","package":"hyperledger-fabric-orderer","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.2.7"},{"introduced":"2.3.0"},{"fixed":"2.4.5"}]}]},{"source":"osv","ecosystem":"Bitnami","package":"hyperledger-fabric-peer","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.2.7"},{"introduced":"2.3.0"},{"fixed":"2.4.5"}]}]},{"source":"osv","ecosystem":"Bitnami","package":"hyperledger-fabric-tools","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.2.7"},{"introduced":"2.3.0"},{"fixed":"2.4.5"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/hyperledger/fabric","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.2.7"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/hyperledger/fabric","ranges":[{"type":"SEMVER","events":[{"introduced":"2.3.0"},{"fixed":"2.4.5"}]}]}],"products":[{"vendor":"hyperledger","product":"fabric"}],"references":[{"url":"https://github.com/hyperledger/fabric/security/advisories/GHSA-72x4-cq6r-jp4p","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Third Party Advisory","advisory","web"]},{"url":"https://github.com/hyperledger/fabric/commit/0f18359493bcbd5f9f9d1a9b05adabfe5da23b06","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","advisory","fix","web"]},{"url":"https://github.com/hyperledger/fabric/releases/tag/v2.2.7","tags":["x_refsource_MISC","x_transferred","Release Notes","Third Party Advisory","advisory","web"]},{"url":"https://github.com/hyperledger/fabric/releases/tag/v2.4.5","tags":["x_refsource_MISC","x_transferred","Release Notes","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31121","tags":["web","advisory"]},{"url":"https://github.com/advisories/GHSA-72x4-cq6r-jp4p"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31121.json","tags":["advisory"]},{"url":"https://github.com/hyperledger/fabric","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2022-31121","title":"Improper Input Validation in fabric hyperledger","description":"Hyperledger Fabric is a permissioned distributed ledger framework. In affected versions if a consensus client sends a malformed consensus request to an orderer it may crash the orderer node. A fix has been added in commit 0f1835949 which checks for missing consensus messages and returns an error to the consensus client should the message be missing. Users are advised to upgrade to versions 2.2.7 or v2.4.5. There are no known workarounds for this issue.","status":"published","published":"2022-07-07T18:00:14Z","modified":"2025-04-23T18:04:03.524Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:34:35.279735Z"}],"euvd":[{"id":"EUVD-2022-6271","description":"Hyperledger Fabric is a permissioned distributed ledger framework. In affected versions if a consensus client sends a malformed consensus request to an orderer it may crash the orderer node. A fix has been added in commit 0f1835949 which checks for missing consensus messages and returns an error to the consensus client should the message be missing. Users are advised to upgrade to versions 2.2.7 or v2.4.5. There are no known workarounds for this issue.","status":"published","published":"2022-07-07T18:00:14Z","modified":"2025-04-23T18:04:03Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T20:52:09.919052Z"}],"ghsa":[{"id":"GHSA-72x4-cq6r-jp4p","title":"Hyperledger Fabric vulnerable to Improper Input Validation in orderer/common/cluster consensus request","description":"### Impact\nIf a consensus client sends a malformed consensus request to an orderer it may crash the orderer node.\nThis fix checks for the malformed consensus request and returns an error to the consensus client.\n\n### Specific Go Packages Affected\ngithub.com/hyperledger/fabric/orderer/common/cluster\n\n### Patches\nFixed in v2.2.7 and v2.4.5.\n\n### Workarounds\nNone, users must upgrade to v2.2.7 or v2.4.5.\n\n### References\nhttps://github.com/hyperledger/fabric/releases/tag/v2.2.7\nhttps://github.com/hyperledger/fabric/releases/tag/v2.4.5\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [Hyperledger Fabric repository](https://github.com/hyperledger/fabric/issues)\n\n### Credits\nThank you to Haosheng Wang of OPPO ZIWU Security Lab for this disclosure.","status":"published","published":"2022-07-08T17:06:39Z","modified":"2023-10-02T11:31:36Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:37:06.913882Z"}],"nvd":[{"id":"CVE-2022-31121","description":"Hyperledger Fabric is a permissioned distributed ledger framework. In affected versions if a consensus client sends a malformed consensus request to an orderer it may crash the orderer node. A fix has been added in commit 0f1835949 which checks for missing consensus messages and returns an error to the consensus client should the message be missing. Users are advised to upgrade to versions 2.2.7 or v2.4.5. There are no known workarounds for this issue.","status":"published","published":"2022-07-07T18:15:09.517Z","modified":"2026-06-17T04:44:50.83Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"secondary"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:07:22.966735Z"}],"osv":[{"id":"CVE-2022-31121","title":"Improper Input Validation in fabric hyperledger","description":"Hyperledger Fabric is a permissioned distributed ledger framework. In affected versions if a consensus client sends a malformed consensus request to an orderer it may crash the orderer node. A fix has been added in commit 0f1835949 which checks for missing consensus messages and returns an error to the consensus client should the message be missing. Users are advised to upgrade to versions 2.2.7 or v2.4.5. There are no known workarounds for this issue.","status":"published","published":"2022-07-07T18:00:14Z","modified":"2026-10-28T02:30:28.150162904Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T15:44:25.516981Z"},{"id":"GHSA-72x4-cq6r-jp4p","title":"Hyperledger Fabric vulnerable to Improper Input Validation in orderer/common/cluster consensus request","description":"### Impact\nIf a consensus client sends a malformed consensus request to an orderer it may crash the orderer node.\nThis fix checks for the malformed consensus request and returns an error to the consensus client.\n\n### Specific Go Packages Affected\ngithub.com/hyperledger/fabric/orderer/common/cluster\n\n### Patches\nFixed in v2.2.7 and v2.4.5.\n\n### Workarounds\nNone, users must upgrade to v2.2.7 or v2.4.5.\n\n### References\nhttps://github.com/hyperledger/fabric/releases/tag/v2.2.7\nhttps://github.com/hyperledger/fabric/releases/tag/v2.4.5\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [Hyperledger Fabric repository](https://github.com/hyperledger/fabric/issues)\n\n### Credits\nThank you to Haosheng Wang of OPPO ZIWU Security Lab for this disclosure.","status":"published","published":"2022-07-08T17:06:39Z","modified":"2024-07-18T20:11:50.393825Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T15:46:40.308826Z"},{"id":"BIT-hyperledger-fabric-orderer-2022-31121","title":"Improper Input Validation in fabric hyperledger","description":"Hyperledger Fabric is a permissioned distributed ledger framework. In affected versions if a consensus client sends a malformed consensus request to an orderer it may crash the orderer node. A fix has been added in commit 0f1835949 which checks for missing consensus messages and returns an error to the consensus client should the message be missing. Users are advised to upgrade to versions 2.2.7 or v2.4.5. There are no known workarounds for this issue.","status":"published","published":"2024-07-18T19:22:13.551Z","modified":"2026-09-08T08:47:53.991490719Z","updated_at":"2026-11-02T15:28:31.02759Z"},{"id":"BIT-hyperledger-fabric-peer-2022-31121","title":"Improper Input Validation in fabric hyperledger","description":"Hyperledger Fabric is a permissioned distributed ledger framework. In affected versions if a consensus client sends a malformed consensus request to an orderer it may crash the orderer node. A fix has been added in commit 0f1835949 which checks for missing consensus messages and returns an error to the consensus client should the message be missing. Users are advised to upgrade to versions 2.2.7 or v2.4.5. There are no known workarounds for this issue.","status":"published","published":"2024-07-18T19:22:12.665Z","modified":"2026-09-08T08:47:53.12042821Z","updated_at":"2026-11-02T15:28:31.02759Z"},{"id":"BIT-hyperledger-fabric-tools-2022-31121","title":"Improper Input Validation in fabric hyperledger","description":"Hyperledger Fabric is a permissioned distributed ledger framework. In affected versions if a consensus client sends a malformed consensus request to an orderer it may crash the orderer node. A fix has been added in commit 0f1835949 which checks for missing consensus messages and returns an error to the consensus client should the message be missing. Users are advised to upgrade to versions 2.2.7 or v2.4.5. There are no known workarounds for this issue.","status":"published","published":"2024-07-18T19:22:13.254Z","modified":"2026-09-08T08:47:53.413054641Z","updated_at":"2026-11-02T15:28:31.02759Z"}]}}
