Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS0yY2hnLTg2aHEtN3czOM4AAvue
btcd mishandles witness size checking
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
Permalink: https://github.com/advisories/GHSA-2chg-86hq-7w38JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS0yY2hnLTg2aHEtN3czOM4AAvue
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Critical
Classification: General
Published: about 2 years ago
Updated: 6 months ago
CVSS Score: 9.8
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Identifiers: GHSA-2chg-86hq-7w38, CVE-2022-44797
References:
- https://nvd.nist.gov/vuln/detail/CVE-2022-44797
- https://github.com/lightningnetwork/lnd/issues/7002
- https://github.com/btcsuite/btcd/pull/1896
- https://github.com/btcsuite/btcd/releases/tag/v0.23.2
- https://github.com/lightningnetwork/lnd/releases/tag/v0.15.2-beta
- https://pkg.go.dev/vuln/GO-2022-1098
- https://github.com/btcsuite/btcd/commit/7fdaf6958781df46fffee4bc8bee38801c066da8
- https://github.com/advisories/GHSA-2chg-86hq-7w38
Blast Radius: 39.4
Affected Packages
go:github.com/btcsuite/btcd
Dependent packages: 11,705Dependent repositories: 10,491
Downloads:
Affected Version Ranges: < 0.23.2
Fixed in: 0.23.2
All affected versions: 0.14.0, 0.14.1, 0.14.2, 0.14.3, 0.14.4, 0.14.5, 0.14.6, 0.14.7, 0.15.0, 0.15.1, 0.15.2, 0.16.0, 0.16.1, 0.16.2, 0.16.3, 0.16.4, 0.16.5, 0.17.0, 0.17.1, 0.18.0, 0.18.1, 0.22.1, 0.22.2, 0.22.3, 0.23.0, 0.23.1
All unaffected versions: 0.23.2, 0.23.3, 0.23.4, 0.24.0, 0.24.2
go:github.com/lightningnetwork/lnd
Dependent packages: 190Dependent repositories: 145
Downloads:
Affected Version Ranges: < 0.15.2-beta
Fixed in: 0.15.2-beta
All affected versions: 0.0.2
All unaffected versions: