CVSS 3.1
4.0 mediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:NMedium (4.0). EPSS 2.3% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:NExplain CVE-2021-3448 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-3448?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-3448?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-3448 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| thekelleys:dnsmasq | before 2.85 |
| redhat:enterprise_linux | 8.0 |
| fedoraproject:fedora | 32 |
| fedoraproject:fedora | 33 |
| fedoraproject:fedora | 34 |
| oracle:communications_cloud_native_core_network_function_cloud_native_environment | 1.9.0 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13, 14 | dnsmasq | 2.85-1 | DEBIAN-CVE-2021-3448 |
| Ubuntu | 18.04:LTS | dnsmasq | 2.79-1ubuntu0.4 | UBUNTU-CVE-2021-3448 USN-4976-1 |
| Ubuntu | 20.04:LTS | dnsmasq | 2.80-1.1ubuntu1.4 | UBUNTU-CVE-2021-3448 USN-4976-1 |
| Ubuntu | Pro:14.04:LTS | dnsmasq | no fix listed | UBUNTU-CVE-2021-3448 |
| Ubuntu | Pro:16.04:LTS | dnsmasq | 2.79-1ubuntu0.16.04.1+esm1 | UBUNTU-CVE-2021-3448 USN-4976-2 |
| Red Hat | enterprise_linux:8::appstream | dnsmasq, dnsmasq-utils, dnsmasq-debuginfo and 2 more | 0:2.79-19.el8 | RHSA-2021:4153 |
| SUSE | Enterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 7 more | dnsmasq | 2.86-7.14.1 | SUSE-SU-2021:3530-1 |
| SUSE | HPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP3-BCL and 10 more | dnsmasq | 2.78-18.18.1 | SUSE-SU-2022:1289-1 |
| SUSE | Linux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Server 15-LTSS and 1 more | dnsmasq | 2.78-150000.3.14.1 | SUSE-SU-2022:1288-1 |
| SUSE | Linux Enterprise Point of Sale 11 SP3 | dnsmasq | 2.78-0.16.17.1 | SUSE-SU-2022:14940-1 |
| SUSE | Linux Enterprise Server 11 SP4-LTSS | dnsmasq | 2.78-0.17.18.1 | SUSE-SU-2022:14941-1 |
| openSUSE | Leap 15.2 | dnsmasq | 2.86-lp152.7.6.1 | openSUSE-SU-2021:1426-1 |
| openSUSE | Leap 15.3 | dnsmasq | 2.86-7.14.1 | openSUSE-SU-2021:3530-1 |
| openSUSE | Tumbleweed | dnsmasq | 2.86-1.1 | openSUSE-SU-2024:10721-1 |
| AlmaLinux | 8 | dnsmasq, dnsmasq-utils | 2.79-19.el8 | ALSA-2021:4153 |
| Rocky Linux | 8 | dnsmasq | 0:2.79-19.el8 | RLSA-2021:4153 |
| Alpine | v3.10, v3.11, v3.12 and 12 more | dnsmasq | 2.85-r0 | ALPINE-CVE-2021-3448 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.
Red Hat rates this Moderate.
The flaw can be prevented by removing `--server=<address>@<interface>` option or by removing the directive `server=<address>@<interface>`. If dnsmasq is being run through NetworkManager, please be aware that NetworkManager automatically configures dnsmasq to use the `server=<address>@<interface>` directive, thus in this case the only way to prevent the flaw is to remove `dns=dnsmasq` from /etc/NetworkManager/NetworkManager.conf file.
If the `server=<address>@<interface>` must be kept active, the impact of this flaw can be reduced by disabling the dnsmasq cache by adding `--cache-size=0` when calling dnsmasq or by adding a line with `cache-size=0` to the dnsmasq configuration file (/etc/dnsmasq.conf by default). If dnsmasq is being run through NetworkManager, create a new file in /etc/NetworkManager/dnsmasq.d/ and add `cache-size=0` to it.
By disabling the cache, you may experience a performance loss in your environment due to all DNS queries being forwarded to the upstream servers. Please evaluate if the mitigation is appropriate for the system’s environment before applying.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | dnsmasq-0:2.79-19.el8 | Fixed 2021-11-09 | RHSA-2021:4153 |
| Red Hat Enterprise Linux 6 | dnsmasq | Out of support scope | |
| Red Hat Enterprise Linux 7 | dnsmasq | Out of support scope | |
| Red Hat Enterprise Linux 9 | dnsmasq | Not affected | |
| Red Hat OpenStack Platform 10 (Newton) | dnsmasq | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | dnsmasq | Not affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-3448.