DNS cache poisoning via fixed forwarding port
Published Apr 8, 2021 · Updated Dec 3, 2025
DNS cache poisoning in Simon Kelley dnsmasq before 2.85 allows remote attackers to forge cached replies via network DNS queries. When an upstream server is bound to a source interface or address, the forwarding path reuses one fixed UDP source port instead of selecting a random port per query. Exploitation requires learning that port, initiating a query, spoofing the upstream server, winning the reply race, and guessing the 16-bit transaction ID; accepted records redirect later DNS lookups.
Summary
What happened
DNS cache poisoning in Simon Kelley dnsmasq before 2.85 allows remote attackers to forge cached replies via network DNS queries. When an upstream server is bound to a source interface or address, the forwarding path reuses one fixed UDP source port instead of selecting a random port per query. Exploitation requires learning that port, initiating a query, spoofing the upstream server, winning the reply race, and guessing the 16-bit transaction ID; accepted records redirect later DNS lookups.
The record
- CVE
- CVE-2021-3448
- Published
- Apr 8, 2021
- Updated
- Dec 3, 2025
- Vendor
- Simon Kelley
- Product
- dnsmasq
- Classifications
- CWE-358, T1557
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Apr 8, 2021CVE publishedPublication date reported by the CVE source.
- Dec 3, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=dnsmasq 2.85
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo