First published: Tue Oct 20 2020(Updated: )
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.
Credit: secalert@redhat.com
Affected Software | Affected Version | How to fix |
---|---|---|
Thekelleys Dnsmasq | <2.83 | |
Fedoraproject Fedora | =32 | |
Fedoraproject Fedora | =33 | |
Debian Debian Linux | =9.0 | |
Debian Debian Linux | =10.0 | |
Arista EOS | >=4.21<4.21.14m | |
Arista EOS | >=4.22<4.22.9m | |
Arista EOS | >=4.23<4.23.7m | |
Arista EOS | >=4.24<4.24.5m | |
Arista EOS | >=4.25<4.25.2f | |
redhat/dnsmasq | <2.83 | 2.83 |
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.
The vulnerability ID for this flaw is CVE-2020-25684.
The severity level of CVE-2020-25684 is medium, with a severity value of 3.7.
Dnsmasq versions up to and including 2.83 are affected by CVE-2020-25684. Fedora 32, Fedora 33, Debian Linux 9.0, Debian Linux 10.0, and Arista EOS versions ranging from 4.21 to 4.25 are also affected.
To fix CVE-2020-25684, update your Dnsmasq software to version 2.83 or later. If you are using Fedora, Debian, or Arista EOS, update to the respective patched versions.
You can find more information about CVE-2020-25684 in the references provided: Bugzilla for Red Hat, Debian LTS announcement, and Fedora package-announce mailing list.