Security mailing lists by PureSourceCode

CVE-2020-25685

LOW 3.7CVSS 3.1

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.

Published
20 Jan 2021
Last modified
17 Jun 2026
Assigned by
secalert@redhat.com
NVD status
Modified
Weakness
CWE-326
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 LOW 3.7 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD thekelleys dnsmasq
cpe:2.3:a:thekelleys:dnsmasq:*:*:*:*:*:*:*:*
< 2.83 2.83
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*
= 32
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
= 33
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
= 10.0
NVD arista eos
cpe:2.3:o:arista:eos:*:*:*:*:*:*:*:*
>= 4.21, < 4.21.14m 4.21.14m
NVD arista eos
cpe:2.3:o:arista:eos:*:*:*:*:*:*:*:*
>= 4.22, < 4.22.9m 4.22.9m
NVD arista eos
cpe:2.3:o:arista:eos:*:*:*:*:*:*:*:*
>= 4.23, < 4.23.7m 4.23.7m
NVD arista eos
cpe:2.3:o:arista:eos:*:*:*:*:*:*:*:*
>= 4.24, < 4.24.5m 4.24.5m
NVD arista eos
cpe:2.3:o:arista:eos:*:*:*:*:*:*:*:*
>= 4.25, < 4.25.2f 4.25.2f

References

History

  • 25 Nov 2026 20:32 UTC · NVD: first stored (published 20 Jan 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.