github.com/hyperledger/fabric
Affected
- introduced
0, fixed2.2.7(semver)
Fixed versions
2.2.7
Fix
- Fixed version
2.2.7go get github.com/hyperledger/[email protected]
Advisory
Also known as: BIT-hyperledger-fabric-orderer-2022-31121, BIT-hyperledger-fabric-peer-2022-31121, BIT-hyperledger-fabric-tools-2022-31121, CVE-2022-31121
Hyperledger Fabric vulnerable to Improper Input Validation in orderer/common/cluster consensus request
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:
Credits
Thank you to Haosheng Wang of OPPO ZIWU Security Lab for this disclosure.
High Basis: The source's own band: HIGH
0, fixed 2.2.7 (semver)2.2.7
2.2.7go get github.com/hyperledger/[email protected]2.3.0, fixed 2.4.5 (semver)2.4.5
2.4.5go get github.com/hyperledger/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0