{"id":"GHSA-72x4-cq6r-jp4p","summary":"Hyperledger Fabric vulnerable to Improper Input Validation in orderer/common/cluster consensus request","details":"### 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.","aliases":["BIT-hyperledger-fabric-orderer-2022-31121","BIT-hyperledger-fabric-peer-2022-31121","BIT-hyperledger-fabric-tools-2022-31121","CVE-2022-31121"],"modified":"2024-07-18T20:11:59.389749Z","published":"2022-07-08T17:06:39Z","database_specific":{"cwe_ids":["CWE-20"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2022-07-08T17:06:39Z","nvd_published_at":"2022-07-07T18:15:00Z"},"references":[{"type":"WEB","url":"https://github.com/hyperledger/fabric/security/advisories/GHSA-72x4-cq6r-jp4p"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31121"},{"type":"WEB","url":"https://github.com/hyperledger/fabric/commit/0f18359493bcbd5f9f9d1a9b05adabfe5da23b06"},{"type":"PACKAGE","url":"https://github.com/hyperledger/fabric"},{"type":"WEB","url":"https://github.com/hyperledger/fabric/releases/tag/v2.2.7"},{"type":"WEB","url":"https://github.com/hyperledger/fabric/releases/tag/v2.4.5"}],"affected":[{"package":{"name":"github.com/hyperledger/fabric","ecosystem":"Go","purl":"pkg:golang/github.com/hyperledger/fabric"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.2.7"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/07/GHSA-72x4-cq6r-jp4p/GHSA-72x4-cq6r-jp4p.json"}},{"package":{"name":"github.com/hyperledger/fabric","ecosystem":"Go","purl":"pkg:golang/github.com/hyperledger/fabric"},"ranges":[{"type":"SEMVER","events":[{"introduced":"2.3.0"},{"fixed":"2.4.5"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/07/GHSA-72x4-cq6r-jp4p/GHSA-72x4-cq6r-jp4p.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}