Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Aliases: CVE-2022-44797, GHSA-2chg-86hq-7w38 Fixes #1098 Change-Id: Ibb647ca668635dbaa2321c8fbc4a14451fa02d70 Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/448536 Reviewed-by: Damien Neil <dneil@google.com> Run-TryBot: Zvonimir Pavlinovic <zpavlinovic@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
- Loading branch information
1 parent
e7dc6d4
commit a8695ec
Showing
2 changed files
with
111 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
{ | ||
"id": "GO-2022-1098", | ||
"published": "0001-01-01T00:00:00Z", | ||
"modified": "0001-01-01T00:00:00Z", | ||
"aliases": [ | ||
"CVE-2022-44797", | ||
"GHSA-2chg-86hq-7w38" | ||
], | ||
"details": "Erroneous message decoding can cause denial of service.\n\nImproper checking of maximum witness size during node message decoding prevented nodes in Lightning Labs lnd (before 0.15.2-beta) to sync.", | ||
"affected": [ | ||
{ | ||
"package": { | ||
"name": "github.com/btcsuite/btcd", | ||
"ecosystem": "Go" | ||
}, | ||
"ranges": [ | ||
{ | ||
"type": "SEMVER", | ||
"events": [ | ||
{ | ||
"introduced": "0" | ||
}, | ||
{ | ||
"fixed": "0.23.2" | ||
} | ||
] | ||
} | ||
], | ||
"database_specific": { | ||
"url": "https://pkg.go.dev/vuln/GO-2022-1098" | ||
}, | ||
"ecosystem_specific": { | ||
"imports": [ | ||
{ | ||
"path": "github.com/btcsuite/btcd/wire", | ||
"symbols": [ | ||
"MsgBlock.BtcDecode", | ||
"MsgBlock.Deserialize", | ||
"MsgBlock.DeserializeNoWitness", | ||
"MsgBlock.DeserializeTxLoc", | ||
"MsgTx.BtcDecode", | ||
"MsgTx.Deserialize", | ||
"MsgTx.DeserializeNoWitness", | ||
"ReadMessage", | ||
"ReadMessageN", | ||
"ReadMessageWithEncodingN" | ||
] | ||
} | ||
] | ||
} | ||
} | ||
], | ||
"references": [ | ||
{ | ||
"type": "ADVISORY", | ||
"url": "https://github.com/advisories/GHSA-2chg-86hq-7w38" | ||
}, | ||
{ | ||
"type": "REPORT", | ||
"url": "https://github.com/lightningnetwork/lnd/issues/7002" | ||
}, | ||
{ | ||
"type": "FIX", | ||
"url": "https://github.com/btcsuite/btcd/pull/1896/commits/f523d4ccaa5f34a2f761f16a05f5d6e6665b1168" | ||
}, | ||
{ | ||
"type": "WEB", | ||
"url": "https://github.com/btcsuite/btcd/releases/tag/v0.23.2" | ||
} | ||
], | ||
"credits": [ | ||
{ | ||
"name": "rsafier and Roasbeef (Github aliases)" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
modules: | ||
- module: github.com/btcsuite/btcd | ||
versions: | ||
- fixed: 0.23.2 | ||
vulnerable_at: 0.23.1 | ||
packages: | ||
- package: github.com/btcsuite/btcd/wire | ||
symbols: | ||
- MsgTx.BtcDecode | ||
derived_symbols: | ||
- MsgBlock.BtcDecode | ||
- MsgBlock.Deserialize | ||
- MsgBlock.DeserializeNoWitness | ||
- MsgBlock.DeserializeTxLoc | ||
- MsgTx.Deserialize | ||
- MsgTx.DeserializeNoWitness | ||
- ReadMessage | ||
- ReadMessageN | ||
- ReadMessageWithEncodingN | ||
description: | | ||
Erroneous message decoding can cause denial of service. | ||
Improper checking of maximum witness size during node | ||
message decoding prevented nodes in Lightning Labs lnd | ||
(before 0.15.2-beta) to sync. | ||
cves: | ||
- CVE-2022-44797 | ||
ghsas: | ||
- GHSA-2chg-86hq-7w38 | ||
credit: rsafier and Roasbeef (Github aliases) | ||
references: | ||
- advisory: https://github.com/advisories/GHSA-2chg-86hq-7w38 | ||
- report: https://github.com/lightningnetwork/lnd/issues/7002 | ||
- fix: https://github.com/btcsuite/btcd/pull/1896/commits/f523d4ccaa5f34a2f761f16a05f5d6e6665b1168 | ||
- web: https://github.com/btcsuite/btcd/releases/tag/v0.23.2 |