{"id":"CVE-2020-25684","aliases":["CVE-2020-25684"],"related":[],"kind":"vulnerability","state":"published","title":"A flaw was found in dnsmasq before version 2.83.","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Se encontró un fallo en dnsmasq versiones anteriores a 2.83.&#xa0;Al obtener una respuesta de una consulta reenviada, dnsmasq comprueba en forward.c:reply_query() si la dirección y puerto de destino de la respuesta es utilizado por las consultas reenviadas pendientes.&#xa0;Sin embargo, no usa la dirección y puerto para recuperar la consulta reenviada exacta, lo que reduce sustancialmente la cantidad de intentos que un atacante en la red tendría que realizar para falsificar una respuesta y lograr que dnsmasq la acepte.&#xa0;Este problema contrasta con RFC5452, que especifica los atributos de una consulta que deben ser usados para hacer coincidir una respuesta.&#xa0;Este fallo permite a un atacante realizar un ataque de envenenamiento de caché de DNS.&#xa0;Si está encadenado con CVE-2020-25685 o CVE-2020-25686, se reduce la complejidad del ataque de un ataque con éxito.&#xa0;La mayor amenaza de esta vulnerabilidad es la integridad de los datos","source":"nvd"}],"published":"2021-01-20T15:22:21.000Z","modified":"2026-06-17T03:07:07.427Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","score":3.7,"rating":"LOW"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","score":3.7,"rating":"LOW"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-358"],"affected":[{"ranges":[{"version":"dnsmasq 2.83","status":"affected"}],"product":"dnsmasq","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"2.83"}],"vendor":"thekelleys","product":"dnsmasq","cpe":"cpe:2.3:a:thekelleys:dnsmasq:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"32"},{"status":"affected","version":"33"}],"vendor":"fedoraproject","product":"fedora","cpe":"cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"9.0"},{"status":"affected","version":"10.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","introduced":"4.21","fixed":"4.21.14m"},{"status":"affected","introduced":"4.22","fixed":"4.22.9m"},{"status":"affected","introduced":"4.23","fixed":"4.23.7m"},{"status":"affected","introduced":"4.24","fixed":"4.24.5m"},{"status":"affected","introduced":"4.25","fixed":"4.25.2f"}],"vendor":"arista","product":"eos","cpe":"cpe:2.3:o:arista:eos:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1889686","tags":["issue-tracking","patch","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://www.jsof-tech.com/disclosures/dnspooq/","tags":["third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WYW3IR6APUSKOYKL5FT3ACTIHWHGQY32/","tags":["vendor-advisory","x-refsource-fedora","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://security.gentoo.org/glsa/202101-17","tags":["third-party-advisory","vendor-advisory","x-refsource-gentoo","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://www.debian.org/security/2021/dsa-4844","tags":["third-party-advisory","vendor-advisory","x-refsource-debian","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QGB7HL3OWHTLEPSMLDGOMXQKG3KM2QME/","tags":["vendor-advisory","x-refsource-fedora","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/03/msg00027.html","tags":["mailing-list","third-party-advisory","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://www.arista.com/en/support/advisories-notices/security-advisories/12135-security-advisory-61","tags":["third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://www.kb.cert.org/vuls/id/434904","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"redhat","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-25684","url":"https://www.cve.org/CVERecord?id=CVE-2020-25684","licence":"CVE Terms of Use","modified":"2025-11-04T19:12:12.109Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-25684","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-25684","licence":"Public domain","modified":"2026-06-17T03:07:07.427Z"}],"updatedAt":"2026-11-25T22:57:57.055Z","epss":{"score":0.0416,"percentile":0.91113,"date":"2026-12-01T12:00:22.000Z"}}