Vulnerabilities/CVE-2020-25684, published 20 January 2021

CVE-2020-25684: Thekelleys dnsmasq vulnerability

Thekelleys, Dnsmasq

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.

  • 3.7 CVSS 3.1 Low
  • EPSS 4.2%, top 8.8%
  • CWE-358, CWE-358

Description

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:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N

Affected products

4 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
https://bugzilla.redhat.com/show_bug.cgi?id=1889686 Issue TrackingPatchThird Party Advisory
https://lists.debian.org/debian-lts-announce/2021/03/msg00027.html Mailing ListThird Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QGB7HL3OWHTLEPSMLDGOMXQ
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WYW3IR6APUSKOYKL5FT3ACT
https://security.gentoo.org/glsa/202101-17 Third Party Advisory
https://www.arista.com/en/support/advisories-notices/security-advisories/12135-security-advisory-61 Third Party Advisory
https://www.debian.org/security/2021/dsa-4844 Third Party Advisory
https://www.jsof-tech.com/disclosures/dnspooq/ Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=1889686 Issue TrackingPatchThird Party Advisory
https://lists.debian.org/debian-lts-announce/2021/03/msg00027.html Mailing ListThird Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QGB7HL3OWHTLEPSMLDGOMXQ
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WYW3IR6APUSKOYKL5FT3ACT
https://security.gentoo.org/glsa/202101-17 Third Party Advisory
https://www.arista.com/en/support/advisories-notices/security-advisories/12135-security-advisory-61 Third Party Advisory
https://www.debian.org/security/2021/dsa-4844 Third Party Advisory
https://www.jsof-tech.com/disclosures/dnspooq/ Third Party Advisory
https://www.kb.cert.org/vuls/id/434904

Track CVE-2020-25684 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2014-7169GNU Bash environment variable function parsing command injection (Shellshock variant)GNU Bash through 4.3 bash43-025 processes trailing strings after malformed function definitions in environment variable values, allowing command inje…KEVEPSS 100%analysed9.8CVE-2014-6271GNU Bash environment variable command injection (ShellShock)GNU Bash through 4.3 processes trailing strings after function definitions in environment variable values, allowing injected commands to run when Bas…KEVEPSS 100%analysed6.9CVE-2026-7473Arista EOS tunnel decapsulation protocol type not verifiedArista EOS switches configured for tunnel decapsulation (VXLAN, decap-groups, or GRE tunnel interfaces) fail to verify the tunnel protocol type, so t…KEVEPSS 1.1%analysed10.0CVE-2015-8236Arista eos permissions and access controls vulnerabilityArista EOS before 4.11.12, 4.12 before 4.12.11, 4.13 before 4.13.14M, 4.14 before 4.14.5FX.5, and 4.15 before 4.15.0FX1.1 allows remote attackers to …EPSS 4.2%10.0CVE-2009-0846Mit kerberos 5 vulnerabilityThe asn1_decode_generaltime function in lib/krb5/asn.1/asn1_decode.c in the ASN.1 GeneralizedTime decoder in MIT Kerberos 5 (aka krb5) before 1.6.4 a…EPSS 8.9%10.0CVE-2000-0844Caldera openlinux ebuilder permissions and access controls vulnerabilitySome functions that implement the locale subsystem on Unix do not properly cleanse user-injected format strings, which allows local attackers to exec…EPSS 16%10.0CVE-2000-0666Conectiva linux vulnerabilityrpc.statd in the nfs-utils package in various Linux distributions does not properly cleanse untrusted format strings, which allows remote attackers t…EPSS 26%10.0CVE-2000-0584Debian linux vulnerabilityBuffer overflow in Canna input system allows remote attackers to execute arbitrary commands via an SR_INIT command with a long user name or group nam…EPSS 5.9%

Source: NIST National Vulnerability Database (record CVE-2020-25684), CISA KEV, FIRST EPSS (scores of 2026-12-05). This page is refreshed as NVD updates the record.