GSD-2022-23492

Vulnerability from gsd - Updated: 2023-12-13 01:19
Details
go-libp2p is the offical libp2p implementation in the Go programming language. Version `0.18.0` and older of go-libp2p are vulnerable to targeted resource exhaustion attacks. These attacks target libp2p’s connection, stream, peer, and memory management. An attacker can cause the allocation of large amounts of memory, ultimately leading to the process getting killed by the host’s operating system. While a connection manager tasked with keeping the number of connections within manageable limits has been part of go-libp2p, this component was designed to handle the regular churn of peers, not a targeted resource exhaustion attack. Users are advised to upgrade their version of go-libp2p to version `0.18.1` or newer. Users unable to upgrade may consult the denial of service (dos) mitigation page for more information on how to incorporate mitigation strategies, monitor your application, and respond to attacks.
Aliases
Aliases

{
  "GSD": {
    "alias": "CVE-2022-23492",
    "id": "GSD-2022-23492"
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "aliases": [
        "CVE-2022-23492"
      ],
      "details": "go-libp2p is the offical libp2p implementation in the Go programming language. Version `0.18.0` and older of go-libp2p are vulnerable to targeted resource exhaustion attacks. These attacks target libp2p\u2019s connection, stream, peer, and memory management. An attacker can cause the allocation of large amounts of memory, ultimately leading to the process getting killed by the host\u2019s operating system. While a connection manager tasked with keeping the number of connections within manageable limits has been part of go-libp2p, this component was designed to handle the regular churn of peers, not a targeted resource exhaustion attack. Users are advised to upgrade their version of go-libp2p to version `0.18.1` or newer. Users unable to upgrade may consult the denial of service (dos) mitigation page for more information on how to incorporate mitigation strategies, monitor your application, and respond to attacks.",
      "id": "GSD-2022-23492",
      "modified": "2023-12-13T01:19:35.120724Z",
      "schema_version": "1.4.0"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "security-advisories@github.com",
        "ID": "CVE-2022-23492",
        "STATE": "PUBLIC"
      },
      "affects": {
        "vendor": {
          "vendor_data": [
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "go-libp2p",
                    "version": {
                      "version_data": [
                        {
                          "version_affected": "=",
                          "version_value": "\u003c 0.18.0"
                        }
                      ]
                    }
                  }
                ]
              },
              "vendor_name": "libp2p"
            }
          ]
        }
      },
      "data_format": "MITRE",
      "data_type": "CVE",
      "data_version": "4.0",
      "description": {
        "description_data": [
          {
            "lang": "eng",
            "value": "go-libp2p is the offical libp2p implementation in the Go programming language. Version `0.18.0` and older of go-libp2p are vulnerable to targeted resource exhaustion attacks. These attacks target libp2p\u2019s connection, stream, peer, and memory management. An attacker can cause the allocation of large amounts of memory, ultimately leading to the process getting killed by the host\u2019s operating system. While a connection manager tasked with keeping the number of connections within manageable limits has been part of go-libp2p, this component was designed to handle the regular churn of peers, not a targeted resource exhaustion attack. Users are advised to upgrade their version of go-libp2p to version `0.18.1` or newer. Users unable to upgrade may consult the denial of service (dos) mitigation page for more information on how to incorporate mitigation strategies, monitor your application, and respond to attacks."
          }
        ]
      },
      "impact": {
        "cvss": [
          {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 7.5,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "NONE",
            "integrityImpact": "NONE",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
            "version": "3.1"
          }
        ]
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "cweId": "CWE-400",
                "lang": "eng",
                "value": "CWE-400: Uncontrolled Resource Consumption"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "https://github.com/libp2p/go-libp2p/security/advisories/GHSA-j7qp-mfxf-8xjw",
            "refsource": "MISC",
            "url": "https://github.com/libp2p/go-libp2p/security/advisories/GHSA-j7qp-mfxf-8xjw"
          },
          {
            "name": "https://github.com/libp2p/go-libp2p/commit/15d7dfbf54264ead8e6f49ca658d79c90635e2de",
            "refsource": "MISC",
            "url": "https://github.com/libp2p/go-libp2p/commit/15d7dfbf54264ead8e6f49ca658d79c90635e2de"
          },
          {
            "name": "https://docs.libp2p.io/reference/dos-mitigation/",
            "refsource": "MISC",
            "url": "https://docs.libp2p.io/reference/dos-mitigation/"
          }
        ]
      },
      "source": {
        "advisory": "GHSA-j7qp-mfxf-8xjw",
        "discovery": "UNKNOWN"
      }
    },
    "gitlab.com": {
      "advisories": [
        {
          "affected_range": "\u003cv0.18.1",
          "affected_versions": "All versions before 0.18.1",
          "cwe_ids": [
            "CWE-1035",
            "CWE-400",
            "CWE-937"
          ],
          "date": "2022-12-08",
          "description": "go-libp2p is the offical libp2p implementation in the Go programming language. Version `0.18.0` and older of go-libp2p is vulnerable to targeted resource exhaustion attacks. These attacks target libp2p\u2019s connection, stream, peer, and memory management. An attacker can cause the allocation of large amounts of memory, ultimately leading to the process getting killed by the host\u2019s operating system. While a connection manager tasked with keeping the number of connections within manageable limits has been part of go-libp2p, this component was designed to handle the regular churn of peers, not a targeted resource exhaustion attack. Users are advised to upgrade their version of go-libp2p to version `0.18.1` or newer. Users unable to upgrade may consult the denial of service (dos) mitigation page for more information on how to incorporate mitigation strategies, monitor your application, and respond to attacks.",
          "fixed_versions": [
            "v0.18.1"
          ],
          "identifier": "CVE-2022-23492",
          "identifiers": [
            "GHSA-j7qp-mfxf-8xjw",
            "CVE-2022-23492"
          ],
          "not_impacted": "All versions starting from 0.18.1",
          "package_slug": "go/github.com/libp2p/go-libp2p",
          "pubdate": "2022-12-07",
          "solution": "Upgrade to version 0.18.1 or above.",
          "title": "Uncontrolled Resource Consumption",
          "urls": [
            "https://github.com/libp2p/go-libp2p/security/advisories/GHSA-j7qp-mfxf-8xjw",
            "https://github.com/libp2p/js-libp2p/security/advisories/GHSA-f44q-634c-jvwv",
            "https://github.com/libp2p/rust-libp2p/security/advisories/GHSA-jvgw-gccv-q5p8",
            "https://nvd.nist.gov/vuln/detail/CVE-2022-23492",
            "https://github.com/libp2p/go-libp2p/commit/15d7dfbf54264ead8e6f49ca658d79c90635e2de",
            "https://docs.libp2p.io/reference/dos-mitigation/",
            "https://github.com/advisories/GHSA-j7qp-mfxf-8xjw"
          ],
          "uuid": "7c6533cd-7d2e-472d-95d2-717a1c9dea1c",
          "versions": [
            {
              "commit": {
                "sha": "c32387c449b08892c6edd02dee8c39140e2e8e8a",
                "tags": [
                  "v0.18.1"
                ],
                "timestamp": "20220411201703"
              },
              "number": "v0.18.1"
            }
          ]
        },
        {
          "affected_range": "\u003cv0.18.0",
          "affected_versions": "All versions before 0.18.0",
          "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "cwe_ids": [
            "CWE-1035",
            "CWE-400",
            "CWE-937"
          ],
          "date": "2023-02-09",
          "description": "go-libp2p is the offical libp2p implementation in the Go programming language. Version `0.18.0` and older of go-libp2p is vulnerable to targeted resource exhaustion attacks. These attacks target libp2p\u2019s connection, stream, peer, and memory management. An attacker can cause the allocation of large amounts of memory, ultimately leading to the process getting killed by the host\u2019s operating system. While a connection manager tasked with keeping the number of connections within manageable limits has been part of go-libp2p, this component was designed to handle the regular churn of peers, not a targeted resource exhaustion attack. Users are advised to upgrade their version of go-libp2p to version `0.18.1` or newer. Users unable to upgrade may consult the denial of service (dos) mitigation page for more information on how to incorporate mitigation strategies, monitor your application, and respond to attacks.",
          "fixed_versions": [
            "v0.18.0"
          ],
          "identifier": "CVE-2022-23492",
          "identifiers": [
            "GHSA-j7qp-mfxf-8xjw",
            "CVE-2022-23492"
          ],
          "not_impacted": "All versions starting from 0.18.0",
          "package_slug": "go/github.com/libp2p/go-libp2p/config",
          "pubdate": "2022-12-07",
          "solution": "Upgrade to version 0.18.0 or above.",
          "title": "Uncontrolled Resource Consumption",
          "urls": [
            "https://github.com/libp2p/go-libp2p/security/advisories/GHSA-j7qp-mfxf-8xjw",
            "https://github.com/libp2p/js-libp2p/security/advisories/GHSA-f44q-634c-jvwv",
            "https://github.com/libp2p/rust-libp2p/security/advisories/GHSA-jvgw-gccv-q5p8",
            "https://nvd.nist.gov/vuln/detail/CVE-2022-23492",
            "https://github.com/libp2p/go-libp2p/commit/15d7dfbf54264ead8e6f49ca658d79c90635e2de",
            "https://docs.libp2p.io/reference/dos-mitigation/",
            "https://pkg.go.dev/vuln/GO-2022-1148",
            "https://github.com/advisories/GHSA-j7qp-mfxf-8xjw"
          ],
          "uuid": "cf24e89b-1f30-41cf-82af-3416132dcc24",
          "versions": [
            {
              "commit": {
                "sha": "5bab5811001a3442f3dabeec03a1c045cc9ef88a",
                "tags": [
                  "v0.18.0"
                ],
                "timestamp": "20220318075225"
              },
              "number": "v0.18.0"
            }
          ]
        },
        {
          "affected_range": "\u003cv0.18.0",
          "affected_versions": "All versions before 0.18.0",
          "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "cwe_ids": [
            "CWE-1035",
            "CWE-400",
            "CWE-937"
          ],
          "date": "2023-02-09",
          "description": "go-libp2p is the offical libp2p implementation in the Go programming language. Version `0.18.0` and older of go-libp2p is vulnerable to targeted resource exhaustion attacks. These attacks target libp2p\u2019s connection, stream, peer, and memory management. An attacker can cause the allocation of large amounts of memory, ultimately leading to the process getting killed by the host\u2019s operating system. While a connection manager tasked with keeping the number of connections within manageable limits has been part of go-libp2p, this component was designed to handle the regular churn of peers, not a targeted resource exhaustion attack. Users are advised to upgrade their version of go-libp2p to version `0.18.1` or newer. Users unable to upgrade may consult the denial of service (dos) mitigation page for more information on how to incorporate mitigation strategies, monitor your application, and respond to attacks.",
          "fixed_versions": [
            "v0.18.0"
          ],
          "identifier": "CVE-2022-23492",
          "identifiers": [
            "GHSA-j7qp-mfxf-8xjw",
            "CVE-2022-23492"
          ],
          "not_impacted": "All versions starting from 0.18.0",
          "package_slug": "go/github.com/libp2p/go-libp2p/p2p/host/autonat",
          "pubdate": "2022-12-07",
          "solution": "Upgrade to version 0.18.0 or above.",
          "title": "Uncontrolled Resource Consumption",
          "urls": [
            "https://github.com/libp2p/go-libp2p/security/advisories/GHSA-j7qp-mfxf-8xjw",
            "https://github.com/libp2p/js-libp2p/security/advisories/GHSA-f44q-634c-jvwv",
            "https://github.com/libp2p/rust-libp2p/security/advisories/GHSA-jvgw-gccv-q5p8",
            "https://nvd.nist.gov/vuln/detail/CVE-2022-23492",
            "https://github.com/libp2p/go-libp2p/commit/15d7dfbf54264ead8e6f49ca658d79c90635e2de",
            "https://docs.libp2p.io/reference/dos-mitigation/",
            "https://pkg.go.dev/vuln/GO-2022-1148",
            "https://github.com/advisories/GHSA-j7qp-mfxf-8xjw"
          ],
          "uuid": "658761f3-f774-452f-895a-3be1662ac780",
          "versions": [
            {
              "commit": {
                "sha": "5bab5811001a3442f3dabeec03a1c045cc9ef88a",
                "tags": [
                  "v0.18.0"
                ],
                "timestamp": "20220318075225"
              },
              "number": "v0.18.0"
            }
          ]
        },
        {
          "affected_range": "\u003cv0.18.0",
          "affected_versions": "All versions before 0.18.0",
          "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "cwe_ids": [
            "CWE-1035",
            "CWE-400",
            "CWE-937"
          ],
          "date": "2023-02-09",
          "description": "go-libp2p is the offical libp2p implementation in the Go programming language. Version `0.18.0` and older of go-libp2p is vulnerable to targeted resource exhaustion attacks. These attacks target libp2p\u2019s connection, stream, peer, and memory management. An attacker can cause the allocation of large amounts of memory, ultimately leading to the process getting killed by the host\u2019s operating system. While a connection manager tasked with keeping the number of connections within manageable limits has been part of go-libp2p, this component was designed to handle the regular churn of peers, not a targeted resource exhaustion attack. Users are advised to upgrade their version of go-libp2p to version `0.18.1` or newer. Users unable to upgrade may consult the denial of service (dos) mitigation page for more information on how to incorporate mitigation strategies, monitor your application, and respond to attacks.",
          "fixed_versions": [
            "v0.18.0"
          ],
          "identifier": "CVE-2022-23492",
          "identifiers": [
            "GHSA-j7qp-mfxf-8xjw",
            "CVE-2022-23492"
          ],
          "not_impacted": "All versions starting from 0.18.0",
          "package_slug": "go/github.com/libp2p/go-libp2p/p2p/host/basic",
          "pubdate": "2022-12-07",
          "solution": "Upgrade to version 0.18.0 or above.",
          "title": "Uncontrolled Resource Consumption",
          "urls": [
            "https://github.com/libp2p/go-libp2p/security/advisories/GHSA-j7qp-mfxf-8xjw",
            "https://github.com/libp2p/js-libp2p/security/advisories/GHSA-f44q-634c-jvwv",
            "https://github.com/libp2p/rust-libp2p/security/advisories/GHSA-jvgw-gccv-q5p8",
            "https://nvd.nist.gov/vuln/detail/CVE-2022-23492",
            "https://github.com/libp2p/go-libp2p/commit/15d7dfbf54264ead8e6f49ca658d79c90635e2de",
            "https://docs.libp2p.io/reference/dos-mitigation/",
            "https://pkg.go.dev/vuln/GO-2022-1148",
            "https://github.com/advisories/GHSA-j7qp-mfxf-8xjw"
          ],
          "uuid": "d1771b8a-423d-4a2e-8a56-1372192cba90",
          "versions": [
            {
              "commit": {
                "sha": "5bab5811001a3442f3dabeec03a1c045cc9ef88a",
                "tags": [
                  "v0.18.0"
                ],
                "timestamp": "20220318075225"
              },
              "number": "v0.18.0"
            }
          ]
        },
        {
          "affected_range": "\u003cv0.18.0",
          "affected_versions": "All versions before 0.18.0",
          "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "cwe_ids": [
            "CWE-1035",
            "CWE-400",
            "CWE-937"
          ],
          "date": "2023-02-09",
          "description": "go-libp2p is the offical libp2p implementation in the Go programming language. Version `0.18.0` and older of go-libp2p is vulnerable to targeted resource exhaustion attacks. These attacks target libp2p\u2019s connection, stream, peer, and memory management. An attacker can cause the allocation of large amounts of memory, ultimately leading to the process getting killed by the host\u2019s operating system. While a connection manager tasked with keeping the number of connections within manageable limits has been part of go-libp2p, this component was designed to handle the regular churn of peers, not a targeted resource exhaustion attack. Users are advised to upgrade their version of go-libp2p to version `0.18.1` or newer. Users unable to upgrade may consult the denial of service (dos) mitigation page for more information on how to incorporate mitigation strategies, monitor your application, and respond to attacks.",
          "fixed_versions": [
            "v0.18.0"
          ],
          "identifier": "CVE-2022-23492",
          "identifiers": [
            "GHSA-j7qp-mfxf-8xjw",
            "CVE-2022-23492"
          ],
          "not_impacted": "All versions starting from 0.18.0",
          "package_slug": "go/github.com/libp2p/go-libp2p/p2p/protocol/circuitv1/relay",
          "pubdate": "2022-12-07",
          "solution": "Upgrade to version 0.18.0 or above.",
          "title": "Uncontrolled Resource Consumption",
          "urls": [
            "https://github.com/libp2p/go-libp2p/security/advisories/GHSA-j7qp-mfxf-8xjw",
            "https://github.com/libp2p/js-libp2p/security/advisories/GHSA-f44q-634c-jvwv",
            "https://github.com/libp2p/rust-libp2p/security/advisories/GHSA-jvgw-gccv-q5p8",
            "https://nvd.nist.gov/vuln/detail/CVE-2022-23492",
            "https://github.com/libp2p/go-libp2p/commit/15d7dfbf54264ead8e6f49ca658d79c90635e2de",
            "https://docs.libp2p.io/reference/dos-mitigation/",
            "https://pkg.go.dev/vuln/GO-2022-1148",
            "https://github.com/advisories/GHSA-j7qp-mfxf-8xjw"
          ],
          "uuid": "fb661320-c372-4e86-ba17-18b3393a7dbc",
          "versions": [
            {
              "commit": {
                "sha": "5bab5811001a3442f3dabeec03a1c045cc9ef88a",
                "tags": [
                  "v0.18.0"
                ],
                "timestamp": "20220318075225"
              },
              "number": "v0.18.0"
            }
          ]
        },
        {
          "affected_range": "\u003cv0.18.0",
          "affected_versions": "All versions before 0.18.0",
          "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "cwe_ids": [
            "CWE-1035",
            "CWE-400",
            "CWE-937"
          ],
          "date": "2023-02-09",
          "description": "go-libp2p is the offical libp2p implementation in the Go programming language. Version `0.18.0` and older of go-libp2p is vulnerable to targeted resource exhaustion attacks. These attacks target libp2p\u2019s connection, stream, peer, and memory management. An attacker can cause the allocation of large amounts of memory, ultimately leading to the process getting killed by the host\u2019s operating system. While a connection manager tasked with keeping the number of connections within manageable limits has been part of go-libp2p, this component was designed to handle the regular churn of peers, not a targeted resource exhaustion attack. Users are advised to upgrade their version of go-libp2p to version `0.18.1` or newer. Users unable to upgrade may consult the denial of service (dos) mitigation page for more information on how to incorporate mitigation strategies, monitor your application, and respond to attacks.",
          "fixed_versions": [
            "v0.18.0"
          ],
          "identifier": "CVE-2022-23492",
          "identifiers": [
            "GHSA-j7qp-mfxf-8xjw",
            "CVE-2022-23492"
          ],
          "not_impacted": "All versions starting from 0.18.0",
          "package_slug": "go/github.com/libp2p/go-libp2p/p2p/protocol/circuitv2/client",
          "pubdate": "2022-12-07",
          "solution": "Upgrade to version 0.18.0 or above.",
          "title": "Uncontrolled Resource Consumption",
          "urls": [
            "https://github.com/libp2p/go-libp2p/security/advisories/GHSA-j7qp-mfxf-8xjw",
            "https://github.com/libp2p/js-libp2p/security/advisories/GHSA-f44q-634c-jvwv",
            "https://github.com/libp2p/rust-libp2p/security/advisories/GHSA-jvgw-gccv-q5p8",
            "https://nvd.nist.gov/vuln/detail/CVE-2022-23492",
            "https://github.com/libp2p/go-libp2p/commit/15d7dfbf54264ead8e6f49ca658d79c90635e2de",
            "https://docs.libp2p.io/reference/dos-mitigation/",
            "https://pkg.go.dev/vuln/GO-2022-1148",
            "https://github.com/advisories/GHSA-j7qp-mfxf-8xjw"
          ],
          "uuid": "227ae878-1341-4159-b0bf-02d3788a5fec",
          "versions": [
            {
              "commit": {
                "sha": "5bab5811001a3442f3dabeec03a1c045cc9ef88a",
                "tags": [
                  "v0.18.0"
                ],
                "timestamp": "20220318075225"
              },
              "number": "v0.18.0"
            }
          ]
        },
        {
          "affected_range": "\u003cv0.18.0",
          "affected_versions": "All versions before 0.18.0",
          "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "cwe_ids": [
            "CWE-1035",
            "CWE-400",
            "CWE-937"
          ],
          "date": "2023-02-09",
          "description": "go-libp2p is the offical libp2p implementation in the Go programming language. Version `0.18.0` and older of go-libp2p is vulnerable to targeted resource exhaustion attacks. These attacks target libp2p\u2019s connection, stream, peer, and memory management. An attacker can cause the allocation of large amounts of memory, ultimately leading to the process getting killed by the host\u2019s operating system. While a connection manager tasked with keeping the number of connections within manageable limits has been part of go-libp2p, this component was designed to handle the regular churn of peers, not a targeted resource exhaustion attack. Users are advised to upgrade their version of go-libp2p to version `0.18.1` or newer. Users unable to upgrade may consult the denial of service (dos) mitigation page for more information on how to incorporate mitigation strategies, monitor your application, and respond to attacks.",
          "fixed_versions": [
            "v0.18.0"
          ],
          "identifier": "CVE-2022-23492",
          "identifiers": [
            "GHSA-j7qp-mfxf-8xjw",
            "CVE-2022-23492"
          ],
          "not_impacted": "All versions starting from 0.18.0",
          "package_slug": "go/github.com/libp2p/go-libp2p/p2p/protocol/circuitv2/relay",
          "pubdate": "2022-12-07",
          "solution": "Upgrade to version 0.18.0 or above.",
          "title": "Uncontrolled Resource Consumption",
          "urls": [
            "https://github.com/libp2p/go-libp2p/security/advisories/GHSA-j7qp-mfxf-8xjw",
            "https://github.com/libp2p/js-libp2p/security/advisories/GHSA-f44q-634c-jvwv",
            "https://github.com/libp2p/rust-libp2p/security/advisories/GHSA-jvgw-gccv-q5p8",
            "https://nvd.nist.gov/vuln/detail/CVE-2022-23492",
            "https://github.com/libp2p/go-libp2p/commit/15d7dfbf54264ead8e6f49ca658d79c90635e2de",
            "https://docs.libp2p.io/reference/dos-mitigation/",
            "https://pkg.go.dev/vuln/GO-2022-1148",
            "https://github.com/advisories/GHSA-j7qp-mfxf-8xjw"
          ],
          "uuid": "0c36c4a5-8aba-4fc2-99cf-55e77c9998f7",
          "versions": [
            {
              "commit": {
                "sha": "5bab5811001a3442f3dabeec03a1c045cc9ef88a",
                "tags": [
                  "v0.18.0"
                ],
                "timestamp": "20220318075225"
              },
              "number": "v0.18.0"
            }
          ]
        },
        {
          "affected_range": "\u003cv0.18.0",
          "affected_versions": "All versions before 0.18.0",
          "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "cwe_ids": [
            "CWE-1035",
            "CWE-400",
            "CWE-937"
          ],
          "date": "2023-02-09",
          "description": "go-libp2p is the offical libp2p implementation in the Go programming language. Version `0.18.0` and older of go-libp2p is vulnerable to targeted resource exhaustion attacks. These attacks target libp2p\u2019s connection, stream, peer, and memory management. An attacker can cause the allocation of large amounts of memory, ultimately leading to the process getting killed by the host\u2019s operating system. While a connection manager tasked with keeping the number of connections within manageable limits has been part of go-libp2p, this component was designed to handle the regular churn of peers, not a targeted resource exhaustion attack. Users are advised to upgrade their version of go-libp2p to version `0.18.1` or newer. Users unable to upgrade may consult the denial of service (dos) mitigation page for more information on how to incorporate mitigation strategies, monitor your application, and respond to attacks.",
          "fixed_versions": [
            "v0.18.0"
          ],
          "identifier": "CVE-2022-23492",
          "identifiers": [
            "GHSA-j7qp-mfxf-8xjw",
            "CVE-2022-23492"
          ],
          "not_impacted": "All versions starting from 0.18.0",
          "package_slug": "go/github.com/libp2p/go-libp2p/p2p/protocol/holepunch",
          "pubdate": "2022-12-07",
          "solution": "Upgrade to version 0.18.0 or above.",
          "title": "Uncontrolled Resource Consumption",
          "urls": [
            "https://github.com/libp2p/go-libp2p/security/advisories/GHSA-j7qp-mfxf-8xjw",
            "https://github.com/libp2p/js-libp2p/security/advisories/GHSA-f44q-634c-jvwv",
            "https://github.com/libp2p/rust-libp2p/security/advisories/GHSA-jvgw-gccv-q5p8",
            "https://nvd.nist.gov/vuln/detail/CVE-2022-23492",
            "https://github.com/libp2p/go-libp2p/commit/15d7dfbf54264ead8e6f49ca658d79c90635e2de",
            "https://docs.libp2p.io/reference/dos-mitigation/",
            "https://pkg.go.dev/vuln/GO-2022-1148",
            "https://github.com/advisories/GHSA-j7qp-mfxf-8xjw"
          ],
          "uuid": "029d8afe-85cd-463d-a8ff-02359897b89e",
          "versions": [
            {
              "commit": {
                "sha": "5bab5811001a3442f3dabeec03a1c045cc9ef88a",
                "tags": [
                  "v0.18.0"
                ],
                "timestamp": "20220318075225"
              },
              "number": "v0.18.0"
            }
          ]
        }
      ]
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:protocol:libp2p:*:*:*:*:*:go:*:*",
                "cpe_name": [],
                "versionEndExcluding": "0.18.0",
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "security-advisories@github.com",
          "ID": "CVE-2022-23492"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "go-libp2p is the offical libp2p implementation in the Go programming language. Version `0.18.0` and older of go-libp2p are vulnerable to targeted resource exhaustion attacks. These attacks target libp2p\u2019s connection, stream, peer, and memory management. An attacker can cause the allocation of large amounts of memory, ultimately leading to the process getting killed by the host\u2019s operating system. While a connection manager tasked with keeping the number of connections within manageable limits has been part of go-libp2p, this component was designed to handle the regular churn of peers, not a targeted resource exhaustion attack. Users are advised to upgrade their version of go-libp2p to version `0.18.1` or newer. Users unable to upgrade may consult the denial of service (dos) mitigation page for more information on how to incorporate mitigation strategies, monitor your application, and respond to attacks."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "CWE-770"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://docs.libp2p.io/reference/dos-mitigation/",
              "refsource": "MISC",
              "tags": [
                "Vendor Advisory"
              ],
              "url": "https://docs.libp2p.io/reference/dos-mitigation/"
            },
            {
              "name": "https://github.com/libp2p/go-libp2p/security/advisories/GHSA-j7qp-mfxf-8xjw",
              "refsource": "MISC",
              "tags": [
                "Mitigation",
                "Third Party Advisory"
              ],
              "url": "https://github.com/libp2p/go-libp2p/security/advisories/GHSA-j7qp-mfxf-8xjw"
            },
            {
              "name": "https://github.com/libp2p/go-libp2p/commit/15d7dfbf54264ead8e6f49ca658d79c90635e2de",
              "refsource": "MISC",
              "tags": [
                "Patch",
                "Third Party Advisory"
              ],
              "url": "https://github.com/libp2p/go-libp2p/commit/15d7dfbf54264ead8e6f49ca658d79c90635e2de"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV3": {
          "cvssV3": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 7.5,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "NONE",
            "integrityImpact": "NONE",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
            "version": "3.1"
          },
          "exploitabilityScore": 3.9,
          "impactScore": 3.6
        }
      },
      "lastModifiedDate": "2023-07-14T19:22Z",
      "publishedDate": "2022-12-08T01:15Z"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

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.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…