btcsuite/btcd · Security
btcd mishandles witness size checking
- GHSA ID
- GHSA-2chg-86hq-7w38
- CVE ID
- CVE-2022-44797
- Severity
- critical
- Published
- Updated
- CVSS
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS v3
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
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
- 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 ↗