Every CVE Search/ Get API key

CVE-2021-3448

A flaw was found in dnsmasq in versions before 2.85. When configured to use a specific server for...

4.0 MediumFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
High
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
Low
Availability
None

Exploit likelihood

2.28%Up 1.9 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 4.0

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.

Record
CVE-2021-3448
CVSS 3.1
4.0 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N
CVSS 2.0
4.3 MediumAV:N/AC:M/Au:N/C:N/I:P/A:N
Weakness
CWE-358
Updated
2026-11-02
CVE List 4.0

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.

Record
CVE-2021-3448
CVSS 3.1
4.0 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N
Weakness
CWE-358
Updated
2026-11-02
EUVDEUVD-2021-26773 4.0

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.

Record
EUVD-2021-26773
CVSS 3.1
4.0 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N
Updated
2026-11-02
GitHub AdvisoriesGHSA-vvf4-c8p4-89v5 4.0

A flaw was found in dnsmasq in versions before 2.85. When configured to use a specific server for...

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.

Record
GHSA-vvf4-c8p4-89v5
CVSS 3.1
4.0 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N
Weakness
CWE-358
Updated
2026-11-02
OSVALPINE-CVE-2021-3448 4.0

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.

Record
ALPINE-CVE-2021-3448
CVSS 3.1
4.0 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N
Updated
2026-11-02
OSVBELL-CVE-2021-3448 4.0

CVE-2021-3448 does not affect BellSoft software

Record
BELL-CVE-2021-3448
CVSS 3.1
4.0 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N
Updated
2026-11-02
Show 18 moreShow less
OSV 4.0

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.

Record
CVE-2021-3448
CVSS 3.1
4.0 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N
Updated
2026-11-02
OSVDEBIAN-CVE-2021-3448 4.0

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.

Record
DEBIAN-CVE-2021-3448
CVSS 3.1
4.0 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N
Updated
2026-11-02
OSVOESA-2021-1189 4.0

dnsmasq security update

Dnsmasq provides network infrastructure for small networks: DNS, DHCP, router advertisement and network boot. It is designed to be lightweight and have a small footprint, suitable for resource constrained routers and firewalls. It has also been widely used for tethering on smartphones and portable hotspots, and to support virtual networking in virtualisation frameworks.

Security Fix(es):

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.(CVE-2021-3448)

Record
OESA-2021-1189
CVSS 3.1
4.0 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N
Updated
2026-11-02
OSVRHSA-2021:4153 4.0

Red Hat Security Advisory: dnsmasq security and bug fix update

Record
RHSA-2021:4153
CVSS 3.1
4.0 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N
Updated
2026-11-02
OSVRLSA-2021:4153 4.0

Moderate: dnsmasq security and bug fix update

The dnsmasq packages contain Dnsmasq, a lightweight DNS (Domain Name Server) forwarder and DHCP (Dynamic Host Configuration Protocol) server.

Security Fix(es):

  • dnsmasq: fixed outgoing port used when --server is used with an interface name (CVE-2021-3448)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Additional Changes:

For detailed information on changes in this release, see the Rocky Linux 8.5 Release Notes linked from the References section.

Record
RLSA-2021:4153
CVSS 3.1
4.0 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N
Updated
2026-11-02
OSVUBUNTU-CVE-2021-3448 4.0

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.

Record
UBUNTU-CVE-2021-3448
CVSS 3.1
4.0 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N
Updated
2026-11-02
OSVALSA-2021:4153 No score

Moderate: dnsmasq security and bug fix update

The dnsmasq packages contain Dnsmasq, a lightweight DNS (Domain Name Server) forwarder and DHCP (Dynamic Host Configuration Protocol) server.

Security Fix(es):

  • dnsmasq: fixed outgoing port used when --server is used with an interface name (CVE-2021-3448)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Additional Changes:

For detailed information on changes in this release, see the AlmaLinux Release Notes linked from the References section.

Record
ALSA-2021:4153
Updated
2026-11-02
OSVMGASA-2021-0231 No score

Updated dnsmasq packages fix a security vulnerability

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 (CVE-2021-3448). This kind of configuration is the default when network-manager uses dnsmasq.

Record
MGASA-2021-0231
Updated
2026-11-02
OSVopenSUSE-SU-2021:1426-1 No score

Security update for dnsmasq

This update for dnsmasq fixes the following issues:

Update to version 2.86

  • CVE-2021-3448: fixed outgoing port used when --server is used with an interface name. (bsc#1183709)
  • CVE-2020-14312: Set --local-service by default (bsc#1173646).
  • Open inotify socket only when used (bsc#1180914).

This update was imported from the SUSE:SLE-15-SP1:Update update project.

Record
openSUSE-SU-2021:1426-1
Updated
2026-11-02
OSVopenSUSE-SU-2021:3530-1 No score

Security update for dnsmasq

This update for dnsmasq fixes the following issues:

Update to version 2.86

  • CVE-2021-3448: fixed outgoing port used when --server is used with an interface name. (bsc#1183709)
  • CVE-2020-14312: Set --local-service by default (bsc#1173646).
  • Open inotify socket only when used (bsc#1180914).
Record
openSUSE-SU-2021:3530-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:10721-1 No score

dnsmasq-2.86-1.1 on GA media

These are all security issues fixed in the dnsmasq-2.86-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:10721-1
Updated
2026-11-02
OSVSUSE-SU-2021:3530-1 No score

Security update for dnsmasq

This update for dnsmasq fixes the following issues:

Update to version 2.86

  • CVE-2021-3448: fixed outgoing port used when --server is used with an interface name. (bsc#1183709)
  • CVE-2020-14312: Set --local-service by default (bsc#1173646).
  • Open inotify socket only when used (bsc#1180914).
Record
SUSE-SU-2021:3530-1
Updated
2026-11-02
OSVSUSE-SU-2022:1288-1 No score

Security update for dnsmasq

This update for dnsmasq fixes the following issues:

  • CVE-2021-3448: Fixed a potential DNS cache poisoning issue due to a constant outgoing port being used when for certain use cases of the --server option (bsc#1183709).
  • CVE-2022-0934: Fixed an invalid memory access that could lead to remote denial of service via crafted packet (bsc#1197872).
Record
SUSE-SU-2022:1288-1
Updated
2026-11-02
OSVSUSE-SU-2022:1289-1 No score

Security update for dnsmasq

This update for dnsmasq fixes the following issues:

  • CVE-2021-3448: Fixed a potential DNS cache poisoning issue due to a constant outgoing port being used when for certain use cases of the --server option (bsc#1183709).
  • CVE-2022-0934: Fixed an invalid memory access that could lead to remote denial of service via crafted packet (bsc#1197872).
Record
SUSE-SU-2022:1289-1
Updated
2026-11-02
OSVSUSE-SU-2022:14940-1 No score

Security update for dnsmasq

This update for dnsmasq fixes the following issues:

  • CVE-2021-3448: Fixed a potential DNS cache poisoning issue due to a constant outgoing port being used when for certain use cases of the --server option (bsc#1183709).
  • CVE-2022-0934: Fixed an invalid memory access that could lead to remote denial of service via crafted packet (bsc#1197872).

Non-security fixes:

  • Removed cache size limit (bsc#1138743).
Record
SUSE-SU-2022:14940-1
Updated
2026-11-02
OSVSUSE-SU-2022:14941-1 No score

Security update for dnsmasq

This update for dnsmasq fixes the following issues:

  • CVE-2021-3448: Fixed a potential DNS cache poisoning issue due to a constant outgoing port being used when for certain use cases of the --server option (bsc#1183709).
  • CVE-2022-0934: Fixed an invalid memory access that could lead to remote denial of service via crafted packet (bsc#1197872).
Record
SUSE-SU-2022:14941-1
Updated
2026-11-02
OSVUSN-4976-1 No score

dnsmasq vulnerability

Petr Mensik discovered that Dnsmasq incorrectly randomized source ports in certain configurations. A remote attacker could possibly use this issue to facilitate DNS cache poisoning attacks.

Record
USN-4976-1
Updated
2026-11-02
OSVUSN-4976-2 No score

dnsmasq vulnerability

USN-4976-1 fixed a vulnerability in Dnsmasq. This update provides the corresponding update for Ubuntu 16.04 ESM.

Dnsmasq has been updated to 2.79-1 for Ubuntu 16.04 ESM in order to fix some security issues.

Original advisory details:

Petr Mensik discovered that Dnsmasq incorrectly randomized source ports in certain configurations. A remote attacker could possibly use this issue to facilitate DNS cache poisoning attacks.

Record
USN-4976-2
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
dnsmasq
Alpine:v3.10
before 2.85-r0
2.85-r0
dnsmasq
Alpine:v3.11
before 2.85-r0
2.85-r0
dnsmasq
Alpine:v3.12
before 2.85-r0
2.85-r0
dnsmasq
Alpine:v3.13
before 2.85-r0
2.85-r0
dnsmasq
Alpine:v3.14
before 2.85-r0
2.85-r0
dnsmasq
Alpine:v3.15
before 2.85-r0
2.85-r0
dnsmasq
Alpine:v3.16
before 2.85-r0
2.85-r0
dnsmasq
Alpine:v3.17
before 2.85-r0
2.85-r0
dnsmasq
Alpine:v3.18
before 2.85-r0
2.85-r0
dnsmasq
Alpine:v3.19
before 2.85-r0
2.85-r0
Show 55 moreShow less
Affected packages
PackageAffectedFixed
dnsmasq
Alpine:v3.20
before 2.85-r0
2.85-r0
dnsmasq
Alpine:v3.21
before 2.85-r0
2.85-r0
dnsmasq
Alpine:v3.22
before 2.85-r0
2.85-r0
dnsmasq
Alpine:v3.23
before 2.85-r0
2.85-r0
dnsmasq
Alpine:v3.24
before 2.85-r0
2.85-r0
dnsmasq
AlmaLinux:8
before 2.79-19.el8
2.79-19.el8
dnsmasq-utils
AlmaLinux:8
before 2.79-19.el8
2.79-19.el8
dnsmasq
Debian:12
before 2.85-1
2.85-1
dnsmasq
Debian:13
before 2.85-1
2.85-1
dnsmasq
Debian:14
before 2.85-1
2.85-1
dnsmasq
Mageia:7
before 2.85-1.mga7
2.85-1.mga7
dnsmasq
Mageia:8
before 2.85-1.mga8
2.85-1.mga8
dnsmasq
openEuler:20.03-LTS-SP1
before 2.82-8.oe1
2.82-8.oe1
dnsmasq
Red Hat:enterprise_linux:8::appstream
before 0:2.79-19.el8
0:2.79-19.el8
dnsmasq-debuginfo
Red Hat:enterprise_linux:8::appstream
before 0:2.79-19.el8
0:2.79-19.el8
dnsmasq-debugsource
Red Hat:enterprise_linux:8::appstream
before 0:2.79-19.el8
0:2.79-19.el8
dnsmasq-utils
Red Hat:enterprise_linux:8::appstream
before 0:2.79-19.el8
0:2.79-19.el8
dnsmasq-utils-debuginfo
Red Hat:enterprise_linux:8::appstream
before 0:2.79-19.el8
0:2.79-19.el8
dnsmasq
Rocky Linux:8
before 0:2.79-19.el8
0:2.79-19.el8
dnsmasq
SUSE:Linux Enterprise Module for Basesystem 15 SP2
From an advisory covering 2 CVEs
before 2.86-7.14.1
2.86-7.14.1
dnsmasq
SUSE:Linux Enterprise Module for Basesystem 15 SP3
From an advisory covering 2 CVEs
before 2.86-7.14.1
2.86-7.14.1
dnsmasq
SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS
From an advisory covering 2 CVEs
before 2.86-7.14.1
2.86-7.14.1
dnsmasq
SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS
From an advisory covering 2 CVEs
before 2.86-7.14.1
2.86-7.14.1
dnsmasq
SUSE:Linux Enterprise Server 15 SP1-BCL
From an advisory covering 2 CVEs
before 2.86-7.14.1
2.86-7.14.1
dnsmasq
SUSE:Linux Enterprise Server 15 SP1-LTSS
From an advisory covering 2 CVEs
before 2.86-7.14.1
2.86-7.14.1
dnsmasq
SUSE:Linux Enterprise Server for SAP Applications 15 SP1
From an advisory covering 2 CVEs
before 2.86-7.14.1
2.86-7.14.1
dnsmasq
SUSE:Linux Enterprise Micro 5.0
From an advisory covering 2 CVEs
before 2.86-7.14.1
2.86-7.14.1
dnsmasq
SUSE:Linux Enterprise Micro 5.1
From an advisory covering 2 CVEs
before 2.86-7.14.1
2.86-7.14.1
dnsmasq
SUSE:Enterprise Storage 6
From an advisory covering 2 CVEs
before 2.86-7.14.1
2.86-7.14.1
dnsmasq
SUSE:Linux Enterprise High Performance Computing 15-ESPOS
From an advisory covering 2 CVEs
before 2.78-150000.3.14.1
2.78-150000.3.14.1
dnsmasq
SUSE:Linux Enterprise High Performance Computing 15-LTSS
From an advisory covering 2 CVEs
before 2.78-150000.3.14.1
2.78-150000.3.14.1
dnsmasq
SUSE:Linux Enterprise Server 15-LTSS
From an advisory covering 2 CVEs
before 2.78-150000.3.14.1
2.78-150000.3.14.1
dnsmasq
SUSE:Linux Enterprise Server for SAP Applications 15
From an advisory covering 2 CVEs
before 2.78-150000.3.14.1
2.78-150000.3.14.1
dnsmasq
SUSE:HPE Helion OpenStack 8
From an advisory covering 2 CVEs
before 2.78-18.18.1
2.78-18.18.1
dnsmasq
SUSE:OpenStack Cloud 8
From an advisory covering 2 CVEs
before 2.78-18.18.1
2.78-18.18.1
dnsmasq
SUSE:OpenStack Cloud 9
From an advisory covering 2 CVEs
before 2.78-18.18.1
2.78-18.18.1
dnsmasq
SUSE:OpenStack Cloud Crowbar 8
From an advisory covering 2 CVEs
before 2.78-18.18.1
2.78-18.18.1
dnsmasq
SUSE:OpenStack Cloud Crowbar 9
From an advisory covering 2 CVEs
before 2.78-18.18.1
2.78-18.18.1
dnsmasq
SUSE:Linux Enterprise Server for SAP Applications 12 SP3
From an advisory covering 2 CVEs
before 2.78-18.18.1
2.78-18.18.1
dnsmasq
SUSE:Linux Enterprise Server for SAP Applications 12 SP4
From an advisory covering 2 CVEs
before 2.78-18.18.1
2.78-18.18.1
dnsmasq
SUSE:Linux Enterprise Server 12 SP2-BCL
From an advisory covering 2 CVEs
before 2.78-18.18.1
2.78-18.18.1
dnsmasq
SUSE:Linux Enterprise Server 12 SP3-LTSS
From an advisory covering 2 CVEs
before 2.78-18.18.1
2.78-18.18.1
dnsmasq
SUSE:Linux Enterprise Server 12 SP3-BCL
From an advisory covering 2 CVEs
before 2.78-18.18.1
2.78-18.18.1
dnsmasq
SUSE:Linux Enterprise Server 12 SP4-LTSS
From an advisory covering 2 CVEs
before 2.78-18.18.1
2.78-18.18.1
dnsmasq
SUSE:Linux Enterprise Server 12 SP5
From an advisory covering 2 CVEs
before 2.78-18.18.1
2.78-18.18.1
dnsmasq
SUSE:Linux Enterprise Server for SAP Applications 12 SP5
From an advisory covering 2 CVEs
before 2.78-18.18.1
2.78-18.18.1
dnsmasq
SUSE:Linux Enterprise Point of Sale 11 SP3
From an advisory covering 2 CVEs
before 2.78-0.16.17.1
2.78-0.16.17.1
dnsmasq
SUSE:Linux Enterprise Server 11 SP4-LTSS
From an advisory covering 2 CVEs
before 2.78-0.17.18.1
2.78-0.17.18.1
dnsmasq
Ubuntu:Pro:14.04:LTS
All versions, plus listed versions
2.66-4ubuntu12.67-12.68-12.68-1ubuntu0.12.68-1ubuntu0.2
Show 5 moreShow less
2.68-1ubuntu0.2+esm12.68-1ubuntu0.2+esm22.68-1ubuntu0.2+esm32.68-1ubuntu0.2+esm52.68-1ubuntu0.2+esm6
None known
dnsmasq
Ubuntu:Pro:16.04:LTS
before 2.79-1ubuntu0.16.04.1+esm1, plus listed versions
2.75-12.75-1ubuntu0.16.04.12.75-1ubuntu0.16.04.22.75-1ubuntu0.16.04.32.75-1ubuntu0.16.04.4
Show 5 moreShow less
2.75-1ubuntu0.16.04.52.75-1ubuntu0.16.04.72.75-1ubuntu0.16.04.82.75-1ubuntu0.16.04.102.75-1ubuntu0.16.04.10+esm1
2.79-1ubuntu0.16.04.1+esm1
dnsmasq
Ubuntu:18.04:LTS
before 2.79-1ubuntu0.4, plus listed versions
2.78-12.78-32.79-12.79-1ubuntu0.22.79-1ubuntu0.3
2.79-1ubuntu0.4
dnsmasq
Ubuntu:20.04:LTS
before 2.80-1.1ubuntu1.4, plus listed versions
2.80-1ubuntu22.80-1ubuntu42.80-1.1ubuntu12.80-1.1ubuntu1.22.80-1.1ubuntu1.3
2.80-1.1ubuntu1.4
dnsmasq
openSUSE:Leap 15.2
From an advisory covering 2 CVEs
before 2.86-lp152.7.6.1
2.86-lp152.7.6.1
dnsmasq
openSUSE:Leap 15.3
From an advisory covering 2 CVEs
before 2.86-7.14.1
2.86-7.14.1
dnsmasq
openSUSE:Tumbleweed
From an advisory covering 14 CVEs
before 2.86-1.1
2.86-1.1

History

History
RecordedChangedSources
affected, facts
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2021-3448 is a medium vulnerability (CVSS 4.0) in Dnsmasq, published April 8, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.28%, the 83rd percentile. Fixed in dnsmasq 2.85-r0.

References

Show 55 moreShow less
MoveEnter Open