Skip to main content
Mallory
LowPublic exploitVulnerability

CVE-2020-25684: DNS response validation flaw in dnsmasq

Published Jan 20, 2021 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS3.7Low · v3.1
EPSS4.2%91st percentile
CISA KEVNoNot listed
In the wildNonePublic exploit, no exploitation reported
Vendors
Debian ProjectThekelleysArista NetworksFedora Project
IdentifiersCVE-2020-25684CWE-346

CVE-2020-25684 is a DNS response validation vulnerability in dnsmasq versions before 2.83 and part of the DNSpooq vulnerability set. The reply_query() function checks whether a response's destination address and port are associated with pending forwarded queries, but does not use those attributes to identify the exact query being answered. Consequently, the response's address/port and query ID are not validated together against the same outstanding query, contrary to RFC 5452. This reduces the number of attempts required to have a forged response accepted and enables DNS cache poisoning. Combining it with CVE-2020-25685 or CVE-2020-25686 further reduces attack complexity.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation compromises DNS resolution integrity by allowing forged DNS records to enter the resolver's cache. Clients relying on the poisoned cache may be redirected to attacker-controlled services. The vulnerability does not itself establish arbitrary code execution or a direct confidentiality or availability impact; the memory-corruption vulnerabilities in the broader DNSpooq set are separate issues.

Mitigation

If you can’t patch tonight, do this now.

Disable dnsmasq caching to prevent persistent cache poisoning, recognizing the resulting increase in upstream DNS traffic and potential latency. Alternatively, disable the affected DNS proxy and configure clients to use another DNS resolver. On affected Siemens SCALANCE M-800, RUGGEDCOM RM1224, SCALANCE S615, and SCALANCE SC-600 devices, disable the DNS proxy through the device configuration. For SCALANCE W1750D, block incoming UDP port 53 only if OpenDNS, Captive Portal, and URL redirection functionality are not used. Restrict access to affected DNS services and monitor for unusually large bursts of DNS queries.

Remediation

Patch, then assume compromise.

Upgrade dnsmasq to version 2.83 or later, or install a vendor update containing the fix. For affected Siemens products, upgrade RUGGEDCOM RM1224, SCALANCE M-800, and SCALANCE S615 to V6.4 or later, and SCALANCE SC-600 to V2.1.3 or later. No solution is expected for SCALANCE W1750D; apply the applicable workaround or consider replacement. For affected Sierra Wireless devices, install the product-specific corrected firmware when available.

Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Arista NetworksEosoperating_system
Debian ProjectDebian Linuxoperating_system
Fedora ProjectFedoraoperating_system
ThekelleysDnsmasqapplication
FAQ

Frequently asked questions

Is CVE-2020-25684 exploited in the wild?
As of Oct 25, 2026, Mallory has no reports of CVE-2020-25684 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2020-25684?
Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2020-25684, the earliest disclosed Jan 23, 2021.
Is there a patch for CVE-2020-25684?
Upgrade dnsmasq to version 2.83 or later, or install a vendor update containing the fix. For affected Siemens products, upgrade RUGGEDCOM RM1224, SCALANCE M-800, and SCALANCE S615 to V6.4 or later, and SCALANCE SC-600 to V2.1.3 or later.
What products are affected by CVE-2020-25684?
Thekelleys Dnsmasq, Debian Project Debian Linux, Arista Networks Eos, and Fedora Project Fedora.
How severe is CVE-2020-25684?
CVE-2020-25684 has a CVSS v3.1 score of 3.7 (Low) and an EPSS score of 4.2% (91st percentile) as of Oct 25, 2026.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.