CVE-2020-25681: Buffer Overflow
A flaw was found in dnsmasq before version 2.83. A heap-based buffer overflow was discovered in the way RRSets are sorted before validating with DNSSEC data. An attacker on the network, who can forge DNS replies such as that they are accepted as valid, could use this flaw to cause a buffer overflow with arbitrary data in a heap memory segment, possibly executing code on the machine. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.
Other sources
An heap-based buffer overflow was discovered in dnsmasq in the way it sorts RRSets before validating them with DNSSEC data. An attacker, who can forge DNS replies such as that they are accepted as valid, could use this flaw to cause an overflow with arbitrary data in a heap-allocated memory, possibly executing code on the machine.
— Red Hat
Affected Software
Remediation
Patch Available
Event History
Frequently Asked Questions
What is CVE-2020-25681?
CVE-2020-25681 is a vulnerability in dnsmasq before version 2.83 that allows a heap-based buffer overflow.
What is the impact of CVE-2020-25681?
The impact of CVE-2020-25681 is that an attacker on the network can cause a buffer overflow by forging DNS replies.
Which software versions are affected by CVE-2020-25681?
dnsmasq versions up to 2.83, Fedora 32 and 33, Debian Linux 9.0 and 10.0 are affected by CVE-2020-25681.
How can I fix CVE-2020-25681?
Upgrade to dnsmasq version 2.83 or apply the appropriate patch provided by your distribution.
Where can I find more information about CVE-2020-25681?
You can find more information about CVE-2020-25681 at the following references: [link1], [link2], [link3].