CVE-2020-25685 Details
Description
A flaw was found in dnsmasq before version 2.83. When getting a reply from a forwarded query, dnsmasq checks in forward.c:reply_query(), which is the forwarded query that matches the reply, by only using a weak hash of the query name. Due to the weak hash (CRC32 when dnsmasq is compiled without DNSSEC, SHA-1 when it is) this flaw allows an off-path attacker to find several different domains all having the same hash, substantially reducing the number of attempts they would have to perform to forge a reply and get it accepted by dnsmasq. This is in contrast with RFC5452, which specifies that the query name is one of the attributes of a query that must be used to match a reply. This flaw could be abused to perform a DNS Cache Poisoning attack. If chained with CVE-2020-25684 the attack complexity of a successful attack is reduced. The highest threat from this vulnerability is to data integrity.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-326 | Inadequate Encryption Strength | [email protected] |
| CWE-326 | Inadequate Encryption Strength | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| thekelleys dnsmasq | < 2.83 |
CPE
Remediation
| |
| fedoraproject fedora | 32 33 |
CPE
Remediation
| |
| debian debian linux | 10.0 |
CPE
Remediation
| |
| arista eos | >= 4.21, < 4.21.14m >= 4.22, < 4.22.9m >= 4.23, < 4.23.7m >= 4.24, < 4.24.5m >= 4.25, < 4.25.2f |
CPE
Remediation
| |
Change History
15 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 4, 2025 | CVE Modified | CVE |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Nov 7, 2023 | CVE Modified | [email protected] |
| Dec 8, 2022 | Modified Analysis | [email protected] |
| Oct 7, 2022 | CVE Modified | [email protected] |
| Feb 14, 2022 | Modified Analysis | [email protected] |
| Jan 25, 2022 | CVE Modified | [email protected] |
| Feb 22, 2021 | Modified Analysis | [email protected] |
| Feb 20, 2021 | CVE Modified | [email protected] |
| Feb 8, 2021 | Modified Analysis | [email protected] |
| Feb 4, 2021 | CVE Modified | [email protected] |
| Jan 28, 2021 | Initial Analysis | [email protected] |
| Jan 26, 2021 | CVE Modified | [email protected] |