gsd-2022-44797
Vulnerability from gsd
Modified
2023-12-13 01:19
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.
Aliases
Aliases



{
  "GSD": {
    "alias": "CVE-2022-44797",
    "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.",
    "id": "GSD-2022-44797"
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "aliases": [
        "CVE-2022-44797"
      ],
      "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.",
      "id": "GSD-2022-44797",
      "modified": "2023-12-13T01:19:25.148683Z",
      "schema_version": "1.4.0"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "cve@mitre.org",
        "ID": "CVE-2022-44797",
        "STATE": "PUBLIC"
      },
      "affects": {
        "vendor": {
          "vendor_data": [
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "n/a",
                    "version": {
                      "version_data": [
                        {
                          "version_value": "n/a"
                        }
                      ]
                    }
                  }
                ]
              },
              "vendor_name": "n/a"
            }
          ]
        }
      },
      "data_format": "MITRE",
      "data_type": "CVE",
      "data_version": "4.0",
      "description": {
        "description_data": [
          {
            "lang": "eng",
            "value": "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."
          }
        ]
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "n/a"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "https://github.com/lightningnetwork/lnd/issues/7002",
            "refsource": "MISC",
            "url": "https://github.com/lightningnetwork/lnd/issues/7002"
          },
          {
            "name": "https://github.com/lightningnetwork/lnd/releases/tag/v0.15.2-beta",
            "refsource": "MISC",
            "url": "https://github.com/lightningnetwork/lnd/releases/tag/v0.15.2-beta"
          },
          {
            "name": "https://github.com/btcsuite/btcd/pull/1896",
            "refsource": "MISC",
            "url": "https://github.com/btcsuite/btcd/pull/1896"
          },
          {
            "name": "https://github.com/btcsuite/btcd/releases/tag/v0.23.2",
            "refsource": "MISC",
            "url": "https://github.com/btcsuite/btcd/releases/tag/v0.23.2"
          }
        ]
      }
    },
    "gitlab.com": {
      "advisories": [
        {
          "affected_range": "\u003cv0.23.2",
          "affected_versions": "All versions before 0.23.2",
          "cwe_ids": [
            "CWE-1035",
            "CWE-937"
          ],
          "date": "2022-11-07",
          "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.",
          "fixed_versions": [
            "v0.23.2"
          ],
          "identifier": "CVE-2022-44797",
          "identifiers": [
            "GHSA-2chg-86hq-7w38",
            "CVE-2022-44797"
          ],
          "not_impacted": "All versions starting from 0.23.2",
          "package_slug": "go/github.com/btcsuite/btcd",
          "pubdate": "2022-11-07",
          "solution": "Upgrade to version 0.23.2 or above.",
          "title": "btcd mishandles witness size checking",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2022-44797",
            "https://github.com/lightningnetwork/lnd/issues/7002",
            "https://github.com/btcsuite/btcd/pull/1896",
            "https://github.com/btcsuite/btcd/releases/tag/v0.23.2",
            "https://github.com/lightningnetwork/lnd/releases/tag/v0.15.2-beta",
            "https://github.com/advisories/GHSA-2chg-86hq-7w38"
          ],
          "uuid": "7f878d96-92bd-405d-a962-e5c853c7c887",
          "versions": [
            {
              "commit": {
                "sha": "689445ba0d44a5e16da9bb7af7c3868b839dcf3b",
                "tags": [
                  "v0.23.2"
                ],
                "timestamp": "20221010013558"
              },
              "number": "v0.23.2"
            }
          ]
        },
        {
          "affected_range": "\u003cv0.23.2",
          "affected_versions": "All versions before 0.23.2",
          "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
          "cwe_ids": [
            "CWE-1035",
            "CWE-937"
          ],
          "date": "2023-02-09",
          "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.",
          "fixed_versions": [
            "v0.23.2"
          ],
          "identifier": "CVE-2022-44797",
          "identifiers": [
            "GHSA-2chg-86hq-7w38",
            "CVE-2022-44797"
          ],
          "not_impacted": "All versions starting from 0.23.2",
          "package_slug": "go/github.com/btcsuite/btcd/wire",
          "pubdate": "2022-11-07",
          "solution": "Upgrade to version 0.23.2 or above.",
          "title": "btcd mishandles witness size checking",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2022-44797",
            "https://github.com/lightningnetwork/lnd/issues/7002",
            "https://github.com/btcsuite/btcd/pull/1896",
            "https://github.com/btcsuite/btcd/releases/tag/v0.23.2",
            "https://github.com/lightningnetwork/lnd/releases/tag/v0.15.2-beta",
            "https://github.com/btcsuite/btcd/pull/1896/commits/f523d4ccaa5f34a2f761f16a05f5d6e6665b1168",
            "https://github.com/advisories/GHSA-2chg-86hq-7w38",
            "https://pkg.go.dev/vuln/GO-2022-1098"
          ],
          "uuid": "f9e29370-3e01-43ca-af03-649b29ae8146",
          "versions": [
            {
              "commit": {
                "sha": "689445ba0d44a5e16da9bb7af7c3868b839dcf3b",
                "tags": [
                  "v0.23.2"
                ],
                "timestamp": "20221010013558"
              },
              "number": "v0.23.2"
            }
          ]
        },
        {
          "affected_range": "\u003cv0.15.2-beta",
          "affected_versions": "All versions before 0.15.2-beta",
          "cwe_ids": [
            "CWE-1035",
            "CWE-937"
          ],
          "date": "2022-11-07",
          "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.",
          "fixed_versions": [
            "v0.15.2-beta"
          ],
          "identifier": "CVE-2022-44797",
          "identifiers": [
            "GHSA-2chg-86hq-7w38",
            "CVE-2022-44797"
          ],
          "not_impacted": "All versions starting from 0.15.2-beta",
          "package_slug": "go/github.com/lightningnetwork/lnd",
          "pubdate": "2022-11-07",
          "solution": "Upgrade to version 0.15.2-beta or above. *Note*: 0.15.2-beta may be an unstable version. Use caution.",
          "title": "btcd mishandles witness size checking",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2022-44797",
            "https://github.com/lightningnetwork/lnd/issues/7002",
            "https://github.com/btcsuite/btcd/pull/1896",
            "https://github.com/btcsuite/btcd/releases/tag/v0.23.2",
            "https://github.com/lightningnetwork/lnd/releases/tag/v0.15.2-beta",
            "https://github.com/advisories/GHSA-2chg-86hq-7w38"
          ],
          "uuid": "f30b6e17-41dd-430d-be6c-5190c30843f4",
          "versions": [
            {
              "commit": {
                "sha": "85f6506ce01fc8dcaf8c427de37be51c28c75702",
                "tags": [
                  "v0.15.2-beta"
                ],
                "timestamp": "20221010014532"
              },
              "number": "v0.15.2-beta"
            }
          ]
        }
      ]
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [
              {
                "children": [],
                "cpe_match": [
                  {
                    "cpe23Uri": "cpe:2.3:a:btcd_project:btcd:*:*:*:*:*:*:*:*",
                    "cpe_name": [],
                    "versionEndExcluding": "0.23.2",
                    "vulnerable": true
                  }
                ],
                "operator": "OR"
              },
              {
                "children": [],
                "cpe_match": [
                  {
                    "cpe23Uri": "cpe:2.3:a:lightning_network_daemon_project:lightning_network_daemon:*:*:*:*:*:*:*:*",
                    "cpe_name": [],
                    "versionEndExcluding": "0.15.2",
                    "vulnerable": false
                  }
                ],
                "operator": "OR"
              }
            ],
            "cpe_match": [],
            "operator": "AND"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "cve@mitre.org",
          "ID": "CVE-2022-44797"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "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."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "NVD-CWE-noinfo"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://github.com/btcsuite/btcd/pull/1896",
              "refsource": "MISC",
              "tags": [
                "Patch",
                "Third Party Advisory"
              ],
              "url": "https://github.com/btcsuite/btcd/pull/1896"
            },
            {
              "name": "https://github.com/lightningnetwork/lnd/issues/7002",
              "refsource": "MISC",
              "tags": [
                "Exploit",
                "Issue Tracking",
                "Third Party Advisory"
              ],
              "url": "https://github.com/lightningnetwork/lnd/issues/7002"
            },
            {
              "name": "https://github.com/btcsuite/btcd/releases/tag/v0.23.2",
              "refsource": "MISC",
              "tags": [
                "Release Notes",
                "Third Party Advisory"
              ],
              "url": "https://github.com/btcsuite/btcd/releases/tag/v0.23.2"
            },
            {
              "name": "https://github.com/lightningnetwork/lnd/releases/tag/v0.15.2-beta",
              "refsource": "MISC",
              "tags": [
                "Release Notes",
                "Third Party Advisory"
              ],
              "url": "https://github.com/lightningnetwork/lnd/releases/tag/v0.15.2-beta"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV3": {
          "cvssV3": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 9.8,
            "baseSeverity": "CRITICAL",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "exploitabilityScore": 3.9,
          "impactScore": 5.9
        }
      },
      "lastModifiedDate": "2022-11-14T18:25Z",
      "publishedDate": "2022-11-07T04:15Z"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading...

Loading...

Loading...
  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.