Search

Find a vulnerability

Search criteria

    2 vulnerabilities found for lua-resty-dns by openresty

    CVE-2026-116013 (GCVE-0-2026-116013)

    Vulnerability from nvd – Published: 2026-10-24 11:40 – Updated: 2026-10-24 11:40
    VLAI
    Title
    OpenResty lua-resty-dns before 0.24 Denial of Service via DNS Response Parsing
    Summary
    OpenResty lua-resty-dns before 0.24 contains an improper input validation vulnerability in parse_section() and _decode_name() that fails to check resource record lengths against the received message. Attackers controlling or spoofing a queried nameserver can send truncated record headers or RDATA, raising uncaught Lua exceptions in resolver:query() that abort requests and break name resolution.
    CWE
    • CWE-130 - Improper Handling of Length Parameter Inconsistency
    Assigner
    VulnCheck CNA under the mitre root
    CNA scorecard B 84/100 over 6774 records in the last 180 days details
    Impacted products
    Vendor Product Version
    openresty lua-resty-dns Affected: 0 , < 0.24 (custom)
    Create a notification for this product.
    Date Public
    2026-10-23 08:26
    Credits
    Show details on NVD website

    {
      "containers": {
        "cna": {
          "affected": [
            {
              "defaultStatus": "unaffected",
              "product": "lua-resty-dns",
              "repo": "https://github.com/openresty/lua-resty-dns",
              "vendor": "openresty",
              "versions": [
                {
                  "lessThan": "0.24",
                  "status": "affected",
                  "version": "0",
                  "versionType": "custom"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Siyang Wu"
            }
          ],
          "datePublic": "2026-10-23T08:26:37.000Z",
          "descriptions": [
            {
              "lang": "en",
              "value": "OpenResty lua-resty-dns before 0.24 contains an improper input validation vulnerability in parse_section() and _decode_name() that fails to check resource record lengths against the received message. Attackers controlling or spoofing a queried nameserver can send truncated record headers or RDATA, raising uncaught Lua exceptions in resolver:query() that abort requests and break name resolution."
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "attackComplexity": "LOW",
                "attackRequirements": "PRESENT",
                "attackVector": "NETWORK",
                "baseScore": 6.3,
                "baseSeverity": "MEDIUM",
                "privilegesRequired": "NONE",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "NONE",
                "userInteraction": "NONE",
                "vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N",
                "version": "4.0",
                "vulnAvailabilityImpact": "LOW",
                "vulnConfidentialityImpact": "NONE",
                "vulnIntegrityImpact": "NONE"
              },
              "format": "CVSS"
            },
            {
              "cvssV3_1": {
                "attackComplexity": "HIGH",
                "attackVector": "NETWORK",
                "availabilityImpact": "LOW",
                "baseScore": 3.7,
                "baseSeverity": "LOW",
                "confidentialityImpact": "NONE",
                "integrityImpact": "NONE",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L",
                "version": "3.1"
              },
              "format": "CVSS"
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-130",
                  "description": "Improper Handling of Length Parameter Inconsistency",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-10-24T11:40:31.527Z",
            "orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
            "shortName": "VulnCheck"
          },
          "references": [
            {
              "tags": [
                "patch",
                "issue-tracking"
              ],
              "url": "https://github.com/openresty/lua-resty-dns/pull/83"
            },
            {
              "tags": [
                "patch"
              ],
              "url": "https://github.com/openresty/lua-resty-dns/commit/b68eaecbf7997ac71c08ba56032b1f45438bd758"
            },
            {
              "tags": [
                "technical-description"
              ],
              "url": "https://github.com/openresty/lua-resty-dns/blob/v0.23/lib/resty/dns/resolver.lua#L396-L442"
            },
            {
              "tags": [
                "release-notes"
              ],
              "url": "https://github.com/openresty/lua-resty-dns/tree/v0.24"
            },
            {
              "name": "VulnCheck Advisory: OpenResty lua-resty-dns before 0.24 Denial of Service via DNS Response Parsing",
              "tags": [
                "third-party-advisory"
              ],
              "url": "https://www.vulncheck.com/advisories/openresty-lua-resty-dns-before-0.24-denial-of-service-via-dns-response-parsing"
            }
          ],
          "title": "OpenResty lua-resty-dns before 0.24 Denial of Service via DNS Response Parsing",
          "x_generator": {
            "engine": "vulncheck-endgame"
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
        "assignerShortName": "VulnCheck",
        "cveId": "CVE-2026-116013",
        "datePublished": "2026-10-24T11:40:31.527Z",
        "dateReserved": "2026-10-24T11:23:54.934Z",
        "dateUpdated": "2026-10-24T11:40:31.527Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-116013 (GCVE-0-2026-116013)

    Vulnerability from cvelistv5 – Published: 2026-10-24 11:40 – Updated: 2026-10-24 11:40
    VLAI
    Title
    OpenResty lua-resty-dns before 0.24 Denial of Service via DNS Response Parsing
    Summary
    OpenResty lua-resty-dns before 0.24 contains an improper input validation vulnerability in parse_section() and _decode_name() that fails to check resource record lengths against the received message. Attackers controlling or spoofing a queried nameserver can send truncated record headers or RDATA, raising uncaught Lua exceptions in resolver:query() that abort requests and break name resolution.
    CWE
    • CWE-130 - Improper Handling of Length Parameter Inconsistency
    Assigner
    VulnCheck CNA under the mitre root
    CNA scorecard B 84/100 over 6774 records in the last 180 days details
    Impacted products
    Vendor Product Version
    openresty lua-resty-dns Affected: 0 , < 0.24 (custom)
    Create a notification for this product.
    Date Public
    2026-10-23 08:26
    Credits
    Show details on NVD website

    {
      "containers": {
        "cna": {
          "affected": [
            {
              "defaultStatus": "unaffected",
              "product": "lua-resty-dns",
              "repo": "https://github.com/openresty/lua-resty-dns",
              "vendor": "openresty",
              "versions": [
                {
                  "lessThan": "0.24",
                  "status": "affected",
                  "version": "0",
                  "versionType": "custom"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Siyang Wu"
            }
          ],
          "datePublic": "2026-10-23T08:26:37.000Z",
          "descriptions": [
            {
              "lang": "en",
              "value": "OpenResty lua-resty-dns before 0.24 contains an improper input validation vulnerability in parse_section() and _decode_name() that fails to check resource record lengths against the received message. Attackers controlling or spoofing a queried nameserver can send truncated record headers or RDATA, raising uncaught Lua exceptions in resolver:query() that abort requests and break name resolution."
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "attackComplexity": "LOW",
                "attackRequirements": "PRESENT",
                "attackVector": "NETWORK",
                "baseScore": 6.3,
                "baseSeverity": "MEDIUM",
                "privilegesRequired": "NONE",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "NONE",
                "userInteraction": "NONE",
                "vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N",
                "version": "4.0",
                "vulnAvailabilityImpact": "LOW",
                "vulnConfidentialityImpact": "NONE",
                "vulnIntegrityImpact": "NONE"
              },
              "format": "CVSS"
            },
            {
              "cvssV3_1": {
                "attackComplexity": "HIGH",
                "attackVector": "NETWORK",
                "availabilityImpact": "LOW",
                "baseScore": 3.7,
                "baseSeverity": "LOW",
                "confidentialityImpact": "NONE",
                "integrityImpact": "NONE",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L",
                "version": "3.1"
              },
              "format": "CVSS"
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-130",
                  "description": "Improper Handling of Length Parameter Inconsistency",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-10-24T11:40:31.527Z",
            "orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
            "shortName": "VulnCheck"
          },
          "references": [
            {
              "tags": [
                "patch",
                "issue-tracking"
              ],
              "url": "https://github.com/openresty/lua-resty-dns/pull/83"
            },
            {
              "tags": [
                "patch"
              ],
              "url": "https://github.com/openresty/lua-resty-dns/commit/b68eaecbf7997ac71c08ba56032b1f45438bd758"
            },
            {
              "tags": [
                "technical-description"
              ],
              "url": "https://github.com/openresty/lua-resty-dns/blob/v0.23/lib/resty/dns/resolver.lua#L396-L442"
            },
            {
              "tags": [
                "release-notes"
              ],
              "url": "https://github.com/openresty/lua-resty-dns/tree/v0.24"
            },
            {
              "name": "VulnCheck Advisory: OpenResty lua-resty-dns before 0.24 Denial of Service via DNS Response Parsing",
              "tags": [
                "third-party-advisory"
              ],
              "url": "https://www.vulncheck.com/advisories/openresty-lua-resty-dns-before-0.24-denial-of-service-via-dns-response-parsing"
            }
          ],
          "title": "OpenResty lua-resty-dns before 0.24 Denial of Service via DNS Response Parsing",
          "x_generator": {
            "engine": "vulncheck-endgame"
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
        "assignerShortName": "VulnCheck",
        "cveId": "CVE-2026-116013",
        "datePublished": "2026-10-24T11:40:31.527Z",
        "dateReserved": "2026-10-24T11:23:54.934Z",
        "dateUpdated": "2026-10-24T11:40:31.527Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }