Skip to content
Fencer Intel
high 7.5

CVE-2022-31121 json

Improper Input Validation in fabric hyperledger

published 4y ago modified 2mo ago also BIT-hyperledger-fabric-orderer-2022-31121 , BIT-hyperledger-fabric-peer-2022-31121 , BIT-hyperledger-fabric-tools-2022-31121 , EUVD-2022-6271 , GHSA-72x4-cq6r-jp4p

cvss
7.5
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
2.1%
EPSS 2.1% chance of exploitation in 30 days, percentile 82%
public exploits
0
none known

Summary

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.

Patch / fix

  • go github.com/hyperledger/fabric 2.2.7, 2.4.5
  • bitnami hyperledger-fabric-orderer 2.2.7, 2.4.5
  • bitnami hyperledger-fabric-peer 2.2.7, 2.4.5
  • bitnami hyperledger-fabric-tools 2.2.7, 2.4.5
  • hyperledger fabric 2.2.7, 2.4.5

Is CVE-2022-31121 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

CISA SSVC

Exploitation
none
Automatable
yes
Technical impact
partial
Assessed
last yr.

Exploit prediction

2.14% chance of exploitation in the next 30 days, higher than 82% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
CNA 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHub 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD 2.0 5.0 AV:N/AC:L/Au:N/C:N/I:N/A:P
OSV 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected packages

ecosystem package affected fixed in
go github.com/hyperledger/fabric
<2.2.7
>=2.3.0, <2.4.5
2.2.7
2.4.5
bitnami hyperledger-fabric-orderer
<2.2.7
>=2.3.0, <2.4.5
2.2.7
2.4.5
bitnami hyperledger-fabric-peer
<2.2.7
>=2.3.0, <2.4.5
2.2.7
2.4.5
bitnami hyperledger-fabric-tools
<2.2.7
>=2.3.0, <2.4.5
2.2.7
2.4.5

Affected products

  • hyperledger fabric

Classification

Weakness
  • CWE-20 Improper Input Validation

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.