GSD-2022-44797

Vulnerability from gsd - Updated: 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…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

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.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…