CVE-2020-25683

Severity
5.9MEDIUM
EPSS
31.3%
top 3.23%
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 dnsmasq when DNSSEC is enabled and before it validates the received DNS entries. A remote attacker, who can create valid DNS replies, could use this flaw to cause an overflow in a heap-allocated memory. This flaw is caused by the lack of length checks in rfc1035.c:extract_name(), which could be abused to make the code execute memcpy() with a negative size in get_rdata() and cause a crash in dnsmasq, r

CVSS vector

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

Affected Packages3 packages

NVDthekelleys/dnsmasq< 2.83
Debiandnsmasq< 2.83-1+3
CVEListV5dnsmasqdnsmasq 2.83

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

Patches

🔴Vulnerability Details

5
GHSA
GHSA-4g83-8xc3-pp6v: A flaw was found in dnsmasq before version 22022-05-24
OSV
dnsmasq regression2021-02-24
CVEList
CVE-2020-25683: A flaw was found in dnsmasq before version 22021-01-20
OSV
CVE-2020-25683: 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 with large memcpy in get_rdata() 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 dnsmasq when DNSSEC is enabled and before it validates the received DNS entries. A remote attacker who c2021-01-12
Debian
CVE-2020-25683: dnsmasq - A flaw was found in dnsmasq before version 2.83. A heap-based buffer overflow wa...2020

💬Community

1
Bugzilla
CVE-2020-25683 dnsmasq: heap-based buffer overflow with large memcpy in get_rdata() when DNSSEC is enabled2020-09-23
CVE-2020-25683 (MEDIUM CVSS 5.9) | A flaw was found in dnsmasq before | cvebase.io