Vulnerability · Published Jan 20, 2021 · Assigned by redhat

CVE-2020-25681

High 8.1

In plain English

A high-severity heap buffer overflow in dnsmasq. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 84.1% (higher than 99.7% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)8.1High
Exploit odds (30 days)84.1%top 0.3% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20dnsmasq2.83-r0ALPINE-CVE-2020-25681
Alpine:v3.21dnsmasq2.83-r0ALPINE-CVE-2020-25681
Alpine:v3.22dnsmasq2.83-r0ALPINE-CVE-2020-25681
Alpine:v3.23dnsmasq2.83-r0ALPINE-CVE-2020-25681
Alpine:v3.24dnsmasq2.83-r0ALPINE-CVE-2020-25681
Debian:12dnsmasq2.83-1DEBIAN-CVE-2020-25681
Debian:13dnsmasq2.83-1DEBIAN-CVE-2020-25681
Debian:14dnsmasq2.83-1DEBIAN-CVE-2020-25681

Affected products (as reported)

VendorProductVersions
n/a dnsmasq dnsmasq 2.83

Weakness: CWE-122

References