Vulnerability · Published Apr 8, 2021 · Assigned by redhat
CVE-2021-3448
Medium 4.0
In plain English
A medium-severity security flaw in dnsmasq. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.3% (higher than 83% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | dnsmasq | 2.79-19.el8 | ALSA-2021:4153 |
| AlmaLinux:8 | dnsmasq-utils | 2.79-19.el8 | ALSA-2021:4153 |
| Alpine:v3.20 | dnsmasq | 2.85-r0 | ALPINE-CVE-2021-3448 |
| Alpine:v3.21 | dnsmasq | 2.85-r0 | ALPINE-CVE-2021-3448 |
| Alpine:v3.22 | dnsmasq | 2.85-r0 | ALPINE-CVE-2021-3448 |
| Alpine:v3.23 | dnsmasq | 2.85-r0 | ALPINE-CVE-2021-3448 |
| Alpine:v3.24 | dnsmasq | 2.85-r0 | ALPINE-CVE-2021-3448 |
| Debian:12 | dnsmasq | 2.85-1 | DEBIAN-CVE-2021-3448 |
| Debian:13 | dnsmasq | 2.85-1 | DEBIAN-CVE-2021-3448 |
| Debian:14 | dnsmasq | 2.85-1 | DEBIAN-CVE-2021-3448 |
| Rocky Linux:8 | dnsmasq | 0:2.79-19.el8 | RLSA-2021:4153 |
Affected products (as reported)
Weakness: CWE-358 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1939368 x_refsource_MISC
- FEDORA-2021-62a5062b2d vendor-advisory, x_refsource_FEDORA
- FEDORA-2021-9433bedebd vendor-advisory, x_refsource_FEDORA
- FEDORA-2021-5cd2571751 vendor-advisory, x_refsource_FEDORA
- GLSA-202105-20 vendor-advisory, x_refsource_GENTOO
- https://www.oracle.com/security-alerts/cpujan2022.html x_refsource_MISC