CVE-2020-25681CWE-122

CVE-2020-25681: vulnerability in dnsmasq

Published · Updated

25Vexday Risk Score

No sign of exploitation. No public exploitation artifact known so far.

ssvc Trackepss 81%
exploitation probability
81%top 1% of all CVEs
observed exploitation
nono source reports it
What the vendors declare (VEX)

Official vendor statements in CSAF/VEX format: whether their product is affected, already fixed, or ruled out — and why. These are the vendor's assertions, not Vexday's judgment.

Fixed
3 products (63 components)
Red Hat Enterprise Linux AppStream (v. 8) · Red Hat Enterprise Linux AppStream EUS (v. 8.1) · Red Hat Enterprise Linux AppStream EUS (v. 8.2)
Not affected
6 products (12 components) — because the vulnerable code is not present in the product
Red Hat Enterprise Linux 6 · Red Hat Enterprise Linux 7 · Red Hat Enterprise Linux 9 · Red Hat Enterprise Linux 5 · Red Hat OpenStack Platform 10 (Newton) · and others 1
In short

Dnsmasq has a heap memory overflow vulnerability when processing DNS responses with DNSSEC validation. An attacker can exploit this by sending specially crafted DNS replies to potentially run malicious code or crash the system.

Technical detail

A heap-based buffer overflow exists in RRSet sorting during DNSSEC validation in dnsmasq < 2.83. An attacker with network access capable of forging DNS replies can trigger arbitrary heap memory corruption, potentially achieving code execution or denial of service. Requires the victim to accept the forged DNS response as valid.

Summary generated and translated by AI from the 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 products
n/a · dnsmasq