Advisory

GHSA-72x4-cq6r-jp4p

Also known as: BIT-hyperledger-fabric-orderer-2022-31121, BIT-hyperledger-fabric-peer-2022-31121, BIT-hyperledger-fabric-tools-2022-31121, CVE-2022-31121

Summary

Hyperledger Fabric vulnerable to Improper Input Validation in orderer/common/cluster consensus request

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-07-08 17:06 UTC
Modified
2024-07-18 20:11 UTC

Affected packages and fixes

github.com/hyperledger/fabric

Go · All systems

Affected

  • introduced 0, fixed 2.2.7 (semver)

Fixed versions

2.2.7

Fix

github.com/hyperledger/fabric

Go · All systems

Affected

  • introduced 2.3.0, fixed 2.4.5 (semver)

Fixed versions

2.4.5

Fix

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

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences