Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/vulndb: potential Go vuln in github.com/hyperledger/fabric: CVE-2021-43667 #266

Closed
GoVulnBot opened this issue Jan 7, 2022 · 2 comments
Assignees
Labels
cve-year-2021 excluded: EFFECTIVELY_PRIVATE This vulnerability exists in a package can be imported, but isn't meant to be outside that module.

Comments

@GoVulnBot
Copy link

In CVE-2021-43667, the reference URL github.com/hyperledger/fabric (and possibly others) refers to something in Go.

module: github.com/hyperledger/fabric
package: n/a
description: |
  A vulnerability has been detected in HyperLedger Fabric v1.4.0, v2.0.0, v2.1.0. This bug can be leveraged by constructing a message whose payload is nil and sending this message with the method 'forwardToLeader'. This bug has been admitted and fixed by the developers of Fabric. If leveraged, any leader node will crash.
cves:
- CVE-2021-43667
links:
  pr: https://github.com/hyperledger/fabric/pull/2844
  context:
  - https://jira.hyperledger.org/browse/FAB-18529

See doc/triage.md for instructions on how to triage this report.

@neild
Copy link
Contributor

neild commented Jul 6, 2022

So far as I can tell, while the fix appears in a publicly importable package (github.com/hyperledger/fabric/protoutil), the vulnerability is in a server binary.

The github.com/hyperledger/fabric module does not follow standard Go module versioning (more recent versions are tagged v2.x.y, but the go.mod contains a v0/v1 module path), and there is no way to express a version range containing the fix in terms of module versions.

Closing as a combination of "vulnerability in tool" and "inexpressible version range".

@gopherbot
Copy link
Contributor

Change https://go.dev/cl/592766 mentions this issue: data/reports: unexclude 50 reports

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cve-year-2021 excluded: EFFECTIVELY_PRIVATE This vulnerability exists in a package can be imported, but isn't meant to be outside that module.
Projects
None yet
Development

No branches or pull requests

5 participants