CVE-2021-3502
A flaw was found in avahi 0.8-5. A reachable assertion is present in avahi_s_host_name_resolver_start function allowing a local attacker to crash the avahi service by requesting hostname resolutions through the avahi socket or dbus methods for invalid hostnames. The highest threat from this vulnerability is to the service availability.
What to do
Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 22.04 | avahi | Fixed | 0.8-5ubuntu4 | UBUNTU-CVE-2021-3502 |
| Ubuntu 16.04 | avahi | Not affected vulnerable_code_not_present | ||
| Debian 14 | avahi | Fixed | 0.8-6 | DEBIAN-CVE-2021-3502 |
| Debian 13 | avahi | Fixed | 0.8-6 | DEBIAN-CVE-2021-3502 |
| Debian 12 | avahi | Fixed | 0.8-6 | DEBIAN-CVE-2021-3502 |
| Red Hat Enterprise Linux 9 | avahi | Fixed | 0:0.8-15.el9 | RHSA-2023:6707 |
| Red Hat Enterprise Linux 9 | avahi-compat-howl | Fixed | 0:0.8-15.el9 | RHSA-2023:6707 |
| Red Hat Enterprise Linux 9 | avahi-compat-howl-devel | Fixed | 0:0.8-15.el9 | RHSA-2023:6707 |
| Red Hat Enterprise Linux 9 | avahi-compat-libdns_sd | Fixed | 0:0.8-15.el9 | RHSA-2023:6707 |
| Red Hat Enterprise Linux 9 | avahi-compat-libdns_sd-devel | Fixed | 0:0.8-15.el9 | RHSA-2023:6707 |
| Red Hat Enterprise Linux 9 | avahi-devel | Fixed | 0:0.8-15.el9 | RHSA-2023:6707 |
| Red Hat Enterprise Linux 9 | avahi-glib | Fixed | 0:0.8-15.el9 | RHSA-2023:6707 |
| Red Hat Enterprise Linux 9 | avahi-glib-devel | Fixed | 0:0.8-15.el9 | RHSA-2023:6707 |
| Red Hat Enterprise Linux 9 | avahi-libs | Fixed | 0:0.8-15.el9 | RHSA-2023:6707 |
| Red Hat Enterprise Linux 9 | avahi-tools | Fixed | 0:0.8-15.el9 | RHSA-2023:6707 |
| Red Hat Enterprise Linux 8 | avahi | Not affected | ||
| Red Hat Enterprise Linux 8 | avahi-autoipd | Not affected | ||
| Red Hat Enterprise Linux 8 | avahi-compat-howl | Not affected | ||
| Red Hat Enterprise Linux 8 | avahi-compat-howl-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | avahi-compat-libdns_sd | Not affected | ||
| Red Hat Enterprise Linux 8 | avahi-compat-libdns_sd-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | avahi-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | avahi-glib | Not affected | ||
| Red Hat Enterprise Linux 8 | avahi-glib-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | avahi-gobject | Not affected | ||
| Red Hat Enterprise Linux 8 | avahi-gobject-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | avahi-libs | Not affected | ||
| Red Hat Enterprise Linux 8 | avahi-tools | Not affected | ||
| Red Hat Enterprise Linux 8 | avahi-ui | Not affected | ||
| Red Hat Enterprise Linux 8 | avahi-ui-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | avahi-ui-gtk3 | Not affected | ||
| Red Hat Enterprise Linux 8 | python3-avahi | Not affected | ||
| Red Hat Enterprise Linux 7 | avahi | Not affected | ||
| Red Hat Enterprise Linux 7 | avahi-autoipd | Not affected | ||
| Red Hat Enterprise Linux 7 | avahi-compat-howl | Not affected | ||
| Red Hat Enterprise Linux 7 | avahi-compat-howl-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | avahi-compat-libdns_sd | Not affected | ||
| Red Hat Enterprise Linux 7 | avahi-compat-libdns_sd-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | avahi-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | avahi-dnsconfd | Not affected | ||
| Red Hat Enterprise Linux 7 | avahi-glib | Not affected | ||
| Red Hat Enterprise Linux 7 | avahi-glib-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | avahi-gobject | Not affected | ||
| Red Hat Enterprise Linux 7 | avahi-gobject-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | avahi-libs | Not affected | ||
| Red Hat Enterprise Linux 7 | avahi-qt3 | Not affected | ||
| Red Hat Enterprise Linux 7 | avahi-qt3-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | avahi-qt4 | Not affected | ||
| Red Hat Enterprise Linux 7 | avahi-qt4-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | avahi-tools | Not affected | ||
| Red Hat Enterprise Linux 7 | avahi-ui | Not affected | ||
| Red Hat Enterprise Linux 7 | avahi-ui-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | avahi-ui-gtk3 | Not affected | ||
| Red Hat Enterprise Linux 7 | avahi-ui-tools | Not affected | ||
| Red Hat Enterprise Linux 6 | avahi | Not affected | ||
| Red Hat Enterprise Linux 6 | avahi-autoipd | Not affected | ||
| Red Hat Enterprise Linux 6 | avahi-compat-howl | Not affected | ||
| Red Hat Enterprise Linux 6 | avahi-compat-howl-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | avahi-compat-libdns_sd | Not affected | ||
| Red Hat Enterprise Linux 6 | avahi-compat-libdns_sd-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | avahi-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | avahi-dnsconfd | Not affected | ||
| Red Hat Enterprise Linux 6 | avahi-glib | Not affected | ||
| Red Hat Enterprise Linux 6 | avahi-glib-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | avahi-gobject | Not affected | ||
| Red Hat Enterprise Linux 6 | avahi-gobject-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | avahi-libs | Not affected | ||
| Red Hat Enterprise Linux 6 | avahi-qt3 | Not affected | ||
| Red Hat Enterprise Linux 6 | avahi-qt3-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | avahi-qt4 | Not affected | ||
| Red Hat Enterprise Linux 6 | avahi-qt4-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | avahi-tools | Not affected | ||
| Red Hat Enterprise Linux 6 | avahi-ui | Not affected | ||
| Red Hat Enterprise Linux 6 | avahi-ui-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | avahi-ui-tools | Not affected | ||
| AlmaLinux 9 | avahi | Fixed | 0.8-15.el9 | ALSA-2023:6707 |
| AlmaLinux 9 | avahi-compat-howl | Fixed | 0.8-15.el9 | ALSA-2023:6707 |
| AlmaLinux 9 | avahi-compat-howl-devel | Fixed | 0.8-15.el9 | ALSA-2023:6707 |
| AlmaLinux 9 | avahi-compat-libdns_sd | Fixed | 0.8-15.el9 | ALSA-2023:6707 |
| AlmaLinux 9 | avahi-compat-libdns_sd-devel | Fixed | 0.8-15.el9 | ALSA-2023:6707 |
| AlmaLinux 9 | avahi-devel | Fixed | 0.8-15.el9 | ALSA-2023:6707 |
| AlmaLinux 9 | avahi-glib | Fixed | 0.8-15.el9 | ALSA-2023:6707 |
| AlmaLinux 9 | avahi-glib-devel | Fixed | 0.8-15.el9 | ALSA-2023:6707 |
| AlmaLinux 9 | avahi-libs | Fixed | 0.8-15.el9 | ALSA-2023:6707 |
| AlmaLinux 9 | avahi-tools | Fixed | 0.8-15.el9 | ALSA-2023:6707 |
| Alpine Linux 3.24 | avahi | Fixed | 0.8-r5 | ALPINE-CVE-2021-3502 |
| Alpine Linux 3.23 | avahi | Fixed | 0.8-r5 | ALPINE-CVE-2021-3502 |
| Alpine Linux 3.22 | avahi | Fixed | 0.8-r5 | ALPINE-CVE-2021-3502 |
| Alpine Linux 3.21 | avahi | Fixed | 0.8-r5 | ALPINE-CVE-2021-3502 |
| Alpine Linux 3.20 | avahi | Fixed | 0.8-r5 | ALPINE-CVE-2021-3502 |
| Alpine Linux 3.19 | avahi | Fixed | 0.8-r5 | ALPINE-CVE-2021-3502 |
| Alpine Linux 3.18 | avahi | Fixed | 0.8-r5 | ALPINE-CVE-2021-3502 |
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.
- avahi: affected: 0.8-5
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.