{"api_version":"1","generated_at":"2026-05-07T13:18:36+00:00","cve":"CVE-2022-31121","urls":{"html":"https://cve.report/CVE-2022-31121","api":"https://cve.report/api/cve/CVE-2022-31121.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-31121","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-31121"},"summary":{"title":"CVE-2022-31121","description":"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.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2022-07-07 18:15:00","updated_at":"2022-07-15 15:18:00"},"problem_types":["CWE-20"],"metrics":[],"references":[{"url":"https://github.com/hyperledger/fabric/security/advisories/GHSA-72x4-cq6r-jp4p","name":"https://github.com/hyperledger/fabric/security/advisories/GHSA-72x4-cq6r-jp4p","refsource":"CONFIRM","tags":[],"title":"Improper Input Validation in orderer/common/cluster consensus request · Advisory · hyperledger/fabric · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/hyperledger/fabric/releases/tag/v2.2.7","name":"https://github.com/hyperledger/fabric/releases/tag/v2.2.7","refsource":"MISC","tags":[],"title":"Release v2.2.7 · hyperledger/fabric · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/hyperledger/fabric/releases/tag/v2.4.5","name":"https://github.com/hyperledger/fabric/releases/tag/v2.4.5","refsource":"MISC","tags":[],"title":"Release v2.4.5 · hyperledger/fabric · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/hyperledger/fabric/commit/0f18359493bcbd5f9f9d1a9b05adabfe5da23b06","name":"https://github.com/hyperledger/fabric/commit/0f18359493bcbd5f9f9d1a9b05adabfe5da23b06","refsource":"MISC","tags":[],"title":"Check if inner consensus message is missing · hyperledger/fabric@0f18359 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-31121","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31121","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"31121","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"hyperledger","cpe5":"fabric","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2022-31121","STATE":"PUBLIC","TITLE":"Improper Input Validation in fabric hyperledger"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"fabric","version":{"version_data":[{"version_value":"< 2.2.7"},{"version_value":">= 2.3.0, < 2.4.5"}]}}]},"vendor_name":"hyperledger"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-20: Improper Input Validation"}]}]},"references":{"reference_data":[{"name":"https://github.com/hyperledger/fabric/security/advisories/GHSA-72x4-cq6r-jp4p","refsource":"CONFIRM","url":"https://github.com/hyperledger/fabric/security/advisories/GHSA-72x4-cq6r-jp4p"},{"name":"https://github.com/hyperledger/fabric/commit/0f18359493bcbd5f9f9d1a9b05adabfe5da23b06","refsource":"MISC","url":"https://github.com/hyperledger/fabric/commit/0f18359493bcbd5f9f9d1a9b05adabfe5da23b06"},{"name":"https://github.com/hyperledger/fabric/releases/tag/v2.2.7","refsource":"MISC","url":"https://github.com/hyperledger/fabric/releases/tag/v2.2.7"},{"name":"https://github.com/hyperledger/fabric/releases/tag/v2.4.5","refsource":"MISC","url":"https://github.com/hyperledger/fabric/releases/tag/v2.4.5"}]},"source":{"advisory":"GHSA-72x4-cq6r-jp4p","discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2022-07-07 18:15:00","lastModifiedDate":"2022-07-15 15:18:00","problem_types":["CWE-20"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:N/I:N/A:P","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"PARTIAL","baseScore":5},"severity":"MEDIUM","exploitabilityScore":10,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:hyperledger:fabric:*:*:*:*:*:*:*:*","versionStartIncluding":"2.3.0","versionEndExcluding":"2.4.5","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:hyperledger:fabric:*:*:*:*:*:*:*:*","versionEndExcluding":"2.2.7","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}