GHSA-72x4-cq6r-jp4p
Hyperledger Fabric vulnerable to Improper Input Validation in orderer/common/cluster consensus request
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Go | github.com/hyperledger/fabric | < 2.2.7 | 2.2.7 |
| Go | github.com/hyperledger/fabric | >= 2.3.0, < 2.4.5 | 2.4.5 |
Details
As written in the advisory (Markdown source, shown as plain text).
### Impact
If a consensus client sends a malformed consensus request to an orderer it may crash the orderer node.
This fix checks for the malformed consensus request and returns an error to the consensus client.
### Specific Go Packages Affected
github.com/hyperledger/fabric/orderer/common/cluster
### Patches
Fixed in v2.2.7 and v2.4.5.
### Workarounds
None, users must upgrade to v2.2.7 or v2.4.5.
### References
https://github.com/hyperledger/fabric/releases/tag/v2.2.7
https://github.com/hyperledger/fabric/releases/tag/v2.4.5
### For more information
If you have any questions or comments about this advisory:
* Open an issue in [Hyperledger Fabric repository](https://github.com/hyperledger/fabric/issues)
### Credits
Thank you to Haosheng Wang of OPPO ZIWU Security Lab for this disclosure.
References
External links from the advisory. They lead to third-party sites.
- https://github.com/hyperledger/fabric/security/advisories/GHSA-72x4-cq6r-jp4p
- https://nvd.nist.gov/vuln/detail/CVE-2022-31121
- https://github.com/hyperledger/fabric/commit/0f18359493bcbd5f9f9d1a9b05adabfe5da23b06
- https://github.com/hyperledger/fabric
- https://github.com/hyperledger/fabric/releases/tag/v2.2.7
- https://github.com/hyperledger/fabric/releases/tag/v2.4.5