A flaw was found in dnsmasq before version 2.83. When getting a reply from a forwarded query, dnsmasq checks in the forward.c:reply_query() if the reply destination address/port is used by the pending forwarded queries. However, it does not use the address/port to retrieve the exact forwarded query, substantially reducing the number of attempts an attacker on the network would have to perform to forge a reply and get it accepted by dnsmasq. This issue contrasts with RFC5452, which specifies a query's attributes that all must be used to match a reply. This flaw allows an attacker to perform a DNS Cache Poisoning attack. If chained with CVE-2020-25685 or CVE-2020-25686, the attack complexity of a successful attack is reduced. The highest threat from this vulnerability is to data integrity.
CVSS Details
- CVSS 3.1 Base Score: 3.7
- CVSS 3.1 Vector: (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alma_linux | alma-upgrade-dnsmasqalma-upgrade-dnsmasq-utils | May 4, 2022 | Jan 20, 2021 | |
| Alpine Linux | alpine-linux-upgrade-dnsmasq | Aug 22, 2024 | Jan 20, 2021 | |
| Amazon Linux Ami 2 | amazon-linux-ami-2-upgrade-dnsmasqamazon-linux-ami-2-upgrade-dnsmasq-debuginfoamazon-linux-ami-2-upgrade-dnsmasq-utils | Jan 27, 2021 | Jan 20, 2021 | |
| Arch Linux | arch-linux-upgrade-latest | Jul 11, 2025 | Jan 20, 2021 | |
| Centos_linux | — | centos-upgrade-dnsmasqcentos-upgrade-dnsmasq-debuginfocentos-upgrade-dnsmasq-debugsourcecentos-upgrade-dnsmasq-utilscentos-upgrade-dnsmasq-utils-debuginfo | Jan 20, 2021 | Jan 19, 2021 |
| Debian | debian-upgrade-dnsmasq | Feb 4, 2021 | Jan 20, 2021 | |
| Freebsd | freebsd-upgrade-package-dnsmasqfreebsd-upgrade-package-dnsmasq-devel | Jan 21, 2021 | Jan 20, 2021 | |
| Gentoo Linux | gentoo-linux-upgrade-net-dns-dnsmasq | Jan 25, 2021 | Jan 20, 2021 | |
| Huawei Euleros 2_0_sp2 | huawei-euleros-2_0_sp2-upgrade-dnsmasqhuawei-euleros-2_0_sp2-upgrade-dnsmasq-utils | Feb 22, 2021 | Jan 20, 2021 | |
| Huawei Euleros 2_0_sp3 | huawei-euleros-2_0_sp3-upgrade-dnsmasqhuawei-euleros-2_0_sp3-upgrade-dnsmasq-utils | Feb 22, 2021 | Jan 20, 2021 | |
| Huawei Euleros 2_0_sp5 | huawei-euleros-2_0_sp5-upgrade-dnsmasqhuawei-euleros-2_0_sp5-upgrade-dnsmasq-utils | Mar 24, 2021 | Jan 20, 2021 | |
| Huawei Euleros 2_0_sp8 | huawei-euleros-2_0_sp8-upgrade-dnsmasqhuawei-euleros-2_0_sp8-upgrade-dnsmasq-utils | Feb 2, 2021 | Jan 20, 2021 | |
| Huawei Euleros 2_0_sp9 | huawei-euleros-2_0_sp9-upgrade-dnsmasq | Feb 8, 2021 | Jan 20, 2021 | |
| Nutanix Ahv | nutanix-ahv-upgrade-latest | Jun 5, 2026 | Aug 24, 2022 | |
| Oracle Solaris | oracle-solaris-11-4-upgrade-service-network-dnsmasq-2-84-11-4-31-0-1-88-1 | Mar 17, 2021 | Jan 20, 2021 | |
| Oracle_linux | — | oracle-linux-upgrade-dnsmasqoracle-linux-upgrade-dnsmasq-utils | Jan 20, 2021 | Jan 19, 2021 |
| Qnap Qts | qnap-qts-upgrade-latest | Aug 4, 2025 | Jul 1, 2021 | |
| Redhat Openshift | linuxrpm-upgrade-redhat-coreos | Mar 12, 2021 | Jan 20, 2021 | |
| Redhat_linux | redhat-upgrade-dnsmasqredhat-upgrade-dnsmasq-debuginforedhat-upgrade-dnsmasq-debugsourceredhat-upgrade-dnsmasq-utilsredhat-upgrade-dnsmasq-utils-debuginfo | Jan 20, 2021 | Jan 19, 2021 | |
| Suse | — | suse-upgrade-dnsmasqsuse-upgrade-dnsmasq-utils | Jan 21, 2021 | Jan 19, 2021 |
| Ubuntu | ubuntu-upgrade-dnsmasqubuntu-upgrade-dnsmasq-baseubuntu-upgrade-dnsmasq-utils | Jan 20, 2021 | Jan 19, 2021 | |
| Vmware Photon_os | vmware-photon_os_update_tdnf | Jan 20, 2025 | Jan 20, 2021 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub