Security Vulnerability Report
中文
CVE-2026-24028 CVSS 5.3 MEDIUM

CVE-2026-24028

Published: 2026-03-31 12:16:27
Last Modified: 2026-04-14 16:27:25

Description

An attacker might be able to trigger an out-of-bounds read by sending a crafted DNS response packet, when custom Lua code uses newDNSPacketOverlay to parse DNS packets. The out-of-bounds read might trigger a crash, leading to a denial of service, or access unrelated memory, leading to potential information disclosure.

CVSS Details

CVSS Score
5.3
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Configurations (Affected Products)

cpe:2.3:a:powerdns:dnsdist:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:powerdns:dnsdist:*:*:*:*:*:*:*:* - VULNERABLE
具体受影响版本请参考官方安全公告 powerdns-advisory-for-dnsdist-2026-02

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
-- Vulnerable Lua code example using newDNSPacketOverlay function checkDNSResponse(dq) -- Parse the packet using the vulnerable API -- If a crafted packet is sent, this may trigger an out-of-bounds read local packet = newDNSPacketOverlay(dq:getSize(), dq:getData()) -- Accessing packet data could lead to DoS or Info Disclosure if packet then local qname = packet:getQuestionName() end return DNSAction.None end addAction(AllRule(), LuaAction(checkDNSResponse))

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-24028", "sourceIdentifier": "[email protected]", "published": "2026-03-31T12:16:27.487", "lastModified": "2026-04-14T16:27:24.727", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "An attacker might be able to trigger an out-of-bounds read by sending a crafted DNS response packet, when custom Lua code uses newDNSPacketOverlay to parse DNS packets. The out-of-bounds read might trigger a crash, leading to a denial of service, or access unrelated memory, leading to potential information disclosure."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L", "baseScore": 5.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "LOW"}, "exploitabilityScore": 3.9, "impactScore": 1.4}, {"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H", "baseScore": 8.2, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "NONE", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 4.2}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-126"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:powerdns:dnsdist:*:*:*:*:*:*:*:*", "versionStartIncluding": "1.9.0", "versionEndExcluding": "1.9.12", "matchCriteriaId": "628B3B94-81DE-496E-B36A-B79A3DFFE1F4"}, {"vulnerable": true, "criteria": "cpe:2.3:a:powerdns:dnsdist:*:*:*:*:*:*:*:*", "versionStartIncluding": "2.0.0", "versionEndExcluding": "2.0.3", "matchCriteriaId": "9AC850DD-FDD8-4C48-B861-4BBAF423FF57"}]}]}], "references": [{"url": "https://www.dnsdist.org/security-advisories/powerdns-advisory-for-dnsdist-2026-02.html", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}