Severity
8.1HIGHNVD
EPSS
34.3%
top 3.01%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedJan 20
Latest updateMay 24

Description

A flaw was found in dnsmasq before 2.83. A buffer overflow vulnerability was discovered in the way dnsmasq extract names from DNS packets before validating them with DNSSEC data. An attacker on the network, who can create valid DNS replies, could use this flaw to cause an overflow with arbitrary data in a heap-allocated memory, possibly executing code on the machine. The flaw is in the rfc1035.c:extract_name() function, which writes data to the memory pointed by name assuming MAXDNAME*2 bytes ar

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HExploitability: 2.2 | Impact: 5.9

Affected Packages3 packages

NVDthekelleys/dnsmasq< 2.83
Debianthekelleys/dnsmasq< 2.83-1+3
CVEListV5thekelleys/dnsmasqdnsmasq 2.83

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

Patches

🔴Vulnerability Details

5
GHSA
GHSA-3qqq-357h-32gj: A flaw was found in dnsmasq before 22022-05-24
OSV
dnsmasq regression2021-02-24
CVEList
CVE-2020-25682: A flaw was found in dnsmasq before 22021-01-20
OSV
CVE-2020-25682: A flaw was found in dnsmasq before 22021-01-20
OSV
dnsmasq vulnerabilities2021-01-19

📋Vendor Advisories

5
Cisco
Multiple Vulnerabilities in dnsmasq DNS Forwarder Affecting Cisco Products: January 20212021-01-19
Red Hat
dnsmasq: buffer overflow in extract_name() due to missing length check when DNSSEC is enabled2021-01-19
Ubuntu
Dnsmasq vulnerabilities2021-01-19
Microsoft
A flaw was found in dnsmasq before 2.83. A buffer overflow vulnerability was discovered in the way dnsmasq extract names from DNS packets before validating them with DNSSEC data. An attacker on the ne2021-01-12
Debian
CVE-2020-25682: dnsmasq - A flaw was found in dnsmasq before 2.83. A buffer overflow vulnerability was dis...2020

💬Community

1
Bugzilla
CVE-2020-25682 dnsmasq: buffer overflow in extract_name() due to missing length check when DNSSEC is enabled2020-09-23
CVE-2020-25682 — Heap-based Buffer Overflow in Dnsmasq | cvebase