CVEfocus › CVE database › CVE-2021-3448

CVE-2021-3448

CVSS 4.0 MediumEPSS 2.3% (higher than 83% of CVEs)Published 2021-04-08Updated 2025-12-03Assigner: redhat

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.

CWE-358

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

25Fixed
2Fix pending
4Will not fix
2Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 20.04dnsmasqFixed2.80-1.1ubuntu1.4UBUNTU-CVE-2021-3448
Ubuntu 18.04dnsmasqFixed2.79-1ubuntu0.4UBUNTU-CVE-2021-3448
Ubuntu 16.04dnsmasqFix pending2.79-1ubuntu0.16.04.1+esm1 (Ubuntu Pro)UBUNTU-CVE-2021-3448
Ubuntu 14.04dnsmasqFix pendingUBUNTU-CVE-2021-3448
Debian 14dnsmasqFixed2.85-1DEBIAN-CVE-2021-3448
Debian 13dnsmasqFixed2.85-1DEBIAN-CVE-2021-3448
Debian 12dnsmasqFixed2.85-1DEBIAN-CVE-2021-3448
Red Hat Enterprise Linux 9dnsmasqNot affected
Red Hat Enterprise Linux 9dnsmasq-utilsNot affected
Red Hat Enterprise Linux 8dnsmasqFixed0:2.79-19.el8RHSA-2021:4153
Red Hat Enterprise Linux 8dnsmasq-utilsFixed0:2.79-19.el8RHSA-2021:4153
Red Hat Enterprise Linux 7dnsmasqWill not fix
Out of support scope
Red Hat Enterprise Linux 7dnsmasq-utilsWill not fix
Out of support scope
Red Hat Enterprise Linux 6dnsmasqWill not fix
Out of support scope
Red Hat Enterprise Linux 6dnsmasq-utilsWill not fix
Out of support scope
AlmaLinux 8dnsmasqFixed2.79-19.el8ALSA-2021:4153
AlmaLinux 8dnsmasq-utilsFixed2.79-19.el8ALSA-2021:4153
Rocky Linux 8dnsmasqFixed0:2.79-19.el8RLSA-2021:4153
Alpine Linux 3.24dnsmasqFixed2.85-r0ALPINE-CVE-2021-3448
Alpine Linux 3.23dnsmasqFixed2.85-r0ALPINE-CVE-2021-3448
Alpine Linux 3.22dnsmasqFixed2.85-r0ALPINE-CVE-2021-3448
Alpine Linux 3.21dnsmasqFixed2.85-r0ALPINE-CVE-2021-3448
Alpine Linux 3.20dnsmasqFixed2.85-r0ALPINE-CVE-2021-3448
Alpine Linux 3.19dnsmasqFixed2.85-r0ALPINE-CVE-2021-3448
Alpine Linux 3.18dnsmasqFixed2.85-r0ALPINE-CVE-2021-3448
Alpine Linux 3.17dnsmasqFixed2.85-r0ALPINE-CVE-2021-3448
Alpine Linux 3.16dnsmasqFixed2.85-r0ALPINE-CVE-2021-3448
Alpine Linux 3.15dnsmasqFixed2.85-r0ALPINE-CVE-2021-3448
Alpine Linux 3.14dnsmasqFixed2.85-r0ALPINE-CVE-2021-3448
Alpine Linux 3.13dnsmasqFixed2.85-r0ALPINE-CVE-2021-3448
Alpine Linux 3.12dnsmasqFixed2.85-r0ALPINE-CVE-2021-3448
Alpine Linux 3.11dnsmasqFixed2.85-r0ALPINE-CVE-2021-3448
Alpine Linux 3.10dnsmasqFixed2.85-r0ALPINE-CVE-2021-3448

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.