CVE Vulnerabilities

CVE-2020-25684

Improperly Implemented Security Check for Standard

Published: Jan 20, 2021 | Modified: Nov 04, 2025
CVSS 3.x
3.7
LOW
Source:
NVD
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
CVSS 2.x
4.3 MEDIUM
AV:N/AC:M/Au:N/C:N/I:P/A:N
RedHat/V2
RedHat/V3
4 MODERATE
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

A flaw was found in dnsmasq before version 2.83. When getting a reply from a forwarded query, dnsmasq checks in the forward.c:reply_query() if the reply destination address/port is used by the pending forwarded queries. However, it does not use the address/port to retrieve the exact forwarded query, substantially reducing the number of attempts an attacker on the network would have to perform to forge a reply and get it accepted by dnsmasq. This issue contrasts with RFC5452, which specifies a querys attributes that all must be used to match a reply. This flaw allows an attacker to perform a DNS Cache Poisoning attack. If chained with CVE-2020-25685 or CVE-2020-25686, the attack complexity of a successful attack is reduced. The highest threat from this vulnerability is to data integrity.

Weakness

The product does not implement or incorrectly implements one or more security-relevant checks as specified by the design of a standardized algorithm, protocol, or technique.

Affected Software

NameVendorStart VersionEnd Version
DnsmasqThekelleys*2.83 (excluding)
Red Hat Enterprise Linux 7RedHatdnsmasq-0:2.76-16.el7_9.1*
Red Hat Enterprise Linux 7.2 Advanced Update SupportRedHatdnsmasq-0:2.66-14.el7_2.3*
Red Hat Enterprise Linux 7.3 Advanced Update SupportRedHatdnsmasq-0:2.66-21.el7_3.3*
Red Hat Enterprise Linux 7.4 Advanced Update SupportRedHatdnsmasq-0:2.76-2.el7_4.3*
Red Hat Enterprise Linux 7.4 Telco Extended Update SupportRedHatdnsmasq-0:2.76-2.el7_4.3*
Red Hat Enterprise Linux 7.4 Update Services for SAP SolutionsRedHatdnsmasq-0:2.76-2.el7_4.3*
Red Hat Enterprise Linux 7.6 Extended Update SupportRedHatdnsmasq-0:2.76-7.el7_6.2*
Red Hat Enterprise Linux 7.7 Extended Update SupportRedHatdnsmasq-0:2.76-10.el7_7.2*
Red Hat Enterprise Linux 8RedHatdnsmasq-0:2.79-13.el8_3.1*
Red Hat Enterprise Linux 8.1 Extended Update SupportRedHatdnsmasq-0:2.79-6.el8_1.1*
Red Hat Enterprise Linux 8.2 Extended Update SupportRedHatdnsmasq-0:2.79-11.el8_2.2*
Red Hat Virtualization 4 for Red Hat Enterprise Linux 7RedHatredhat-virtualization-host-0:4.3.13-20210127.0.el7_9*
Red Hat Virtualization 4 for Red Hat Enterprise Linux 8RedHatredhat-virtualization-host-0:4.4.4-20210201.0.el8_3*
DnsmasqUbuntubionic*
DnsmasqUbuntudevel*
DnsmasqUbuntuesm-infra-legacy/trusty*
DnsmasqUbuntuesm-infra/bionic*
DnsmasqUbuntuesm-infra/focal*
DnsmasqUbuntuesm-infra/xenial*
DnsmasqUbuntufocal*
DnsmasqUbuntugroovy*
DnsmasqUbuntuhirsute*
DnsmasqUbuntuimpish*
DnsmasqUbuntujammy*
DnsmasqUbuntukinetic*
DnsmasqUbuntulunar*
DnsmasqUbuntumantic*
DnsmasqUbuntunoble*
DnsmasqUbuntuoracular*
DnsmasqUbuntuplucky*
DnsmasqUbuntuprecise/esm*
DnsmasqUbuntutrusty*
DnsmasqUbuntutrusty/esm*
DnsmasqUbuntuupstream*
DnsmasqUbuntuxenial*

References