Advisory

GHSA-2chg-86hq-7w38

Also known as: CVE-2022-44797, GO-2022-1098

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.

Specific Go Packages Affected
github.com/btcsuite/btcd/wire

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2022-11-07 12:00 UTC
Modified
2024-05-20 21:36 UTC

Affected packages and fixes

github.com/btcsuite/btcd

Go · All systems

Affected

  • introduced 0, fixed 0.23.2 (semver)

Fixed versions

0.23.2

Fix

github.com/lightningnetwork/lnd

Go · All systems

Affected

  • introduced 0, fixed 0.15.2-beta (semver)

Fixed versions

0.15.2-beta

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences