First published: Wed Sep 23 2020(Updated: )
A flaw was found in dnsmasq before version 2.83. A heap-based buffer overflow was discovered in dnsmasq when DNSSEC is enabled and before it validates the received DNS entries. A remote attacker, who can create valid DNS replies, could use this flaw to cause an overflow in a heap-allocated memory. This flaw is caused by the lack of length checks in rfc1035.c:extract_name(), which could be abused to make the code execute memcpy() with a negative size in get_rdata() and cause a crash in dnsmasq, resulting in a denial of service. The highest threat from this vulnerability is to system availability.
Credit: secalert@redhat.com
Affected Software | Affected Version | How to fix |
---|---|---|
redhat/dnsmasq | <2.83 | 2.83 |
Thekelleys Dnsmasq | <2.83 | |
Fedoraproject Fedora | =32 | |
Fedoraproject Fedora | =33 | |
Debian Debian Linux | =9.0 | |
Debian Debian Linux | =10.0 | |
debian/dnsmasq | 2.80-1+deb10u1 2.85-1 2.89-1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2020-25683 is a vulnerability found in dnsmasq before version 2.83 that allows a remote attacker to cause a heap-based buffer overflow.
CVE-2020-25683 affects dnsmasq when DNSSEC is enabled and before it validates the received DNS entries.
Users of dnsmasq versions before 2.83 are affected by CVE-2020-25683.
The severity of CVE-2020-25683 is high with a CVSS score of 5.9.
To mitigate CVE-2020-25683, update dnsmasq to version 2.83 or later.