PT-2021-2208 · Dnsmasq+6 · Dnsmasq+6
Moshe Kol
+1
·
Published
2021-01-19
·
Updated
2024-06-15
·
CVE-2020-25681
CVSS v2.0
9.3
High
| Vector | AV:N/AC:M/Au:N/C:C/I:C/A:C |
Name of the Vulnerable Software and Affected Versions
dnsmasq versions prior to 2.83
Description
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.
Recommendations
For versions prior to 2.83, update to version 2.83 or later to resolve the issue. As a temporary workaround, consider restricting access to the DNS server to minimize the risk of exploitation. Avoid using the
sort rrset() function in the dnssec.c file until a patch is available.Fix
Heap Based Buffer Overflow
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Centos
Linuxmint
Red Hat
Suse
Ubuntu
Dnsmasq