CVE-2020-25685
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
30- dnsmasq/dnsmasqdescription
- Range: <2.83
- osv-coords28 versionspkg:rpm/opensuse/dnsmasq&distro=openSUSE%20Leap%2015.1pkg:rpm/opensuse/dnsmasq&distro=openSUSE%20Leap%2015.2pkg:rpm/opensuse/dnsmasq&distro=openSUSE%20Tumbleweedpkg:rpm/suse/dnsmasq&distro=HPE%20Helion%20OpenStack%208pkg:rpm/suse/dnsmasq&distro=SUSE%20Enterprise%20Storage%205pkg:rpm/suse/dnsmasq&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-ESPOSpkg:rpm/suse/dnsmasq&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-LTSSpkg:rpm/suse/dnsmasq&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP1pkg:rpm/suse/dnsmasq&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP2pkg:rpm/suse/dnsmasq&distro=SUSE%20Linux%20Enterprise%20Point%20of%20Sale%2011%20SP3pkg:rpm/suse/dnsmasq&distro=SUSE%20Linux%20Enterprise%20Server%2011%20SP4-LTSSpkg:rpm/suse/dnsmasq&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-BCLpkg:rpm/suse/dnsmasq&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-LTSSpkg:rpm/suse/dnsmasq&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3-BCLpkg:rpm/suse/dnsmasq&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3-LTSSpkg:rpm/suse/dnsmasq&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP4-LTSSpkg:rpm/suse/dnsmasq&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5pkg:rpm/suse/dnsmasq&distro=SUSE%20Linux%20Enterprise%20Server%2015-LTSSpkg:rpm/suse/dnsmasq&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP2pkg:rpm/suse/dnsmasq&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP3pkg:rpm/suse/dnsmasq&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP4pkg:rpm/suse/dnsmasq&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5pkg:rpm/suse/dnsmasq&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015pkg:rpm/suse/dnsmasq&distro=SUSE%20OpenStack%20Cloud%207pkg:rpm/suse/dnsmasq&distro=SUSE%20OpenStack%20Cloud%208pkg:rpm/suse/dnsmasq&distro=SUSE%20OpenStack%20Cloud%209pkg:rpm/suse/dnsmasq&distro=SUSE%20OpenStack%20Cloud%20Crowbar%208pkg:rpm/suse/dnsmasq&distro=SUSE%20OpenStack%20Cloud%20Crowbar%209
< 2.78-lp151.5.6.1+ 27 more
- (no CPE)range: < 2.78-lp151.5.6.1
- (no CPE)range: < 2.78-lp152.7.3.1
- (no CPE)range: < 2.86-1.1
- (no CPE)range: < 2.78-18.15.1
- (no CPE)range: < 2.78-18.15.1
- (no CPE)range: < 2.78-3.11.1
- (no CPE)range: < 2.78-3.11.1
- (no CPE)range: < 2.78-7.6.1
- (no CPE)range: < 2.78-7.6.1
- (no CPE)range: < 2.78-0.16.14.1
- (no CPE)range: < 2.78-0.17.15.1
- (no CPE)range: < 2.78-18.15.1
- (no CPE)range: < 2.78-18.15.1
- (no CPE)range: < 2.78-18.15.1
- (no CPE)range: < 2.78-18.15.1
- (no CPE)range: < 2.78-18.15.1
- (no CPE)range: < 2.78-18.15.1
- (no CPE)range: < 2.78-3.11.1
- (no CPE)range: < 2.78-18.15.1
- (no CPE)range: < 2.78-18.15.1
- (no CPE)range: < 2.78-18.15.1
- (no CPE)range: < 2.78-18.15.1
- (no CPE)range: < 2.78-3.11.1
- (no CPE)range: < 2.78-18.15.1
- (no CPE)range: < 2.78-18.15.1
- (no CPE)range: < 2.78-18.15.1
- (no CPE)range: < 2.78-18.15.1
- (no CPE)range: < 2.78-18.15.1
Patches
Vulnerability mechanics
References
7- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QGB7HL3OWHTLEPSMLDGOMXQKG3KM2QME/mitrevendor-advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WYW3IR6APUSKOYKL5FT3ACTIHWHGQY32/mitrevendor-advisory
- security.gentoo.org/glsa/202101-17mitrevendor-advisory
- www.debian.org/security/2021/dsa-4844mitrevendor-advisory
- bugzilla.redhat.com/show_bug.cgimitre
- www.arista.com/en/support/advisories-notices/security-advisories/12135-security-advisory-61mitre
- www.jsof-tech.com/disclosures/dnspooq/mitre
News mentions
0No linked articles in our index yet.