CVE-2020-25681

Severity
8.1HIGH
EPSS
45.4%
top 2.39%
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. A heap-based buffer overflow was discovered in the way RRSets are sorted before validating with DNSSEC data. An attacker on the network, who can forge DNS replies such as that they are accepted as valid, could use this flaw to cause a buffer overflow with arbitrary data in a heap memory segment, possibly executing code on the machine. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability

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 Packages4 packages

NVDthekelleys/dnsmasq< 2.83
Debiandnsmasq< 2.83-1+3
Ubuntudnsmasq< 2.75-1ubuntu0.16.04.7+2
CVEListV5dnsmasqdnsmasq 2.83

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

Patches

🔴Vulnerability Details

5
GHSA
GHSA-34v3-rp23-947c: A flaw was found in dnsmasq before version 22022-05-24
OSV
dnsmasq regression2021-02-24
OSV
CVE-2020-25681: A flaw was found in dnsmasq before version 22021-01-20
CVEList
CVE-2020-25681: A flaw was found in dnsmasq before version 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: heap-based buffer overflow in sort_rrset() when DNSSEC is enabled2021-01-19
Ubuntu
Dnsmasq vulnerabilities2021-01-19
Microsoft
A flaw was found in dnsmasq before version 2.83. A heap-based buffer overflow was discovered in the way RRSets are sorted before validating with DNSSEC data. An attacker on the network who can forge D2021-01-12
Debian
CVE-2020-25681: dnsmasq - A flaw was found in dnsmasq before version 2.83. A heap-based buffer overflow wa...2020

💬Community

1
Bugzilla
CVE-2020-25681 dnsmasq: heap-based buffer overflow in sort_rrset() when DNSSEC is enabled2020-09-23
CVE-2020-25681 (HIGH CVSS 8.1) | A flaw was found in dnsmasq before | cvebase.io