OpenResty lua-resty-dns denial of service in DNS record parsing
openresty lua-resty-dns
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| openresty lua-resty-dns |
| No fix yet |
Original description
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.
From the CVE record · VulnCheck