Denial of service in OpenResty lua-resty-dns via DNS response parsing
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · Low
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
OpenResty lua-resty-dns before 0.24 contains improper input validation in parse_section() and _decode_name(), which do not check resource record lengths against the received message. An attacker controlling or spoofing a queried nameserver can send truncated record headers or RDATA, raising uncaught Lua exceptions in resolver:query(). The network attacker needs no privileges or user interaction, and the flaw aborts requests and breaks name resolution.
Written with Claude Haiku 5.5 from the sources below · 2026-10-29
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Upgrade OpenResty lua-resty-dns to version 0.24.
Written with Claude Haiku 5.5 from the sources below · 2026-10-29
- Fix · CNA lua-resty-dns (openresty) Fixed in 0.24
Timeline
- 2026-10-24 Threatist record created from CVE-2026-116013
- 2026-10-24 Alias added: GHSA-879w-j376-3fgq
- 2026-10-25 Priority changed: MEDIUM → LOW
- 2026-10-29 CISA SSVC decision points changed
References
More openresty vulnerabilities
- TI-2023-23979 The HTTP/2 protocol allows a denial of service (server resource consumption) because… KEVCVSS 3.1HIGH 7.5
- TI-2024-22074 An issue in OpenResty lua-nginx-module v.0.10.26 and before allows a remote attacker to… CVSS 3.1HIGH 7.7
- TI-2021-05876 A security issue in nginx resolver was identified, which might allow an attacker who is… CVSS 3.1HIGH 7.7
- TI-2018-06684 In OpenResty through 1.13.6.1, URI parameters are obtained using the ngx.req.get_uri_args… CVSS 3.0CRITICAL 9.8
- TI-2026-39910 OpenResty: Buffer overflow when writing PROXY protocol v2 header to upstream CVSS 3.1HIGH 7.5
- TI-2020-09415 An issue was discovered in OpenResty before 1.15.8.4. CVSS 3.1HIGH 7.5
Sources
- CVE-2026-116013 · CVE Program
- CVE-2026-116013 · NVD
- FIRST EPSS
- GHSA-879w-j376-3fgq · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences