Skip to content

CVE-2020-25681 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....

HighCVSS 8.1 EPSS 88.3%
Published
Updated
Exploit status
No public exploit known
Technology
UbuntuDebian

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.

Upgrade path

24 packages: 22 fixed.

PackageAffectedFixed inStatus
alpine/dnsmasq(Alpine v3.10) < 2.83-r0 2.83-r0 Fixed
alpine/dnsmasq(Alpine v3.11) < 2.83-r0 2.83-r0 Fixed
alpine/dnsmasq(Alpine v3.12) < 2.83-r0 2.83-r0 Fixed
alpine/dnsmasq(Alpine v3.13) < 2.83-r0 2.83-r0 Fixed
alpine/dnsmasq(Alpine v3.14) < 2.83-r0 2.83-r0 Fixed
alpine/dnsmasq(Alpine v3.15) < 2.83-r0 2.83-r0 Fixed
alpine/dnsmasq(Alpine v3.16) < 2.83-r0 2.83-r0 Fixed
alpine/dnsmasq(Alpine v3.17) < 2.83-r0 2.83-r0 Fixed
alpine/dnsmasq(Alpine v3.18) < 2.83-r0 2.83-r0 Fixed
alpine/dnsmasq(Alpine v3.19) < 2.83-r0 2.83-r0 Fixed
alpine/dnsmasq(Alpine v3.20) < 2.83-r0 2.83-r0 Fixed
alpine/dnsmasq(Alpine v3.21) < 2.83-r0 2.83-r0 Fixed
alpine/dnsmasq(Alpine v3.22) < 2.83-r0 2.83-r0 Fixed
alpine/dnsmasq(Alpine v3.23) < 2.83-r0 2.83-r0 Fixed
alpine/dnsmasq(Alpine v3.24) < 2.83-r0 2.83-r0 Fixed
debian/dnsmasq(Debian 12) < 2.83-1 2.83-1 Fixed
debian/dnsmasq(Debian 13) < 2.83-1 2.83-1 Fixed
debian/dnsmasq(Debian 14) < 2.83-1 2.83-1 Fixed
thekelleys dnsmasq < 2.83 2.83 Fixed
ubuntu/dnsmasq(Ubuntu 16.04) < 2.75-1ubuntu0.16.04.7; = 2.75-1; = 2.75-1ubuntu0.16.04.1; = 2.75-1ubuntu0.16.04.2 +3 more 2.75-1ubuntu0.16.04.7 Fixed
ubuntu/dnsmasq(Ubuntu 18.04) < 2.79-1ubuntu0.2; = 2.78-1; = 2.78-3; = 2.79-1 2.79-1ubuntu0.2 Fixed
ubuntu/dnsmasq(Ubuntu 20.04) < 2.80-1.1ubuntu1.2; = 2.80-1.1ubuntu1; = 2.80-1ubuntu2; = 2.80-1ubuntu4 2.80-1.1ubuntu1.2 Fixed
debian linux = 9.0; = 10.0 No fix listed Versions listed
fedoraproject fedora = 32; = 33 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
debian/dnsmasq(Debian:12) < 2.83-1 2.83-1
debian/dnsmasq(Debian:13) < 2.83-1 2.83-1
debian/dnsmasq(Debian:14) < 2.83-1 2.83-1
thekelleys dnsmasq < 2.83 2.83
fedoraproject fedora = 32 No fix listed
fedoraproject fedora = 33 No fix listed
debian linux = 9.0 No fix listed
debian linux = 10.0 No fix listed
alpine/dnsmasq(Alpine:v3.10) < 2.83-r0 2.83-r0
alpine/dnsmasq(Alpine:v3.11) < 2.83-r0 2.83-r0
alpine/dnsmasq(Alpine:v3.12) < 2.83-r0 2.83-r0
alpine/dnsmasq(Alpine:v3.13) < 2.83-r0 2.83-r0
alpine/dnsmasq(Alpine:v3.14) < 2.83-r0 2.83-r0
alpine/dnsmasq(Alpine:v3.15) < 2.83-r0 2.83-r0
alpine/dnsmasq(Alpine:v3.16) < 2.83-r0 2.83-r0
alpine/dnsmasq(Alpine:v3.17) < 2.83-r0 2.83-r0
alpine/dnsmasq(Alpine:v3.18) < 2.83-r0 2.83-r0
alpine/dnsmasq(Alpine:v3.19) < 2.83-r0 2.83-r0
alpine/dnsmasq(Alpine:v3.20) < 2.83-r0 2.83-r0
alpine/dnsmasq(Alpine:v3.21) < 2.83-r0 2.83-r0
alpine/dnsmasq(Alpine:v3.22) < 2.83-r0 2.83-r0
alpine/dnsmasq(Alpine:v3.23) < 2.83-r0 2.83-r0
alpine/dnsmasq(Alpine:v3.24) < 2.83-r0 2.83-r0
ubuntu/dnsmasq(Ubuntu:16.04) < 2.75-1ubuntu0.16.04.7 2.75-1ubuntu0.16.04.7
ubuntu/dnsmasq(Ubuntu:16.04) = 2.75-1 No fix listed
Show 13 more
ProductAffected versionsFixed in
ubuntu/dnsmasq(Ubuntu:16.04) = 2.75-1ubuntu0.16.04.1 No fix listed
ubuntu/dnsmasq(Ubuntu:16.04) = 2.75-1ubuntu0.16.04.2 No fix listed
ubuntu/dnsmasq(Ubuntu:16.04) = 2.75-1ubuntu0.16.04.3 No fix listed
ubuntu/dnsmasq(Ubuntu:16.04) = 2.75-1ubuntu0.16.04.4 No fix listed
ubuntu/dnsmasq(Ubuntu:16.04) = 2.75-1ubuntu0.16.04.5 No fix listed
ubuntu/dnsmasq(Ubuntu:18.04) < 2.79-1ubuntu0.2 2.79-1ubuntu0.2
ubuntu/dnsmasq(Ubuntu:18.04) = 2.78-1 No fix listed
ubuntu/dnsmasq(Ubuntu:18.04) = 2.78-3 No fix listed
ubuntu/dnsmasq(Ubuntu:18.04) = 2.79-1 No fix listed
ubuntu/dnsmasq(Ubuntu:20.04) < 2.80-1.1ubuntu1.2 2.80-1.1ubuntu1.2
ubuntu/dnsmasq(Ubuntu:20.04) = 2.80-1ubuntu2 No fix listed
ubuntu/dnsmasq(Ubuntu:20.04) = 2.80-1ubuntu4 No fix listed
ubuntu/dnsmasq(Ubuntu:20.04) = 2.80-1.1ubuntu1 No fix listed

References