CVE-2022-31121
Improper Input Validation in fabric hyperledger
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
7.5
Improper Input Validation in fabric hyperledger
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.
- Record
CVE-2022-31121- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-20
- Updated
- 2026-11-02
EUVDEUVD-2022-6271
7.5
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.
- Record
EUVD-2022-6271- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-72x4-cq6r-jp4p
7.5
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:
- Open an issue in Hyperledger Fabric repository
Credits
Thank you to Haosheng Wang of OPPO ZIWU Security Lab for this disclosure.
- Record
GHSA-72x4-cq6r-jp4p- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-20
- Updated
- 2026-11-02
NVD
7.5
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.
- Record
CVE-2022-31121- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:N/I:N/A:P - Weakness
- CWE-20
- Updated
- 2026-11-02
OSV
7.5
Improper Input Validation in fabric hyperledger
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.
- Record
CVE-2022-31121- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-20
- Updated
- 2026-11-02
OSVGHSA-72x4-cq6r-jp4p
7.5
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:
- Open an issue in Hyperledger Fabric repository
Credits
Thank you to Haosheng Wang of OPPO ZIWU Security Lab for this disclosure.
- Record
GHSA-72x4-cq6r-jp4p- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-20
- Updated
- 2026-11-02
OSVBIT-hyperledger-fabric-orderer-2022-31121 No score
Improper Input Validation in fabric hyperledger
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.
- Record
BIT-hyperledger-fabric-orderer-2022-31121- Updated
- 2026-11-02
OSVBIT-hyperledger-fabric-peer-2022-31121 No score
Improper Input Validation in fabric hyperledger
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.
- Record
BIT-hyperledger-fabric-peer-2022-31121- Updated
- 2026-11-02
OSVBIT-hyperledger-fabric-tools-2022-31121 No score
Improper Input Validation in fabric hyperledger
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.
- Record
BIT-hyperledger-fabric-tools-2022-31121- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
github.com/hyperledger/fabricGo |
before 2.2.7 | 2.2.7 |
github.com/hyperledger/fabricGo |
2.3.0 up to 2.4.5 | 2.4.5 |
hyperledger-fabric-ordererBitnami |
before 2.2.7, 2.3.0 up to 2.4.5 | 2.2.72.4.5 |
hyperledger-fabric-peerBitnami |
before 2.2.7, 2.3.0 up to 2.4.5 | 2.2.72.4.5 |
hyperledger-fabric-toolsBitnami |
before 2.2.7, 2.3.0 up to 2.4.5 | 2.2.72.4.5 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2022-31121 is a high vulnerability (CVSS 7.5) in Hyperledger Fabric, published July 7, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.14%, the 82nd percentile. Fixed in github.com/hyperledger/fabric 2.2.7.
References
github.com/hyperledger/fabric/security/advisories/GHSA-72x4-cq6r-jp4p
github.com/hyperledger/fabric/commit/0f18359493bcbd5f9f9d1a9b05adabfe5da23b06
github.com/hyperledger/fabric/releases/tag/v2.2.7
github.com/hyperledger/fabric/releases/tag/v2.4.5
nvd.nist.gov/vuln/detail/CVE-2022-31121
github.com/advisories/GHSA-72x4-cq6r-jp4p
github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31121.json
github.com/hyperledger/fabric