Skip to content

btcd mishandles witness size checking

Critical severity GitHub Reviewed Published Nov 7, 2022 to the GitHub Advisory Database • Updated May 20, 2024

Package

gomod github.com/btcsuite/btcd (Go)

Affected versions

< 0.23.2

Patched versions

0.23.2
gomod github.com/lightningnetwork/lnd (Go)
< 0.15.2-beta
0.15.2-beta

Description

btcd before 0.23.2, as used in Lightning Labs lnd before 0.15.2-beta and other Bitcoin-related products, mishandles witness size checking.

Specific Go Packages Affected

github.com/btcsuite/btcd/wire

References

Published by the National Vulnerability Database Nov 7, 2022
Published to the GitHub Advisory Database Nov 7, 2022
Reviewed Nov 7, 2022
Last updated May 20, 2024

Severity

Critical
9.8
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Weaknesses

No CWEs

CVE ID

CVE-2022-44797

GHSA ID

GHSA-2chg-86hq-7w38

Source code

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.