CVE-2022-44797
btcd mishandles witness size checking
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA.
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.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| go::GitHub Security Advisory Go | github.com/btcsuite/btcd, github.com/lightningnetwork/lnd | 0.23.2 and 1 more |
Show all 2 entries from 1 source
| Source | Package | Fixed in |
|---|---|---|
| go::GitHub Security Advisory Go | github.com/btcsuite/btcd | 0.23.2 |
| go::GitHub Security Advisory Go | github.com/lightningnetwork/lnd | 0.15.2-beta |
References
- https://github.com/btcsuite/btcd
- https://github.com/btcsuite/btcd/commit/7fdaf6958781df46fffee4bc8bee38801c066da8
- https://github.com/btcsuite/btcd/pull/1896
- https://github.com/btcsuite/btcd/releases/tag/v0.23.2
- https://github.com/lightningnetwork/lnd/issues/7002
- https://github.com/lightningnetwork/lnd/releases/tag/v0.15.2-beta
- https://nvd.nist.gov/vuln/detail/CVE-2022-44797
- https://pkg.go.dev/vuln/GO-2022-1098