Skip to content

CVE-2021-3448 A flaw was found in dnsmasq in versions before 2.85. When configured to use a specific server for a given network interface, dnsmasq uses a fixed port while forwarding queries. An attacker on the netw...

MediumCVSS 4.0 EPSS 2.3%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
UbuntuDebianRed Hat

Description

A flaw was found in dnsmasq in versions before 2.85. When configured to use a specific server for a given network interface, dnsmasq uses a fixed port while forwarding queries. An attacker on the network, able to find the outgoing port used by dnsmasq, only needs to guess the random transmission ID to forge a reply and get it accepted by dnsmasq. This flaw makes a DNS Cache Poisoning attack much easier. The highest threat from this vulnerability is to data integrity.

Upgrade path

26 packages: 22 fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/dnsmasq(Ubuntu Pro 14.04) = 2.66-4ubuntu1; = 2.67-1; = 2.68-1; = 2.68-1ubuntu0.1 +7 more No fix listed No fix yet
alpine/dnsmasq(Alpine v3.10) < 2.85-r0 2.85-r0 Fixed
alpine/dnsmasq(Alpine v3.11) < 2.85-r0 2.85-r0 Fixed
alpine/dnsmasq(Alpine v3.12) < 2.85-r0 2.85-r0 Fixed
alpine/dnsmasq(Alpine v3.13) < 2.85-r0 2.85-r0 Fixed
alpine/dnsmasq(Alpine v3.14) < 2.85-r0 2.85-r0 Fixed
alpine/dnsmasq(Alpine v3.15) < 2.85-r0 2.85-r0 Fixed
alpine/dnsmasq(Alpine v3.16) < 2.85-r0 2.85-r0 Fixed
alpine/dnsmasq(Alpine v3.17) < 2.85-r0 2.85-r0 Fixed
alpine/dnsmasq(Alpine v3.18) < 2.85-r0 2.85-r0 Fixed
alpine/dnsmasq(Alpine v3.19) < 2.85-r0 2.85-r0 Fixed
alpine/dnsmasq(Alpine v3.20) < 2.85-r0 2.85-r0 Fixed
alpine/dnsmasq(Alpine v3.21) < 2.85-r0 2.85-r0 Fixed
alpine/dnsmasq(Alpine v3.22) < 2.85-r0 2.85-r0 Fixed
alpine/dnsmasq(Alpine v3.23) < 2.85-r0 2.85-r0 Fixed
alpine/dnsmasq(Alpine v3.24) < 2.85-r0 2.85-r0 Fixed
debian/dnsmasq(Debian 12) < 2.85-1 2.85-1 Fixed
debian/dnsmasq(Debian 13) < 2.85-1 2.85-1 Fixed
debian/dnsmasq(Debian 14) < 2.85-1 2.85-1 Fixed
thekelleys dnsmasq < 2.85 2.85 Fixed
ubuntu/dnsmasq(Ubuntu 18.04) < 2.79-1ubuntu0.4; = 2.78-1; = 2.78-3; = 2.79-1 +2 more 2.79-1ubuntu0.4 Fixed
ubuntu/dnsmasq(Ubuntu 20.04) < 2.80-1.1ubuntu1.4; = 2.80-1.1ubuntu1; = 2.80-1.1ubuntu1.2; = 2.80-1.1ubuntu1.3 +2 more 2.80-1.1ubuntu1.4 Fixed
ubuntu/dnsmasq(Ubuntu Pro 16.04) < 2.79-1ubuntu0.16.04.1+esm1; = 2.75-1; = 2.75-1ubuntu0.16.04.1; = 2.75-1ubuntu0.16.04.2 +7 more 2.79-1ubuntu0.16.04.1+esm1 Fixed
fedoraproject fedora = 32; = 33; = 34 No fix listed Versions listed
oracle communications cloud native core network function cloud native environment = 1.9.0 No fix listed Versions listed
redhat enterprise linux = 8.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
debian/dnsmasq(Debian:12) < 2.85-1 2.85-1
debian/dnsmasq(Debian:13) < 2.85-1 2.85-1
debian/dnsmasq(Debian:14) < 2.85-1 2.85-1
thekelleys dnsmasq < 2.85 2.85
redhat enterprise linux = 8.0 No fix listed
fedoraproject fedora = 32 No fix listed
fedoraproject fedora = 33 No fix listed
fedoraproject fedora = 34 No fix listed
oracle communications cloud native core network function cloud native environment = 1.9.0 No fix listed
alpine/dnsmasq(Alpine:v3.10) < 2.85-r0 2.85-r0
alpine/dnsmasq(Alpine:v3.11) < 2.85-r0 2.85-r0
alpine/dnsmasq(Alpine:v3.12) < 2.85-r0 2.85-r0
alpine/dnsmasq(Alpine:v3.13) < 2.85-r0 2.85-r0
alpine/dnsmasq(Alpine:v3.14) < 2.85-r0 2.85-r0
alpine/dnsmasq(Alpine:v3.15) < 2.85-r0 2.85-r0
alpine/dnsmasq(Alpine:v3.16) < 2.85-r0 2.85-r0
alpine/dnsmasq(Alpine:v3.17) < 2.85-r0 2.85-r0
alpine/dnsmasq(Alpine:v3.18) < 2.85-r0 2.85-r0
alpine/dnsmasq(Alpine:v3.19) < 2.85-r0 2.85-r0
alpine/dnsmasq(Alpine:v3.20) < 2.85-r0 2.85-r0
alpine/dnsmasq(Alpine:v3.21) < 2.85-r0 2.85-r0
alpine/dnsmasq(Alpine:v3.22) < 2.85-r0 2.85-r0
alpine/dnsmasq(Alpine:v3.23) < 2.85-r0 2.85-r0
alpine/dnsmasq(Alpine:v3.24) < 2.85-r0 2.85-r0
ubuntu/dnsmasq(Ubuntu:Pro:14.04) All versions No fix listed
Show 33 more
ProductAffected versionsFixed in
ubuntu/dnsmasq(Ubuntu:Pro:14.04) = 2.66-4ubuntu1 No fix listed
ubuntu/dnsmasq(Ubuntu:Pro:14.04) = 2.67-1 No fix listed
ubuntu/dnsmasq(Ubuntu:Pro:14.04) = 2.68-1 No fix listed
ubuntu/dnsmasq(Ubuntu:Pro:14.04) = 2.68-1ubuntu0.1 No fix listed
ubuntu/dnsmasq(Ubuntu:Pro:14.04) = 2.68-1ubuntu0.2 No fix listed
ubuntu/dnsmasq(Ubuntu:Pro:14.04) = 2.68-1ubuntu0.2+esm1 No fix listed
ubuntu/dnsmasq(Ubuntu:Pro:14.04) = 2.68-1ubuntu0.2+esm2 No fix listed
ubuntu/dnsmasq(Ubuntu:Pro:14.04) = 2.68-1ubuntu0.2+esm3 No fix listed
ubuntu/dnsmasq(Ubuntu:Pro:14.04) = 2.68-1ubuntu0.2+esm5 No fix listed
ubuntu/dnsmasq(Ubuntu:Pro:14.04) = 2.68-1ubuntu0.2+esm6 No fix listed
ubuntu/dnsmasq(Ubuntu:Pro:16.04) < 2.79-1ubuntu0.16.04.1+esm1 2.79-1ubuntu0.16.04.1+esm1
ubuntu/dnsmasq(Ubuntu:Pro:16.04) = 2.75-1 No fix listed
ubuntu/dnsmasq(Ubuntu:Pro:16.04) = 2.75-1ubuntu0.16.04.1 No fix listed
ubuntu/dnsmasq(Ubuntu:Pro:16.04) = 2.75-1ubuntu0.16.04.2 No fix listed
ubuntu/dnsmasq(Ubuntu:Pro:16.04) = 2.75-1ubuntu0.16.04.3 No fix listed
ubuntu/dnsmasq(Ubuntu:Pro:16.04) = 2.75-1ubuntu0.16.04.4 No fix listed
ubuntu/dnsmasq(Ubuntu:Pro:16.04) = 2.75-1ubuntu0.16.04.5 No fix listed
ubuntu/dnsmasq(Ubuntu:Pro:16.04) = 2.75-1ubuntu0.16.04.7 No fix listed
ubuntu/dnsmasq(Ubuntu:Pro:16.04) = 2.75-1ubuntu0.16.04.8 No fix listed
ubuntu/dnsmasq(Ubuntu:Pro:16.04) = 2.75-1ubuntu0.16.04.10 No fix listed
ubuntu/dnsmasq(Ubuntu:Pro:16.04) = 2.75-1ubuntu0.16.04.10+esm1 No fix listed
ubuntu/dnsmasq(Ubuntu:18.04) < 2.79-1ubuntu0.4 2.79-1ubuntu0.4
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:18.04) = 2.79-1ubuntu0.2 No fix listed
ubuntu/dnsmasq(Ubuntu:18.04) = 2.79-1ubuntu0.3 No fix listed
ubuntu/dnsmasq(Ubuntu:20.04) < 2.80-1.1ubuntu1.4 2.80-1.1ubuntu1.4
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
ubuntu/dnsmasq(Ubuntu:20.04) = 2.80-1.1ubuntu1.2 No fix listed
ubuntu/dnsmasq(Ubuntu:20.04) = 2.80-1.1ubuntu1.3 No fix listed

References