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 FencerCISA 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
-
github.com
/hyperledger/fabric/commit/0f18359493bcbd5f9f9d1a9b05adabfe5da23b06
web, patch, third-party-advisory, advisory
-
github.com
/hyperledger/fabric/security/advisories/GHSA-72x4-cq6r-jp4p
web, issue-tracking, third-party-advisory, advisory
-
github.com
/hyperledger/fabric/releases/tag/v2.2.7
web, release-notes, third-party-advisory, advisory
-
github.com
/hyperledger/fabric/releases/tag/v2.4.5
web, release-notes, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-31121
advisory, web
-
github.com
/hyperledger/fabric
package
Sources
- CVE List CVE-2022-31121
- GitHub Advisory GHSA-72x4-cq6r-jp4p
- NVD CVE-2022-31121
- OSV BIT-hyperledger-fabric-orderer-2022-31121
- OSV BIT-hyperledger-fabric-peer-2022-31121
- OSV BIT-hyperledger-fabric-tools-2022-31121
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.