CVE-2020-25685
Fixed in a distro release EPSS 2%
A flaw was found in dnsmasq before version 2.83. When getting a reply from a forwarded query, dnsmasq checks in forward.c:reply_query(), which is the forwarded query that matches the reply, by only using a weak hash of the query name. Due to the weak hash (CRC32 when dnsmasq is compiled without DNSSEC, SHA-1 when it is) this flaw allows an off-path attacker to find several different domains all having the same hash, substantially reducing the number of attempts they would have to perform to forge a reply and get it accepted by dnsmasq. This is in contrast with RFC5452, which specifies that the query name is one of the attributes of a query that must be used to match a reply. This flaw could be abused to perform a DNS Cache Poisoning attack. If chained with CVE-2020-25684 the attack complexity of a successful attack is reduced. The highest threat from this vulnerability is to data integrity.
Products: thekelleys dnsmasq, fedoraproject fedora, debian_linux, arista eos
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 |
| Amazon Linux 2 | dnsmasq | 2.76-16.amzn2.1.1 |
| Amazon Linux 2 | dnsmasq-utils | 2.76-16.amzn2.1.1 |
| 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 |
| Red Hat Enterprise Linux 7 | dnsmasq | 0:2.76-16.el7_9.1 |
| Red Hat Enterprise Linux 7 | dnsmasq-debuginfo | 0:2.76-16.el7_9.1 |
| Red Hat Enterprise Linux 7 | dnsmasq-utils | 0:2.76-16.el7_9.1 |
| Red Hat Enterprise Linux 7 | redhat-virtualization-host | 0:4.3.13-20210127.0.el7_9 |
| Red Hat Enterprise Linux 7 | redhat-virtualization-host-image-update | 0:4.3.13-20210127.0.el7_9 |
| 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 aus 7.2 | dnsmasq | 0:2.66-14.el7_2.3 |
| Red Hat rhel aus 7.2 | dnsmasq-debuginfo | 0:2.66-14.el7_2.3 |
| Red Hat rhel aus 7.2 | dnsmasq-utils | 0:2.66-14.el7_2.3 |
| Red Hat rhel aus 7.3 | dnsmasq | 0:2.66-21.el7_3.3 |
| Red Hat rhel aus 7.3 | dnsmasq-debuginfo | 0:2.66-21.el7_3.3 |
| Red Hat rhel aus 7.3 | dnsmasq-utils | 0:2.66-21.el7_3.3 |
| Red Hat rhel aus 7.4 | dnsmasq | 0:2.76-2.el7_4.3 |
| Red Hat rhel aus 7.4 | dnsmasq-debuginfo | 0:2.76-2.el7_4.3 |
| Red Hat rhel aus 7.4 | dnsmasq-utils | 0:2.76-2.el7_4.3 |
| Red Hat rhel e4s 7.4 | dnsmasq | 0:2.76-2.el7_4.3 |
| Red Hat rhel e4s 7.4 | dnsmasq-debuginfo | 0:2.76-2.el7_4.3 |
| Red Hat rhel e4s 7.4 | dnsmasq-utils | 0:2.76-2.el7_4.3 |
| Red Hat rhel eus 7.6 | dnsmasq | 0:2.76-7.el7_6.2 |
| Red Hat rhel eus 7.6 | dnsmasq-debuginfo | 0:2.76-7.el7_6.2 |
| Red Hat rhel eus 7.6 | dnsmasq-utils | 0:2.76-7.el7_6.2 |
| Red Hat rhel eus 7.7 | dnsmasq | 0:2.76-10.el7_7.2 |
| Red Hat rhel eus 7.7 | dnsmasq-debuginfo | 0:2.76-10.el7_7.2 |
| Red Hat rhel eus 7.7 | dnsmasq-utils | 0:2.76-10.el7_7.2 |
| 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 |
| Red Hat rhel tus 7.4 | dnsmasq | 0:2.76-2.el7_4.3 |
| Red Hat rhel tus 7.4 | dnsmasq-debuginfo | 0:2.76-2.el7_4.3 |
| Red Hat rhel tus 7.4 | dnsmasq-utils | 0:2.76-2.el7_4.3 |
| Red Hat rhev hypervisor 4.4 | redhat-virtualization-host | 0:4.4.4-20210201.0.el8_3 |
| Red Hat rhev hypervisor 4.4 | redhat-virtualization-host-image-update | 0:4.4.4-20210201.0.el8_3 |
| 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 |
| Ubuntu Pro 14.04 LTS | dnsmasq | no fix |
| openSUSE Leap 15.1 | dnsmasq | 2.78-lp151.5.6.1 |
| openSUSE Leap 15.2 | dnsmasq | 2.78-lp152.7.3.1 |
| openSUSE Tumbleweed | dnsmasq | 2.86-1.1 |