Severity
3.7LOWNVD
EPSS
0.3%
top 50.49%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedJan 20
Latest updateMay 24

Description

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 qu

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:NExploitability: 2.2 | Impact: 1.4

Affected Packages4 packages

NVDthekelleys/dnsmasq< 2.83
Debianthekelleys/dnsmasq< 2.83-1+3
CVEListV5thekelleys/dnsmasqdnsmasq 2.83
NVDarista/eos4.214.21.14m+4

Also affects: Debian Linux 10.0, 9.0, Fedora 32, 33

Patches

🔴Vulnerability Details

4
GHSA
GHSA-xqvc-9mc9-4fgx: A flaw was found in dnsmasq before version 22022-05-24
CVEList
CVE-2020-25684: A flaw was found in dnsmasq before version 22021-01-20
OSV
CVE-2020-25684: A flaw was found in dnsmasq before version 22021-01-20
OSV
dnsmasq vulnerabilities2021-01-19

📋Vendor Advisories

7
Cisco
Multiple Vulnerabilities in dnsmasq DNS Forwarder Affecting Cisco Products: January 20212021-01-19
Red Hat
dnsmasq: loose address/port check in reply_query() makes forging replies easier for an off-path attacker2021-01-19
Ubuntu
Dnsmasq vulnerabilities2021-01-19
Microsoft
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 2021-01-12
Microsoft
A flaw was found in dnsmasq before version 2.83. When receiving a query dnsmasq does not check for an existing pending request for the same name and forwards a new request. By default a maximum of 1502021-01-12

💬Community

1
Bugzilla
CVE-2020-25684 dnsmasq: loose address/port check in reply_query() makes forging replies easier for an off-path attacker2020-10-20
CVE-2020-25684 — Thekelleys Dnsmasq vulnerability | cvebase