Search

Find a vulnerability

Search criteria

    2 vulnerabilities found for @libp2p/kad-dht by libp2p

    CVE-2026-144572 (GCVE-0-2026-144572)

    Vulnerability from nvd – Published: 2026-12-04 01:09 – Updated: 2026-12-04 01:09
    VLAI
    Title
    @libp2p/kad-dht through 16.4.11 Record Validation Bypass via Prototype Namespaces
    Summary
    @libp2p/kad-dht through 16.4.11 contains a record validation bypass in verifyRecord that allows unauthenticated remote peers to store unvalidated DHT records using constructor or toString key namespaces. Attackers can repeatedly send PUT_VALUE messages with keys like /constructor/<random> to DHT server nodes, filling the datastore until host disk is exhausted.
    CWE
    • CWE-770 - Allocation of Resources Without Limits or Throttling
    Assigner
    VulnCheck CNA under the mitre root
    CNA scorecard B 84/100 over 9965 records in the last 180 days details
    Impacted products
    Vendor Product Version
    libp2p @libp2p/kad-dht Affected: 0 , ≤ 16.4.11 (semver)
    Create a notification for this product.
    Show details on NVD website

    {
      "containers": {
        "cna": {
          "affected": [
            {
              "defaultStatus": "unaffected",
              "packageURL": "pkg:npm/%40libp2p/kad-dht",
              "product": "@libp2p/kad-dht",
              "repo": "https://github.com/libp2p/js-libp2p",
              "vendor": "libp2p",
              "versions": [
                {
                  "lessThanOrEqual": "16.4.11",
                  "status": "affected",
                  "version": "0",
                  "versionType": "semver"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Zachariah Mithani (AploSec)"
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "@libp2p/kad-dht through 16.4.11 contains a record validation bypass in verifyRecord that allows unauthenticated remote peers to store unvalidated DHT records using constructor or toString key namespaces. Attackers can repeatedly send PUT_VALUE messages with keys like /constructor/\u003crandom\u003e to DHT server nodes, filling the datastore until host disk is exhausted."
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "attackComplexity": "LOW",
                "attackRequirements": "NONE",
                "attackVector": "NETWORK",
                "baseScore": 8.7,
                "baseSeverity": "HIGH",
                "privilegesRequired": "NONE",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "NONE",
                "userInteraction": "NONE",
                "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
                "version": "4.0",
                "vulnAvailabilityImpact": "HIGH",
                "vulnConfidentialityImpact": "NONE",
                "vulnIntegrityImpact": "NONE"
              },
              "format": "CVSS"
            },
            {
              "cvssV3_1": {
                "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"
              },
              "format": "CVSS"
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-770",
                  "description": "Allocation of Resources Without Limits or Throttling",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-12-04T01:09:11.388Z",
            "orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
            "shortName": "VulnCheck"
          },
          "references": [
            {
              "tags": [
                "technical-description"
              ],
              "url": "https://github.com/libp2p/js-libp2p/blob/kad-dht-v16.4.11/packages/kad-dht/src/record/validators.ts#L14-L30"
            },
            {
              "tags": [
                "technical-description"
              ],
              "url": "https://github.com/libp2p/js-libp2p/blob/kad-dht-v16.4.11/packages/kad-dht/src/rpc/handlers/put-value.ts#L46-L53"
            },
            {
              "name": "VulnCheck Advisory: @libp2p/kad-dht through 16.4.11 Record Validation Bypass via Prototype Namespaces",
              "tags": [
                "third-party-advisory"
              ],
              "url": "https://www.vulncheck.com/advisories/libp2p-kad-dht-through-16.4.11-record-validation-bypass-via-prototype-namespaces"
            }
          ],
          "title": "@libp2p/kad-dht through 16.4.11 Record Validation Bypass via Prototype Namespaces",
          "x_generator": {
            "engine": "vulncheck-endgame"
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
        "assignerShortName": "VulnCheck",
        "cveId": "CVE-2026-144572",
        "datePublished": "2026-12-04T01:09:11.388Z",
        "dateReserved": "2026-12-04T00:31:27.497Z",
        "dateUpdated": "2026-12-04T01:09:11.388Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-144572 (GCVE-0-2026-144572)

    Vulnerability from cvelistv5 – Published: 2026-12-04 01:09 – Updated: 2026-12-04 01:09
    VLAI
    Title
    @libp2p/kad-dht through 16.4.11 Record Validation Bypass via Prototype Namespaces
    Summary
    @libp2p/kad-dht through 16.4.11 contains a record validation bypass in verifyRecord that allows unauthenticated remote peers to store unvalidated DHT records using constructor or toString key namespaces. Attackers can repeatedly send PUT_VALUE messages with keys like /constructor/<random> to DHT server nodes, filling the datastore until host disk is exhausted.
    CWE
    • CWE-770 - Allocation of Resources Without Limits or Throttling
    Assigner
    VulnCheck CNA under the mitre root
    CNA scorecard B 84/100 over 9965 records in the last 180 days details
    Impacted products
    Vendor Product Version
    libp2p @libp2p/kad-dht Affected: 0 , ≤ 16.4.11 (semver)
    Create a notification for this product.
    Show details on NVD website

    {
      "containers": {
        "cna": {
          "affected": [
            {
              "defaultStatus": "unaffected",
              "packageURL": "pkg:npm/%40libp2p/kad-dht",
              "product": "@libp2p/kad-dht",
              "repo": "https://github.com/libp2p/js-libp2p",
              "vendor": "libp2p",
              "versions": [
                {
                  "lessThanOrEqual": "16.4.11",
                  "status": "affected",
                  "version": "0",
                  "versionType": "semver"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Zachariah Mithani (AploSec)"
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "@libp2p/kad-dht through 16.4.11 contains a record validation bypass in verifyRecord that allows unauthenticated remote peers to store unvalidated DHT records using constructor or toString key namespaces. Attackers can repeatedly send PUT_VALUE messages with keys like /constructor/\u003crandom\u003e to DHT server nodes, filling the datastore until host disk is exhausted."
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "attackComplexity": "LOW",
                "attackRequirements": "NONE",
                "attackVector": "NETWORK",
                "baseScore": 8.7,
                "baseSeverity": "HIGH",
                "privilegesRequired": "NONE",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "NONE",
                "userInteraction": "NONE",
                "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
                "version": "4.0",
                "vulnAvailabilityImpact": "HIGH",
                "vulnConfidentialityImpact": "NONE",
                "vulnIntegrityImpact": "NONE"
              },
              "format": "CVSS"
            },
            {
              "cvssV3_1": {
                "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"
              },
              "format": "CVSS"
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-770",
                  "description": "Allocation of Resources Without Limits or Throttling",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-12-04T01:09:11.388Z",
            "orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
            "shortName": "VulnCheck"
          },
          "references": [
            {
              "tags": [
                "technical-description"
              ],
              "url": "https://github.com/libp2p/js-libp2p/blob/kad-dht-v16.4.11/packages/kad-dht/src/record/validators.ts#L14-L30"
            },
            {
              "tags": [
                "technical-description"
              ],
              "url": "https://github.com/libp2p/js-libp2p/blob/kad-dht-v16.4.11/packages/kad-dht/src/rpc/handlers/put-value.ts#L46-L53"
            },
            {
              "name": "VulnCheck Advisory: @libp2p/kad-dht through 16.4.11 Record Validation Bypass via Prototype Namespaces",
              "tags": [
                "third-party-advisory"
              ],
              "url": "https://www.vulncheck.com/advisories/libp2p-kad-dht-through-16.4.11-record-validation-bypass-via-prototype-namespaces"
            }
          ],
          "title": "@libp2p/kad-dht through 16.4.11 Record Validation Bypass via Prototype Namespaces",
          "x_generator": {
            "engine": "vulncheck-endgame"
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
        "assignerShortName": "VulnCheck",
        "cveId": "CVE-2026-144572",
        "datePublished": "2026-12-04T01:09:11.388Z",
        "dateReserved": "2026-12-04T00:31:27.497Z",
        "dateUpdated": "2026-12-04T01:09:11.388Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }