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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2022-31121
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 11:24 UTC · Revision 1
Source evidence
Improper Input Validation in fabric hyperledger
core-osv · Original sourcePublished 7 Jul 2022, 18:00 UTC
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.
osv:CVE-2022-31121
Complete source record
{
"id": "f1bb34df13110f4d589b06a9cc42f59981515424d270ed353f6be55ea0d4b21d",
"url": "https://osv.dev/vulnerability/CVE-2022-31121",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Improper Input Validation in fabric hyperledger",
"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.",
"evidence": "osv:CVE-2022-31121",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2022-31121",
"aliases": [
"BIT-hyperledger-fabric-orderer-2022-31121",
"BIT-hyperledger-fabric-peer-2022-31121",
"BIT-hyperledger-fabric-tools-2022-31121",
"CVE-2022-31121",
"GHSA-72x4-cq6r-jp4p"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/hyperledger/fabric",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "7f22e997ee4b7a02f301f28250207fed1d977555"
},
{
"introduced": "ec81f3e74fa127fc504b1c2249b19ec421ea2a1d"
},
{
"fixed": "7e2a6b9ec3347731c80ab09f2ade0dd844f90ed8"
},
{
"fixed": "0f18359493bcbd5f9f9d1a9b05adabfe5da23b06"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:hyperledger:fabric:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "2.2.7"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:hyperledger:fabric:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.3.0"
},
{
"fixed": "2.4.5"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "0f18359493bcbd5f9f9d1a9b05adabfe5da23b06"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "7f22e997ee4b7a02f301f28250207fed1d977555"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v2.2.7"
},
{
"range": [
{
"fixed": "7e2a6b9ec3347731c80ab09f2ade0dd844f90ed8"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v2.4.5"
}
]
}
}
],
"versions": [
"v2.2.6",
"v2.4.4",
"v2.4.3",
"v2.4.2",
"v2.2.5",
"v2.4.1",
"v2.4.0",
"v2.2.4",
"v2.4.0-beta",
"v2.2.3",
"v2.4.0-alpha",
"v2.2.2",
"v2.2.1",
"v2.2.0",
"v2.0.0-beta",
"v2.0.0-alpha",
"v1.4.0-rc1",
"v1.3.0-rc1",
"v1.2.0-rc1",
"v1.1.0-rc1",
"v1.1.0-alpha",
"v1.1.0-preview",
"v1.0.0",
"v1.0.0-rc1",
"v1.0.0-beta",
"v1.0.0-alpha2",
"v1.0.0-alpha"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-31121.json"
}
}
],
"modified": "2026-10-28T02:30:28.150162904Z",
"provider": "osv",
"references": [
"https://github.com/hyperledger/fabric/releases/tag/v2.2.7",
"https://github.com/hyperledger/fabric/releases/tag/v2.4.5",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31121.json",
"https://github.com/hyperledger/fabric/security/advisories/GHSA-72x4-cq6r-jp4p",
"https://nvd.nist.gov/vuln/detail/CVE-2022-31121",
"https://github.com/hyperledger/fabric/commit/0f18359493bcbd5f9f9d1a9b05adabfe5da23b06"
],
"provider_metadata": {
"cwe_ids": [
"CWE-20"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31121.json"
}
},
"related_cves": [
{
"value": "CVE-2022-31121",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 494926,
"published_at": "2022-07-07T18:00:14+00:00"
}