dnsmasq is vulnerable to arbitrary code execution. A heap-based buffer overflow in rfc1035.c:extract_name()
due to the lack of length checks, which could be abused occurs when DNSSEC is enabled and before the receiving DNS entries are validated. A remote attacker who can create valid DNS replies is able to exploit the vulnerability execute arbitrary code via memcpy()
using negative size in sort_rrset()
.
bugzilla.redhat.com/show_bug.cgi?id=1891568
lists.debian.org/debian-lts-announce/2021/03/msg00027.html
lists.fedoraproject.org/archives/list/[email protected]/message/QGB7HL3OWHTLEPSMLDGOMXQKG3KM2QME/
lists.fedoraproject.org/archives/list/[email protected]/message/WYW3IR6APUSKOYKL5FT3ACTIHWHGQY32/
secdb.alpinelinux.org/v3.12/main.yaml
security.gentoo.org/glsa/202101-17
www.debian.org/security/2021/dsa-4844
www.jsof-tech.com/disclosures/dnspooq/