CVE-2020-25684Thekelleys Dnsmasq
Low 3.7 No auth needed
Follow: this CVE · Thekelleys · Thekelleys Dnsmasq We alert you by email or Slack (account required).
- Priority
- 38
- CVSS 3.1
- 3.7
- EPSS
- 4.2% probability of exploitation in 30 days · percentile 92
- Auth required
- No
- Published
- Jan 20, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-358
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Dnsmasq.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| 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 |
Official sources
References
Links published by the sources. Open them with care.
- bugzilla.redhat.com Issue Tracking Patch Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory
- lists.fedoraproject.org
- lists.fedoraproject.org
- security.gentoo.org Third Party Advisory
- www.arista.com Third Party Advisory
- www.debian.org Third Party Advisory
- www.jsof-tech.com Third Party Advisory
- www.kb.cert.org