CVE-2021-43667: NULL Pointer Dereference in HyperLedger Fabric
7.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.66844%
CWE
Published
5/25/2022
Updated
1/27/2023
KEV Status
No
Technology
Go
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
github.com/hyperledger/fabric | go | >= 2.3.0, < 2.3.3 | 2.3.3 |
github.com/hyperledger/fabric | go | < 2.2.4 | 2.2.4 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from missing nil pointer validation
in the ChannelHeader
function as shown in the commit diff. The fix (ebf94b1
) explicitly adds a nil check for the envelope parameter. This function is critical for message processing
in ordering nodes, and its NULL dereference directly matches the described crash scenario when handling malicious messages via forwardToLeader
.