CVE-2020-25684: Medium severity dnsmasq vulnerability

Published 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:replyquery() 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.

Other sources

When getting a reply from a forwarded query, dnsmasq checks in forward.c:replyquery() if the reply destination address/port is one of those 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 is in contrast with RFC5452, which specifies the attributes of a query that all must be used to match a reply. This flaw could be abused to perform a DNS Cache Poisoning attack.

Red Hat

Affected Software

12 affected componentsFixes available
debian/dnsmasq
2.80-1+deb10u12.85-12.89-1
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
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

Event History

Jan 20, 2021
CVE Published
via MITRE·03:22 PM
Data Sourced
via MITRE·03:22 PM
DescriptionWeakness
Data Sourced
via NVD·04:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the vulnerability ID for this flaw?

The vulnerability ID for this flaw is CVE-2020-25684.

2

What is the severity level of CVE-2020-25684?

The severity level of CVE-2020-25684 is medium, with a severity value of 3.7.

3

What software versions are affected by CVE-2020-25684?

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.

4

How can I fix CVE-2020-25684?

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.

5

Where can I find more information about CVE-2020-25684?

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203