Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/hyperledger/fabric
  4. ›
  5. CVE-2022-31121

CVE-2022-31121: Improper Input Validation

July 8, 2022 (updated October 2, 2023)

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.

References

  • github.com/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
  • github.com/hyperledger/fabric/security/advisories/GHSA-72x4-cq6r-jp4p
  • nvd.nist.gov/vuln/detail/CVE-2022-31121

Code Behaviors & Features

Detect and mitigate CVE-2022-31121 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.2.7, all versions starting from 2.3.0 before 2.4.5

Fixed versions

  • 2.2.7
  • 2.4.5

Solution

Upgrade to versions 2.2.7, 2.4.5 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-20: Improper Input Validation

Source file

go/github.com/hyperledger/fabric/CVE-2022-31121.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:07 +0000.