{"id":"GHSA-2chg-86hq-7w38","summary":"btcd mishandles witness size checking","details":"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.\n\n### Specific Go Packages Affected\ngithub.com/btcsuite/btcd/wire","aliases":["CVE-2022-44797","GO-2022-1098"],"modified":"2024-05-20T21:36:55Z","published":"2022-11-07T12:00:34Z","database_specific":{"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2022-11-07T16:15:55Z","nvd_published_at":"2022-11-07T04:15:00Z","cwe_ids":[]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-44797"},{"type":"WEB","url":"https://github.com/lightningnetwork/lnd/issues/7002"},{"type":"WEB","url":"https://github.com/btcsuite/btcd/pull/1896"},{"type":"WEB","url":"https://github.com/btcsuite/btcd/commit/7fdaf6958781df46fffee4bc8bee38801c066da8"},{"type":"PACKAGE","url":"https://github.com/btcsuite/btcd"},{"type":"WEB","url":"https://github.com/btcsuite/btcd/releases/tag/v0.23.2"},{"type":"WEB","url":"https://github.com/lightningnetwork/lnd/releases/tag/v0.15.2-beta"},{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2022-1098"}],"affected":[{"package":{"name":"github.com/btcsuite/btcd","ecosystem":"Go","purl":"pkg:golang/github.com/btcsuite/btcd"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.23.2"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/11/GHSA-2chg-86hq-7w38/GHSA-2chg-86hq-7w38.json"}},{"package":{"name":"github.com/lightningnetwork/lnd","ecosystem":"Go","purl":"pkg:golang/github.com/lightningnetwork/lnd"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.15.2-beta"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/11/GHSA-2chg-86hq-7w38/GHSA-2chg-86hq-7w38.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}