Search

Find a vulnerability

Search criteria

    2 vulnerabilities found for Net::DNS by NLnet Labs

    CVE-2026-101340 (GCVE-0-2026-101340)

    Vulnerability from nvd – Published: 2026-11-20 12:38 – Updated: 2026-11-20 12:38
    VLAI
    Title
    Query ID predictable from a short sequence of observations
    Summary
    Net::DNS uses a 16-bit query ID to match responses to the corresponding requests. In versions up to and including 1.57, the ID is obtained from Perl's built-in rand() function. An attacker that can observe the sequence of query IDs is able to expose the internal state of the PNRG and hence predict query IDs before they are transmitted. The victim Net::DNS instance is then exposed to forged responses injected by the attacker. Note that the deduplication cache in 1.57 has no impact on the feasibility of this attack.
    CWE
    • CWE-338 - Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)
    References
    Impacted products
    Vendor Product Version
    NLnet Labs Net::DNS Affected: 0.02 , < 0.* (maven)
    Affected: 1.00 , < 1.58 (maven)
    Create a notification for this product.
    Date Public
    2026-11-20 12:00
    Show details on NVD website

    {
      "containers": {
        "cna": {
          "affected": [
            {
              "defaultStatus": "unaffected",
              "product": "Net::DNS",
              "vendor": "NLnet Labs",
              "versions": [
                {
                  "lessThan": "0.*",
                  "status": "affected",
                  "version": "0.02",
                  "versionType": "maven"
                },
                {
                  "lessThan": "1.58",
                  "status": "affected",
                  "version": "1.00",
                  "versionType": "maven"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Xiang Li, Aichun Huang, Zheli Liu (AOSP Lab @Nankai University)"
            }
          ],
          "datePublic": "2026-11-20T12:00:00.000Z",
          "descriptions": [
            {
              "lang": "en",
              "value": "Net::DNS uses a 16-bit query ID to match responses to the corresponding requests.  In versions up to and including 1.57, the ID is obtained from Perl\u0027s built-in rand() function.  An attacker that can observe the sequence of query IDs is able to expose the internal state of the PNRG and hence predict query IDs before they are transmitted.  The victim Net::DNS instance is then exposed to forged responses injected by the attacker.  Note that the deduplication cache in 1.57 has no impact on the feasibility of this attack."
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "baseScore": 9.1,
                "baseSeverity": "CRITICAL",
                "vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N",
                "version": "4.0"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-338",
                  "description": "CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-20T12:38:22.541Z",
            "orgId": "206fc3a0-e175-490b-9eaa-a5738056c9f6",
            "shortName": "NLnet Labs"
          },
          "references": [
            {
              "tags": [
                "vendor-advisory"
              ],
              "url": "https://www.net-dns.org/downloads/CVE-2026-101340.txt"
            }
          ],
          "solutions": [
            {
              "lang": "en",
              "value": "This issue is fixed in 1.58 and all later versions."
            }
          ],
          "timeline": [
            {
              "lang": "en",
              "time": "2026-11-08T10:25:00.000Z",
              "value": "Issue reported by Xiang Li"
            },
            {
              "lang": "en",
              "time": "2026-11-17T13:00:00.000Z",
              "value": "NLnet Labs shares patch"
            },
            {
              "lang": "en",
              "time": "2026-11-19T12:00:00.000Z",
              "value": "Xiang Li verifies patch"
            },
            {
              "lang": "en",
              "time": "2026-11-20T12:00:00.000Z",
              "value": "Fix released with version 1.58"
            }
          ],
          "title": "Query ID predictable from a short sequence of observations",
          "x_generator": {
            "engine": "cvelib 1.8.0"
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "206fc3a0-e175-490b-9eaa-a5738056c9f6",
        "assignerShortName": "NLnet Labs",
        "cveId": "CVE-2026-101340",
        "datePublished": "2026-11-20T12:38:22.541Z",
        "dateReserved": "2026-09-28T14:39:03.778Z",
        "dateUpdated": "2026-11-20T12:38:22.541Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-101340 (GCVE-0-2026-101340)

    Vulnerability from cvelistv5 – Published: 2026-11-20 12:38 – Updated: 2026-11-20 12:38
    VLAI
    Title
    Query ID predictable from a short sequence of observations
    Summary
    Net::DNS uses a 16-bit query ID to match responses to the corresponding requests. In versions up to and including 1.57, the ID is obtained from Perl's built-in rand() function. An attacker that can observe the sequence of query IDs is able to expose the internal state of the PNRG and hence predict query IDs before they are transmitted. The victim Net::DNS instance is then exposed to forged responses injected by the attacker. Note that the deduplication cache in 1.57 has no impact on the feasibility of this attack.
    CWE
    • CWE-338 - Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)
    References
    Impacted products
    Vendor Product Version
    NLnet Labs Net::DNS Affected: 0.02 , < 0.* (maven)
    Affected: 1.00 , < 1.58 (maven)
    Create a notification for this product.
    Date Public
    2026-11-20 12:00
    Show details on NVD website

    {
      "containers": {
        "cna": {
          "affected": [
            {
              "defaultStatus": "unaffected",
              "product": "Net::DNS",
              "vendor": "NLnet Labs",
              "versions": [
                {
                  "lessThan": "0.*",
                  "status": "affected",
                  "version": "0.02",
                  "versionType": "maven"
                },
                {
                  "lessThan": "1.58",
                  "status": "affected",
                  "version": "1.00",
                  "versionType": "maven"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Xiang Li, Aichun Huang, Zheli Liu (AOSP Lab @Nankai University)"
            }
          ],
          "datePublic": "2026-11-20T12:00:00.000Z",
          "descriptions": [
            {
              "lang": "en",
              "value": "Net::DNS uses a 16-bit query ID to match responses to the corresponding requests.  In versions up to and including 1.57, the ID is obtained from Perl\u0027s built-in rand() function.  An attacker that can observe the sequence of query IDs is able to expose the internal state of the PNRG and hence predict query IDs before they are transmitted.  The victim Net::DNS instance is then exposed to forged responses injected by the attacker.  Note that the deduplication cache in 1.57 has no impact on the feasibility of this attack."
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "baseScore": 9.1,
                "baseSeverity": "CRITICAL",
                "vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N",
                "version": "4.0"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-338",
                  "description": "CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-20T12:38:22.541Z",
            "orgId": "206fc3a0-e175-490b-9eaa-a5738056c9f6",
            "shortName": "NLnet Labs"
          },
          "references": [
            {
              "tags": [
                "vendor-advisory"
              ],
              "url": "https://www.net-dns.org/downloads/CVE-2026-101340.txt"
            }
          ],
          "solutions": [
            {
              "lang": "en",
              "value": "This issue is fixed in 1.58 and all later versions."
            }
          ],
          "timeline": [
            {
              "lang": "en",
              "time": "2026-11-08T10:25:00.000Z",
              "value": "Issue reported by Xiang Li"
            },
            {
              "lang": "en",
              "time": "2026-11-17T13:00:00.000Z",
              "value": "NLnet Labs shares patch"
            },
            {
              "lang": "en",
              "time": "2026-11-19T12:00:00.000Z",
              "value": "Xiang Li verifies patch"
            },
            {
              "lang": "en",
              "time": "2026-11-20T12:00:00.000Z",
              "value": "Fix released with version 1.58"
            }
          ],
          "title": "Query ID predictable from a short sequence of observations",
          "x_generator": {
            "engine": "cvelib 1.8.0"
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "206fc3a0-e175-490b-9eaa-a5738056c9f6",
        "assignerShortName": "NLnet Labs",
        "cveId": "CVE-2026-101340",
        "datePublished": "2026-11-20T12:38:22.541Z",
        "dateReserved": "2026-09-28T14:39:03.778Z",
        "dateUpdated": "2026-11-20T12:38:22.541Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }