CVE-2020-25682 log

Severity High
Remote Yes
Type Arbitrary code execution
A buffer overflow vulnerability was discovered in the way dnsmasq before version 2.83 extract names from DNS packets before validating them with DNSSEC data. An attacker on the network, who can create valid DNS replies, could use this flaw to cause an overflow with arbitrary data in a heap-allocated memory, possibly executing code on the machine. The flaw is in rfc1035.c:extract_name() function, which writes data to the memory pointed by name assuming MAXDNAME*2 bytes are available in the buffer. However, in some code execution paths it is possible extract_name() gets passed an offset from the base buffer, thus reducing in practice the number of available bytes that can be written in the buffer.
Group Package Affected Fixed Severity Status Ticket
AVG-1470 dnsmasq 2.82-2 2.83-1 High Fixed
Date Advisory Group Package Severity Type
20 Jan 2021 ASA-202101-38 AVG-1470 dnsmasq High multiple issues