GHSA-HC82-W9V8-83PR
Vulnerability from github – Published: 2022-11-18 18:50 – Updated: 2022-11-18 18:50Impact
All lnd nodes before version v0.15.4 are vulnerable to a block parsing bug that can cause a node to enter a degraded state once encountered. In this degraded state, nodes can continue to make payments and forward HTLCs, and close out channels. Opening channels is prohibited, and also on chain transaction events will be undetected.
This can cause loss of funds if a CSV expiry is researched during a breach attempt or a CLTV delta expires forgetting the funds in the HTLC.
Patches
A patch is available starting with lnd v0.15.4.
Workarounds
Nodes can use the lncli updatechanpolicy RPC call to increase their CLTV value to a very high amount or increase their fee policies. This will prevent nodes from routing through your node, meaning that no pending HTLCs can be present.
References
https://github.com/lightningnetwork/lnd/issues/7096
https://github.com/lightningnetwork/lnd/releases/tag/v0.15.4-beta
{
"affected": [
{
"package": {
"ecosystem": "Go",
"name": "github.com/lightningnetwork/lnd"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "0.15.4-beta"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2022-39389"
],
"database_specific": {
"cwe_ids": [
"CWE-20"
],
"github_reviewed": true,
"github_reviewed_at": "2022-11-18T18:50:01Z",
"nvd_published_at": "2022-11-17T22:15:00Z",
"severity": "HIGH"
},
"details": "### Impact\n\nAll lnd nodes before version `v0.15.4` are vulnerable to a block parsing bug that can cause a node to enter a degraded state once encountered. In this degraded state, nodes can continue to make payments and forward HTLCs, and close out channels. Opening channels is prohibited, and also on chain transaction events will be undetected. \n\nThis can cause loss of funds if a CSV expiry is researched during a breach attempt or a CLTV delta expires forgetting the funds in the HTLC. \n\n### Patches\n\nA patch is available starting with lnd `v0.15.4`. \n\n### Workarounds\n\nNodes can use the `lncli updatechanpolicy` RPC call to increase their CLTV value to a very high amount or increase their fee policies. This will prevent nodes from routing through your node, meaning that no pending HTLCs can be present. \n\n### References\n\nhttps://github.com/lightningnetwork/lnd/issues/7096\n\nhttps://github.com/lightningnetwork/lnd/releases/tag/v0.15.4-beta\n\n",
"id": "GHSA-hc82-w9v8-83pr",
"modified": "2022-11-18T18:50:01Z",
"published": "2022-11-18T18:50:01Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/lightningnetwork/lnd/security/advisories/GHSA-hc82-w9v8-83pr"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2022-39389"
},
{
"type": "WEB",
"url": "https://github.com/lightningnetwork/lnd/issues/7096"
},
{
"type": "WEB",
"url": "https://github.com/lightningnetwork/lnd/pull/7098"
},
{
"type": "PACKAGE",
"url": "https://github.com/lightningnetwork/lnd"
},
{
"type": "WEB",
"url": "https://github.com/lightningnetwork/lnd/releases/tag/v0.15.4-beta"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H",
"type": "CVSS_V3"
}
],
"summary": "Witness Block Parsing DoS Vulnerability "
}
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.