CVE-2020-25687
Fixed in a distro release EPSS 89%
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. This flaw allows a remote attacker, who can create valid DNS replies, 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 sort_rrset() and cause a crash in dnsmasq, resulting in a denial of service. The highest threat from this vulnerability is to system availability.
Products: thekelleys dnsmasq, fedoraproject fedora, debian_linux
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Alpine 3.10 | dnsmasq | 2.83-r0 |
| Alpine 3.11 | dnsmasq | 2.83-r0 |
| Alpine 3.12 | dnsmasq | 2.83-r0 |
| Alpine 3.13 | dnsmasq | 2.83-r0 |
| Alpine 3.14 | dnsmasq | 2.83-r0 |
| Alpine 3.15 | dnsmasq | 2.83-r0 |
| Alpine 3.16 | dnsmasq | 2.83-r0 |
| Alpine 3.17 | dnsmasq | 2.83-r0 |
| Alpine 3.18 | dnsmasq | 2.83-r0 |
| Alpine 3.19 | dnsmasq | 2.83-r0 |
| Alpine 3.20 | dnsmasq | 2.83-r0 |
| Alpine 3.21 | dnsmasq | 2.83-r0 |
| Alpine 3.22 | dnsmasq | 2.83-r0 |
| Alpine 3.23 | dnsmasq | 2.83-r0 |
| Alpine 3.24 | dnsmasq | 2.83-r0 |
| Arch Linux | dnsmasq | 2.83-1 |
| Debian 10 | dnsmasq | 2.80-1+deb10u1 |
| Debian 12 | dnsmasq | 2.83-1 |
| Debian 13 | dnsmasq | 2.83-1 |
| Debian 14 | dnsmasq | 2.83-1 |
| Debian 9 | dnsmasq | 2.76-5+deb9u3 |
| Red Hat Enterprise Linux 8 | dnsmasq | 0:2.79-13.el8_3.1 |
| Red Hat Enterprise Linux 8 | dnsmasq-debuginfo | 0:2.79-13.el8_3.1 |
| Red Hat Enterprise Linux 8 | dnsmasq-debugsource | 0:2.79-13.el8_3.1 |
| Red Hat Enterprise Linux 8 | dnsmasq-utils | 0:2.79-13.el8_3.1 |
| Red Hat Enterprise Linux 8 | dnsmasq-utils-debuginfo | 0:2.79-13.el8_3.1 |
| Red Hat rhel eus 8.1 | dnsmasq | 0:2.79-6.el8_1.1 |
| Red Hat rhel eus 8.1 | dnsmasq-debuginfo | 0:2.79-6.el8_1.1 |
| Red Hat rhel eus 8.1 | dnsmasq-debugsource | 0:2.79-6.el8_1.1 |
| Red Hat rhel eus 8.1 | dnsmasq-utils | 0:2.79-6.el8_1.1 |
| Red Hat rhel eus 8.1 | dnsmasq-utils-debuginfo | 0:2.79-6.el8_1.1 |
| Red Hat rhel eus 8.2 | dnsmasq | 0:2.79-11.el8_2.2 |
| Red Hat rhel eus 8.2 | dnsmasq-debuginfo | 0:2.79-11.el8_2.2 |
| Red Hat rhel eus 8.2 | dnsmasq-debugsource | 0:2.79-11.el8_2.2 |
| Red Hat rhel eus 8.2 | dnsmasq-utils | 0:2.79-11.el8_2.2 |
| Red Hat rhel eus 8.2 | dnsmasq-utils-debuginfo | 0:2.79-11.el8_2.2 |
| SUSE Enterprise Storage 5 | dnsmasq | 2.78-18.15.1 |
| SUSE HPE Helion OpenStack 8 | dnsmasq | 2.78-18.15.1 |
| SUSE Linux Enterprise High Performance Computing 15-ESPOS | dnsmasq | 2.78-3.11.1 |
| SUSE Linux Enterprise High Performance Computing 15-LTSS | dnsmasq | 2.78-3.11.1 |
| SUSE Linux Enterprise Module for Basesystem 15 SP1 | dnsmasq | 2.78-7.6.1 |
| SUSE Linux Enterprise Module for Basesystem 15 SP2 | dnsmasq | 2.78-7.6.1 |
| SUSE Linux Enterprise Point of Sale 11 SP3 | dnsmasq | 2.78-0.16.14.1 |
| SUSE Linux Enterprise Server 11 SP4-LTSS | dnsmasq | 2.78-0.17.15.1 |
| SUSE Linux Enterprise Server 12 SP2-BCL | dnsmasq | 2.78-18.15.1 |
| SUSE Linux Enterprise Server 12 SP2-LTSS | dnsmasq | 2.78-18.15.1 |
| SUSE Linux Enterprise Server 12 SP3-BCL | dnsmasq | 2.78-18.15.1 |
| SUSE Linux Enterprise Server 12 SP3-LTSS | dnsmasq | 2.78-18.15.1 |
| SUSE Linux Enterprise Server 12 SP4-LTSS | dnsmasq | 2.78-18.15.1 |
| SUSE Linux Enterprise Server 12 SP5 | dnsmasq | 2.78-18.15.1 |
| SUSE Linux Enterprise Server 15-LTSS | dnsmasq | 2.78-3.11.1 |
| SUSE Linux Enterprise Server for SAP Applications 12 SP2 | dnsmasq | 2.78-18.15.1 |
| SUSE Linux Enterprise Server for SAP Applications 12 SP3 | dnsmasq | 2.78-18.15.1 |
| SUSE Linux Enterprise Server for SAP Applications 12 SP4 | dnsmasq | 2.78-18.15.1 |
| SUSE Linux Enterprise Server for SAP Applications 12 SP5 | dnsmasq | 2.78-18.15.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 | dnsmasq | 2.78-3.11.1 |
| SUSE OpenStack Cloud 7 | dnsmasq | 2.78-18.15.1 |
| SUSE OpenStack Cloud 8 | dnsmasq | 2.78-18.15.1 |
| SUSE OpenStack Cloud 9 | dnsmasq | 2.78-18.15.1 |
| SUSE OpenStack Cloud Crowbar 8 | dnsmasq | 2.78-18.15.1 |
| SUSE OpenStack Cloud Crowbar 9 | dnsmasq | 2.78-18.15.1 |
| Ubuntu 16.04 LTS | dnsmasq | 2.75-1ubuntu0.16.04.7 |
| Ubuntu 18.04 LTS | dnsmasq | 2.79-1ubuntu0.2 |
| Ubuntu 20.04 LTS | dnsmasq | 2.80-1.1ubuntu1.2 |
| openSUSE Leap 15.1 | dnsmasq | 2.78-lp151.5.6.1 |
| openSUSE Leap 15.2 | dnsmasq | 2.78-lp152.7.3.1 |